[MEncoder-users] Help with mencoder

Gabri Shally gabri.ns at gmail.com
Sat Apr 27 07:09:57 CEST 2013


On Apr 27, 2013 12:03 PM, "JD" <jd1008 at gmail.com> wrote:
>
>
> On 04/26/2013 10:25 PM, Gabri Shally wrote:
>>
>> On Apr 27, 2013 9:08 AM, "JD" <jd1008 at gmail.com> wrote:
>>>
>>>
>>> Tried this:
>>>
>>> mencoder Zachar*.flv -vf format=rgb32 scale=4:3 -ovc x264 -x264encopts
>>
>> vbitrate=8000 crf=18 format=dvd -oac mp3lame -lameopts preset=insane -o
>> Zach_all.avi
>>>
>>> MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer
>>
>> Team
>>>
>>> Option x264encopts: Unknown suboption vbitrate
>>
>> sorry, miss this. for x264, you use bitrate. and don't forget to add
comma.
>> by the way, you can't use bitrate and crf together, they should be used
>> exclusively.
>>
>> so, either use
>> -x264encopts crf=18,format=dvd
>> or
>> -x264encopts bitrate=8000,format=dvd
>
> OK, I retried as you suggested:
>
> $ mencoder Zachar*.flv -vf format=rgb32,dsize=4/3,scale=-1:-2 -ovc x264
-x264encopts bitrate=8000,format=dvd -oac mp3lame -lameopts preset=insane
-o Zach_all.avi
>
> MEncoder svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer
Team
> Option x264encopts: Bad argument bitrate=8000,format=dvd
>
> success: format: 0  data: 0x0 - 0xc396ae
> libavformat version 53.32.100 (external)
> Mismatching header version 53.19.0
> libavformat file format detected.
> [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (aac), -aid 0
> VIDEO:  [H264]  480x270  0bpp  29.970 fps  119.2 kbps (14.5 kbyte/s)
> [V] filefmt:44  fourcc:0x34363248  size:480x270  fps:29.970 ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> libavcodec version 53.61.100 (external)
> Mismatching header version 53.32.2
> AUDIO: 22050 Hz, 2 ch, s16le, 49.5 kbit/7.01% (ratio: 6184->88200)
> Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
Audio))
> ==========================================================================
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> MP3 audio selected.
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Unsupported PixelFormat 81
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> FATAL: Cannot initialize video driver.
>
> Exiting...
>
> Which video driver is it referring to???
>

what video driver mean is the x264 encoder. it cannot initialize because
there is still problem with its arguments.

once again, sorry... i forgot that encoder use double colon to separate
arguments

-x264encopts bitrate=8000:format=dvd

if it still failed, try to remove format=dvd


More information about the MEncoder-users mailing list