[FFmpeg-user] Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

Walid Salman bza.salman at gmail.com
Tue Dec 2 09:23:33 CET 2014


Hello,

Any one kindly to help me ...I need to change vido files to .mp4 and I am
using this comand and I get the error as you can see :

root at ltf4633 [~]# ffmpeg -i
/home/alar454k11ue81/public_html/videos/cat_9/mp4/MOV_0052.mp4 -vcodec
libx264 -crf 50
/home/alar454k11ue81/public_html/videos/cat_9/mp4/MOV_0052.mp4

FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers

built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)

  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/share/man --incdir=/usr/include --disable-avisynth
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC'
--enable-avfilter --enable-avfilter-lavf --enable-libdc1394
--enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin
--enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl
--enable-nonfree --enable-postproc --enable-pthreads --enable-shared
--enable-swscale --enable-vdpau --enable-version3 --enable-x11grab

  libavutil     50.15. 1 / 50.15. 1

  libavcodec    52.72. 2 / 52.72. 2

  libavformat   52.64. 2 / 52.64. 2

  libavdevice   52. 2. 0 / 52. 2. 0

  libavfilter    1.19. 0 /  1.19. 0

  libswscale     0.11. 0 /  0.11. 0

  libpostproc   51. 2. 0 / 51. 2. 0



Seems stream 0 codec frame rate differs from container frame rate:
180000.00 (180000/1) -> 90000.00 (180000/2)

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/alar454k11ue81/public_html/videos/cat_9/mp4/MOV_0052.mp4':

  Metadata:

    major_brand     : isom

    minor_version   : 0

    compatible_brands: isom3gp4

  Duration: 00:00:03.31, start: 0.000000, bitrate: 5536 kb/s

    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 5739 kb/s, PAR
65536:65536 DAR 16:9, 19.93 fps, 90k tbr, 90k tbn, 180k tbc

    Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 127 kb/s

File '/home/alar454k11ue81/public_html/videos/cat_9/mp4/MOV_0052.mp4'
already exists. Overwrite ? [y/N] y

[libx264 @ 0x713670]broken ffmpeg default settings detected

[libx264 @ 0x713670]use an encoding preset (e.g. -vpre medium)

[libx264 @ 0x713670]preset usage: -vpre <speed> -vpre <profile>

[libx264 @ 0x713670]speed presets are listed in x264 --help

[libx264 @ 0x713670]profile is optional; x264 defaults to high

Output #0, mp4, to
'/home/alar454k11ue81/public_html/videos/cat_9/mp4/MOV_0052.mp4':

    Stream #0.0(eng): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 90k tbc

    Stream #0.1(eng): Audio: libfaac, 48000 Hz, mono, s16, 64 kb/s

Stream mapping:

  Stream #0.0 -> #0.0

  Stream #0.1 -> #0.1

Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

Thanks,


More information about the ffmpeg-user mailing list