[MEncoder-users] Xvid 1.1.2 and Sigma EM8621L

"Cédric MARCOUX (sprimont)" cmarcx at gmail.com
Sun Jan 20 20:30:34 CET 2008


The source avi is a DV avi imported from Sony CamCorder using dvgrab

I'm currently trying to make a batch to grab my camcorder movie,convert 
it to divx, uploaded thrue ftp on my box.

I have try the -ofps 25 but it doesn't work too.

Here is the output of my conversion

---------------------------------------------------------------------------------------------------------------------------------------
MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 
15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x1d5fda8
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [dvsd]  720x576  24bpp  25.000 fps  28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:3  fourcc:0x64737664  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
xvid: using library version 1.1.2 (build xvid-1.1.2)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=720 h=576]
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Win32 LoadLibrary failed to load: qdv.dll, /usr/lib/win32/qdv.dll, 
/usr/local/lib/win32/qdv.dll
Warning: DS_Filter() could not open DirectShow DLL.  (DLL=qdv.dll, r=0x0)
Failed to create DirectShow filter
ERROR: Could not open required DirectShow codec qdv.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
Forcing output FourCC to 58564944 [DIVX].
MP3 audio selected.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 2)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x8800710]SwScaler: using unscaled yuv420p -> yuv420p 
special converter
videocodec: XviD (720x576 fourcc=58564944 [DIVX])
xvid: par=0/0 (vga11), displayed=720x576, sampled=720x576
xvid: CBR Rate Control -- bitrate=900kbit/s
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.048s.
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.048s.
Pos:   8.0s    203f (100%)  9.20fps Trem:   0min   1mb  A-V:0.073 [937:192]
Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.040s.

Video stream:  937.925 kbit/s  (117240 B/s)  size: 951994 bytes  8.120 
secs  203 frames

Audio stream:  192.000 kbit/s  (24000 B/s)  size: 194112 bytes  8.088 secs
---------------------------------------------------------------------------------------------------------------------------------------



James Hastings-Trew a écrit :
> Cédric MARCOUX (sprimont) wrote:
>> Thanks,
>> Mixing both of your advice was good,
>> I get more result with this command
>>
>> mencoder test.avi -noodml -oac mp3lame -lameopts mode=0:cbr:br=192 -ovc 
>> xvid -xvidencopts bitrate=1000:qpel=0:gmc=0 -vf scale=720:576 -ffourcc 
>> DIVX -o converted.avi
>>
>> I get audio all the movie but only 4/5 frame for the video then freeze 
>> (while the audio stay playing...)
>>
>> Tryied with or without noodml nothing change
>> Tryied ffourcc XVID => don't read
>> Tryied ffourcc DX50 => don't read
>>
>> Any idea?
>>
>>   
> I'd stick with the -noodml option even though you think it's not helping 
> - it does. :) All I can suggest is that perhaps you need to state the 
> output fps (-ofps 24000/1001 or -ofps 30000/1001 depending on if the 
> source is film or video rate material. Or -ofps 25 if the source is PAL. 
> Does the entire video play a bit faster than the audio, or does the 
> video stay in sync with the audio and then cuts off 4/5 of the way 
> through? Have you tried a different source file to see if the same 
> behavior is repeated?




More information about the MEncoder-users mailing list