[MEncoder-users] parameter problem

Albert Scholtalbers compuvision.sr at gmail.com
Sat Apr 2 22:09:37 CEST 2011


Hi There,

I tried to implement some parameters with Mencoder, but I can't seem to get
it to work.
I've used the example here
http://h264.code-shop.com/trac/wiki/Encoding#Mencodermp4creator and removed
the logo creator.
I used this parameters

*input:*
mencoder /home/albert/input.mpg -o /home/albert/output.avi -ovc x264
-x264encopts
bitrate=700:threads=auto:subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b
-vf scale=720:480,harddup -oac faac -faacopts br=56:mpeg=4:object=2 -srate
44100 -ofps 30000/1001

*With output:*
MEncoder SVN-r33098-4.4.3 (C) 2000-2011 MPlayer Team
Option x264encopts: Bad argument b_pyramid=(null)
success: format: 0  data: 0x0 - 0x3912800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9585.6 kbps (1198.2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.970  ftime:=0.0334
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0xe84c20]using unscaled yuv420p -> yuv420p special converter
FATAL: Cannot initialize video driver.

Exiting...
MPlayer SVN-r33098-4.4.3 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /home/albert/output.avi.
Invalid seek to negative position!


Exiting... (End of file)
MPlayer SVN-r33098-4.4.3 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /home/albert/output.avi.
Invalid seek to negative position!


Exiting... (End of file)



What am I doing wrong?
Thanks in adavnce?

Albert


More information about the MEncoder-users mailing list