[MEncoder-users] Re-encoding mpeg-2 to Xvid problem.

Emery Guevremont emery.guevremont at gmail.com
Thu Dec 28 19:31:48 CET 2006



Emery Guevremont wrote:
> RC wrote:
>> On Wed, 27 Dec 2006 11:20:26 -0500
>> Emery Guevremont <emery.guevremont at gmail.com> wrote:
>>
>>  
>>> Anyone understand what I'm saying and what I need to do to fix this?
>>>     
>>
>> No.  Post the full output of mencoder on the 2nd pass.
>>   
> Here's the log output. One thing I noticed is that mencoder mentions 
> its using "bitrate=687kbit/s", but later on, mencoder says the video 
> stream is 3056.743 kbit/s.
>
> Just to put you into context, the original mpg file was around 5.5GB 
> and after the encoding, the avi file shrunk to only 2.8GB.
Actually the original file size of the mpg file was 4.4GB (I just reread 
it) and it only shrunk to 2.8GB. It's probably because of the 3056.743 
kbit/s stream, but why does mencoder use such a high bitstream?
> With the exact settings I used to be able to shrink any mpeg 
> recordings to around 20% of its original size, but for the last couple 
> of weeks, I'm only able to shrink to 50% of its size (at best).
>
> MEncoder 1.0pre8-3.3.5 (C) 2000-2006 MPlayer Team
> CPU: AMD Athlon(tm) XP 1700+ (Family: 6, Model: 6, Stepping: 2)
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Compiled with runtime CPU detection.
> success: format: 0  data: 0x0 - 0x1823b538
> MPEG-PS file format detected.
> VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 
> kbyte/s)
> [V] filefmt:2  fourcc:0x10000002  size:480x480  fps:29.97  ftime:=0.0334
> ========================================================================== 
>
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ========================================================================== 
>
> xvid: using library version 1.1.0 (build xvid-1.1.0)
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ========================================================================== 
>
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 480 x 480 (preferred colorspace: Mpeg PES)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ========================================================================== 
>
> MP3 audio selected.
> VDec: vo config request - 480 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> videocodec: XviD (480x480 fourcc=44495658 [XVID])
> xvid: par=0/0 (vga11), displayed=640x480, sampled=480x480
> xvid: 2Pass Rate Control -- 2nd pass -- bitrate=687kbit/s
> Writing header...
> ODML: vprp aspect is 4:3.
> Setting audio delay to 0.024s.
> Writing header...
> ODML: vprp aspect is 4:3.
> Setting audio delay to 0.024s.
> ODML: Starting new RIFF chunk at 1023MB.
> ODML: Starting new RIFF chunk at 2047MB.
>
> Broken frame at 0x1496BB00
>
> Flushing video frames
> Writing index...
> Writing header...
> ODML: vprp aspect is 4:3.
> Setting audio delay to 0.024s.
>
> Video stream: 3056.743 kbit/s  (382092 B/s)  size: 2749753184 bytes  
> 7196.556 secs  215683 frames
>
> Audio stream:  152.433 kbit/s  (19054 B/s)  size: 137118048 bytes  
> 7196.256 secs
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



More information about the MEncoder-users mailing list