[MEncoder-users] Mencoder doesn't want to encode 90% of my videos

Apple7777 applepro7777 at gmail.com
Mon Jan 14 05:28:55 CET 2008


Hello,

I gave linux server for my website. I've installed both ffmpef and mencoder. Now
I'm trying to encode videos to upload them to YouTube.

The problem is when I'm trying to encode them, I get error (different, depends
on format of the video).

For example, I'm trying to encode video, encoded by DivX tool (without any
custom compression settings):

mencoder -vf scale=448:-3,expand=448:336 -sws 9 -of lavf -ovc lavc -lavcopts
vcodec=flv:vbitrate=400 -frames 200 -ofps 15 -oac mp3lame -lameopts
abr:br=80:mode=3  -channels 1 -o test2.flv test07g.avi


I get this output:

MEncoder dev-SVN-r24986-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) D CPU 3.20GHz (Family: 15, Model: 6, Stepping: 5)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0  data: 0x0 - 0xfd0cf4
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [DX50]  480x204  24bpp  23.975 fps  799.3 kbps (97.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:480x204  fps:23.98  ftime:=0.0417
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 112.0 kbit/7.94% (ratio: 14000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [expand w=448 h=336]
Expand: 448 x 336, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale w=448 h=-3]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================

Exiting...


The file is here:
http://www.roamearth.com/ff/test07g.avi


I wonder, what's wrong with mencoder on my server? I've read about mencoder a
lot and it seems people using it without any problems on their servers.




More information about the MEncoder-users mailing list