[MPlayer-users] mencoder creating Gig files

mdew mdew at orcon.net.nz
Thu Jun 6 04:43:02 CEST 2002


I've found a serious flaw in mencoder...

[10:29am 05-Jun-02]$ cat *vob | nice -+19 mencoder -sws 2 -o dawn.avi
-ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=920:vhq:vpass=2:vqmin=1:keyint=40:vqmax=31:vmax_b_frames=1:vb_qfactor=1 -oac mp3lame -lameopts br=96:cbr -vop -pp -npp ci -ofps 25 -


MEncoder CVS-020604-17:35-3.1.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: 34 audio & 93 video codecs
File not found: 'frameno.avi'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  12225.0 kbps (1528.1
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
libavcodec: CPU flags: mmx mmxext sse
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [-pp]
Couldn't find video filter '-pp'
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)  
Opening video filter: [pp]
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)  
[PP] Using external postprocessing filter, max q = 6
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
==========================================================================
MP3 audio selected
Writing AVI header...
Pos:   0.9s     22f ( 0%)   7fps Trem:   0min   0mb  A-V:-0.084 [0:95]
duplicate 1 frame(s)!!!    
Pos:   1.3s     32f ( 0%)   7fps Trem:   0min   0mb  A-V:-0.084 [434:95]
duplicate 1 frame(s)!!!    
Pos:   1.8s     42f ( 0%)   7fps Trem:   0min   0mb  A-V:-0.084 [515:95]
duplicate 1 frame(s)!!!    
Pos:   2.2s     52f ( 0%)   6fps Trem:   0min   0mb  A-V:-0.084 [539:95]
duplicate 1 frame(s)!!!    
Pos:   2.6s     62f ( 0%)   6fps Trem:   0min   0mb  A-V:-0.084 [573:95]
duplicate 1 frame(s)!!!    
Pos:   3.1s     72f ( 0%)   6fps Trem:   0min   0mb  A-V:-0.084 [624:96]
duplicate 1 frame(s)!!!    
Pos:   3.5s     82f ( 0%)   6fps Trem:   0min   0mb  A-V:-0.084 [672:96]
duplicate 1 frame(s)!!!    
Pos:   4.0s     92f ( 0%)   6fps Trem:   0min   0mb  A-V:-0.084 [675:95]
duplicate 1 frame(s)!!!    
Pos:   4.4s    102f ( 0%)   5fps Trem:   0min   0mb  A-V:-0.084 [690:96]
duplicate 1 frame(s)!!!    
Pos:  45.1s   1118f ( 0%)   5fps Trem:   0min   0mb  A-V:-0.081 [882:96]
duplicate 1 frame(s)!!!    
Pos:4263.0s 106565f ( 0%)   5fps Trem:   0min   0mb  A-V:-0.035
[5434:96]

CBR audio: 12000 bytes/sec, 288 bytes/block

Writing AVI index...
Fixup AVI header...

Video stream: 5434.382 kbit/s  (679297 bps)  size: -1399121185 bytes 
4263.000 secs  106565 frames

Audio stream:   96.000 kbit/s  (12000 bps)  size: 51161760 bytes 
4263.480 secs

[04:13pm 05-Jun-02]$ ls -al
dawn.avi                                            -rw-r--r--    1
root     root     2953884254 Jun  5 16:13 dawn.avi 

some how mencoder is creating gig vobs...(i had to ctrl^c this) spot the
negative number above. this is no -ovc copy/-oac copy

more detail -v

[04:17pm 05-Jun-02]$ cat *vob | nice -+19 mencoder -v -sws 2 -o
dawn2.avi -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=920:vhq:vpass=2:vqmin=1:keyint=40:vqmax=31:vmax_b_frames=1:vb_qfactor=1 -oac mp3lame -lameopts br=96:cbr -vop -pp -npp ci -ofps 25 -


MEncoder CVS-020604-17:35-3.1.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /root/.mplayer/codecs.conf: 34 audio & 93 video codecs
File not found: 'frameno.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82728b0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82728b0 
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82728b0  
Checking for MOV
DEMUXER: freeing demuxer at 0x82728b0  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x82728b0  
Checking for REAL
DEMUXER: freeing demuxer at 0x82728b0  
DEMUXER: freeing demuxer at 0x82728b0  
DEMUXER: freeing demuxer at 0x82728b0  
DEMUXER: freeing demuxer at 0x82728b0  
DEMUXER: freeing demuxer at 0x82728b0  
DEMUXER: freeing demuxer at 0x82728b0  
system stream synced at 0x100D (0)!
==> Found audio stream: 0
==> Found audio stream: 129
==> Found video stream: 0
Detected MPEG-PS file format!
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  12225.0 kbps (1528.1
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 48000 Hz 192 kbit Stereo, BPF: 576
Channels: 2, copyright: No, original: Yes, CRC: Yes, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
libavcodec: CPU flags: mmx mmxext sse
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [-pp]
Couldn't find video filter '-pp'
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)  
Opening video filter: [pp]
[expand] query(Planar YV12) -> 1
[expand] query(Planar I420) -> 1
[expand] query(Planar IYUV) -> 1
vo_debug: query(Mpeg PES) returned 0x0 (i=0)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)  
[PP] Using external postprocessing filter, max q = 6
vo_debug: query(Planar YV12) returned 0xC01 (i=0) 
vo_debug: query(Planar I420) returned 0xC01 (i=1) 
vo_debug: query(Planar IYUV) returned 0xC01 (i=2) 
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0  
REQ: flags=0x401  req=0x0  
videocodec: libavcodec (720x576 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
==========================================================================
MP3 audio selected
Writing AVI header...
LAME version 3.91  (http://www.mp3dev.org/)
Using polyphase lowpass  filter, transition band: 11806 Hz - 12387 Hz

misc:

        scaling: 0.000000
        ch0 (left) scaling: 0.000000
        ch1 (right) scaling: 0.000000
        filter type: 0
        quantization: ISO
        huffman search: normal
        experimental X=0 Y=0 Z=0
        ...

stream format:

        MPEG-1 Layer 3
        2 channel - joint stereo
        padding: auto
        constant bitrate - CBR 
        ...

psychoacoustic:

        tonality estimation limit: 8871.700195 Hz
        using short blocks: channel coupled
        adjust masking: 0.000000 dB
        psymodel: 1
        noise shaping: 1
         ^ amplification: 0
         ^ stopping: 0
        ATH: using
         ^ type: 2
         ^ adjust type: 0
         ^ adapt threshold type: 2
        using temporal masking effect: yes
        ...

*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0]
A/Vms 9/19 *** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
*** [lavc] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Direct Rendering mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
using npp filters 0x40000/0x40000
Pos:   0.1s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.004 [0:0]
A/Vms 8/27*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
Pos:   0.1s      3f ( 0%)   0fps Trem:   0min   0mb  A-V:-0.008 [0:0]
A/Vms 8/46Pos:   0.2s      4f ( 0%)   0fps Trem:   0min   0mb 
A-V:-0.012 [0:0] A/Vms 8/55Pos:   0.2s      5f ( 0%)   0fps Trem:  
0min   0mb  A-V:-0.016 [0:0] A/Vms 8/78Pos:   0.2s      6f ( 0%)   0fps
Trem:   0min   0mb  A-V:-0.020 [0:0] A/Vms 8/79Pos:   0.3s      7f (
0%)   6fps Trem:   0min   0mb  A-V:-0.024 [0:0] A/Vms 8/93


-- 
ph33r!
Linux mdew 2.4.18-xfs #2 Fri Apr 26 15:09:11 NZST 2002 i686 unknown
GPG Key: http://mdew.orcon.net.nz/gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020606/47083112/attachment.pgp>


More information about the MPlayer-users mailing list