[FFmpeg-user] ffmpeg `error while opening encoder for output stream` (Windows)

Dave Lasley dave at dlasley.net
Sat Feb 9 01:52:36 CET 2013


Thank you for your quick response; apologies for not having included the
entire output in my original message:

C:\Windows\system32>Z:Programs\\Windows\\ffmpeg-20130205-git-c2dd5a1-win64-stati
c\\bin\\ffmpeg.exe -i "Z:\\2-renamed\\A Very Harold And Kumar
Christmas.mkv" -pa
sslogfile "A Very Harold And Kumar Christmas.mkv.log" -b:v 94250 -level 41
-vcod
ec libx264 -an -preset veryslow -sn -y -tune film -pass 1 -f rawvideo -y NUL
ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --e
nable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
--enable-
libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable
-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 35.101 /  3. 35.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[matroska,webm @ 0000000003c321a0] max_analyze_duration 5000000 reached at
50050
00 microseconds
[matroska,webm @ 0000000003c321a0] Could not find codec parameters for
stream 2
(Subtitle: hdmv_pgs_subtitle): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'Z:\\2-renamed\\A Very Harold And Kumar
Christmas.
mkv':
  Metadata:
    title           : A_Very_Harold_and_Kumar_Christmas
    CREATION_TIME   : 2012-05-13 02:50:10
    ENCODER         : Lavf54.6.101
  Duration: 01:29:40.38, start: 0.000000, bitrate: 16032 kb/s
    Chapter #0.0: start 0.000000, end 571.779533
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 571.779533, end 1304.594956
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 1304.594956, end 1848.555022
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 1848.555022, end 2363.027333
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 2363.027333, end 2967.798156
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 2967.798156, end 3644.349022
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 3644.349022, end 4149.186689
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 4149.186689, end 4878.164956
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 4878.164956, end 5380.330000
    Metadata:
      title           : Chapter 08
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9],
 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536
kb/s (de
fault)
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
[libx264 @ 00000000045da020] using SAR=1/1
[libx264 @ 00000000045da020] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShu
ffle SSE4.2 AVX
[libx264 @ 00000000045da020] ratecontrol_init: can't open stats file
Output #0, rawvideo, to 'NUL':
  Metadata:
    title           : A_Very_Harold_and_Kumar_Christmas
    ENCODER         : Lavf54.6.101
    Chapter #0.0: start 0.000000, end 571.779533
    Metadata:
      title           : Chapter 00
    Chapter #0.1: start 571.779533, end 1304.594956
    Metadata:
      title           : Chapter 01
    Chapter #0.2: start 1304.594956, end 1848.555022
    Metadata:
      title           : Chapter 02
    Chapter #0.3: start 1848.555022, end 2363.027333
    Metadata:
      title           : Chapter 03
    Chapter #0.4: start 2363.027333, end 2967.798156
    Metadata:
      title           : Chapter 04
    Chapter #0.5: start 2967.798156, end 3644.349022
    Metadata:
      title           : Chapter 05
    Chapter #0.6: start 3644.349022, end 4149.186689
    Metadata:
      title           : Chapter 06
    Chapter #0.7: start 4149.186689, end 4878.164956
    Metadata:
      title           : Chapter 07
    Chapter #0.8: start 4878.164956, end 5380.330000
    Metadata:
      title           : Chapter 08
    Stream #0:0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
q=-1--
1, pass 1, 94 kb/s, 90k tbn, 23.98 tbc (default)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters
such as bit_rate, rate, width or height

On Fri, Feb 8, 2013 at 2:57 PM, Lou <lou at lrcd.com> wrote:

> On Fri, 8 Feb 2013 14:46:13 -0800
> Dave Lasley <dave at dlasley.net> wrote:
>
> > Hello,****
> >
> > I am getting the error****
> >
> >     error while opening encoder for output stream #0:0 -****
> >
> >       maybe incorrect parameters such as bit_rate, rate, width, or
> height***
>
> Please include the complete ffmpeg console output.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list