[MEncoder-users] aspect and audio problems

Raphael mencoder at lesshaste.plus.com
Fri Jan 20 09:11:25 CET 2006


I am trying to reencode a dvd which I ripped using mencoder. My test 
command line is

mencoder dvd.avi  -endpos 120 -ovc xvid -xvidencopts 
bitrate=600:vhq=4:qpel:autoaspect  -oac mp3lame -af pan=1:0.5:0.5 
-channels 1 -lameopts abr:br=64   -o test1.avi

(I want to mix the stereo down to mono so that I can get half decent 
sound quality with 64kbps.)


However, when I play back test1.avi I get a number of problems. Here are 
two of them.

1) The sound still seems to be in two channels.

2) The aspect ratio is wrong on play back (things are squashed 
horizontally and stretched vertically)

Any idea what I am doing wrong?

Raphael


------------------------ diff of playback of dvd.avi (original dvd rip)  
and test1.avi --------------

8c8
< CommandLine: '-codecs-file' 'main/etc/codecs.conf' '-v' 'test1.avi'
---
 > CommandLine: '-codecs-file' 'main/etc/codecs.conf' '-v' 'dvd.avi'
20,21c20,21
< get_path('test1.avi.conf') -> '/home/raph/.mplayer/test1.avi.conf'
< Playing test1.avi.
---
 > get_path('dvd.avi.conf') -> '/home/raph/.mplayer/dvd.avi.conf'
 > Playing dvd.avi.
23,24c23,24
< [file] File size is 9955096 bytes
< STREAM: [file] test1.avi
---
 > [file] File size is 5366263572 bytes
 > STREAM: [file] dvd.avi
29c29
< list_end=0x192
---
 > list_end=0x252
35c35
< frames  total: 3003   initial: 0
---
 > frames  total: 34184   initial: 0
40c40
< list_end=0x120
---
 > list_end=0x154
43c43
< Type: vids   FCC: XVID (44495658)
---
 > Type: vids   FCC:  (10000002)
48,49c48,49
< Start: 0   Len: 3003
< Suggested BufferSize: 63335
---
 > Start: 0   Len: 159947
 > Suggested BufferSize: 134732
59,75c59,75
<   biBitCount 12
<   biCompression 1145656920='XVID'
<   biSizeImage 622080
< ===========================
< Regenerating keyframe table for MPEG4 video
< ======= Video Properties Header =======
< Format: 0  VideoStandard: 0
< VRefresh: 25  HTotal: 720  VTotal: 576
< FrameAspect: 16384:13107  Framewidth: 720  Frameheight: 576
< Fields: 1
<   == Field 0 description ==
<   CompressedBMHeight: 576  CompressedBMWidth: 720
<   ValidBMHeight: 576  ValidBMWidth: 720
<   ValidBMXOffset: 0  ValidBMYOffset: 0
<   VideoXOffsetInT: 0  VideoYValidStartLine: 0
< =======================================
< list_end=0x192
---
 >   biBitCount 24
 >   biCompression 268435458=''
 >   biSizeImage 1244160
 > ===========================
 > ====== AVI Super Index Header ========
 >   FCC (indx) dwSize (120) wLongsPerEntry(4)
 >   bIndexSubType (0) bIndexType (0)
 >   nEntriesInUse (6) dwChunkId (00dc)
 >   dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
 > ===========================
 > ODML (00dc): [0] 0x000000013fc5975c 0x3bff8 30715
 > ODML (00dc): [1] 0x000000013fc95754 0x3bff8 30715
 > ODML (00dc): [2] 0x000000013fcd174c 0x3bff8 30715
 > ODML (00dc): [3] 0x000000013fd0d744 0x3bff8 30715
 > ODML (00dc): [4] 0x000000013fd4973c 0x3bff8 30715
 > ODML (00dc): [5] 0x000000013fd85734 0xc740 6372
 > list_end=0x23A
78c78
< Type: auds   FCC: U (55)
---
 > Type: auds   FCC:  (2000)
81,84c81,84
< InitialFrames: 21
< Rate: 48000/1152 = 41.667
< Start: 0   Len: 5000
< Suggested BufferSize: 480
---
 > InitialFrames: 0
 > Rate: 56000/1 = 56000.000
 > Start: 0   Len: 358285312
 > Suggested BufferSize: 28000
86c86
< Sample size: 0
---
 > Sample size: 1
88c88
< Found 'wf', 30 bytes of 18
---
 > Found 'wf', 18 bytes of 18
90,91c90,91
< Format Tag: 85 (0x55)
< Channels: 1
---
 > Format Tag: 8192 (0x2000)
 > Channels: 2
93,101c93,102
< avg byte/sec: 7138
< Block align: 1152
< bits/sample: 0
< cbSize: 12
< mp3.wID=1
< mp3.fdwFlags=0x2
< mp3.nBlockSize=1152
< mp3.nFramesPerBlock=1
< mp3.nCodecDelay=0
---
 > avg byte/sec: 56000
 > Block align: 1
 > bits/sample: 16
 > cbSize: 0
 > ===========================
 > ====== AVI Super Index Header ========
 >   FCC (indx) dwSize (120) wLongsPerEntry(4)
 >   bIndexSubType (0) bIndexType (0)
 >   nEntriesInUse (6) dwChunkId (01wb)
 >   dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
103c104,112
< list_end=0x1CA
---
 > ODML (01wb): [0] 0x000000013fd91e74 0x4ce8 68796000
 > ODML (01wb): [1] 0x000000013fd96b5c 0x4ce8 68796000
 > ODML (01wb): [2] 0x000000013fd9b844 0x4ce8 68796000
 > ODML (01wb): [3] 0x000000013fda052c 0x4ce8 68796000
 > ODML (01wb): [4] 0x000000013fda5214 0x4ce8 68796000
 > ODML (01wb): [5] 0x000000013fda9efc 0x1018 14305312
 > list_end=0x252
 > AVI: dmlh found (size=4) (total_frames=34184)
 > list_end=0x28A
105,109c114,203
< Software  : MEncoder dev-CVS-060118-09:14-3.4.4
< list_end=0x95F2E0
< Found movie at 0x100C - 0x95F2E0
< Reading INDEX block, 8003 chunks for 3003 frames (fpos=9827048)
< AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x6C)
---
 > Software  : MEncoder dev-CVS-051228-11:46-3.4.4
 > list_end=0x3FF6E3C4
 > Found movie at 0x100C - 0x3FF6E3C4
 > Reading INDEX block, 36920 chunks for 34184 frames (fpos=1073144780)
 > Additional RIFF header...
 > list_end=0x7FFFCF14
 > Found movie at 0x100C - 0x7FFFCF14
 > Additional RIFF header...
 > list_end=0xBFFF0980
 > Found movie at 0x100C - 0xBFFF0980
 > Additional RIFF header...
 > list_end=0xFFFF05AC
 > Found movie at 0x100C - 0xFFFF05AC
 > Additional RIFF header...
 > list_end=0x3FDAAF14
 > Found movie at 0x100C - 0x3FDAAF14
 > AVI: ODML: Building odml index (2 superindexchunks)
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (245744) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (30715) dwChunkId (00dc)
 >   qwBaseOffset (0x7D7C) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (245744) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (30715) dwChunkId (00dc)
 >   qwBaseOffset (0x38B717A8) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (245744) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (30715) dwChunkId (00dc)
 >   qwBaseOffset (0x774A5F44) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (245744) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (30715) dwChunkId (00dc)
 >   qwBaseOffset (0xB5B25C90) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (245744) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (30715) dwChunkId (00dc)
 >   qwBaseOffset (0xF4CBA2F0) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix00) dwSize (51000) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (6372) dwChunkId (00dc)
 >   qwBaseOffset (0x1320F1218) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (19680) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (2457) dwChunkId (01wb)
 >   qwBaseOffset (0x1014) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (19680) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (2457) dwChunkId (01wb)
 >   qwBaseOffset (0x38AFF7FC) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (19680) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (2457) dwChunkId (01wb)
 >   qwBaseOffset (0x7743BD48) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (19680) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (2457) dwChunkId (01wb)
 >   qwBaseOffset (0xB5A609C8) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (19680) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (2457) dwChunkId (01wb)
 >   qwBaseOffset (0xF4BDC520) dwReserved3 (0)
 > ===========================
 > ====== AVI Standard Index Header ========
 >   FCC (ix01) dwSize (4112) wLongsPerEntry(2)
 >   bIndexSubType (0) bIndexType (1)
 >   nEntriesInUse (511) dwChunkId (01wb)
 >   qwBaseOffset (0x1320A5FEC) dwReserved3 (0)
 > ===========================
 > AVI index offset: 0x0 (movi=0x100C idx0=0x100C idx1=0x7D74)
113,115c207,209
< AVI video size=8900842 (3003) audio size=856560 (5000)
< VIDEO:  [XVID]  720x576  12bpp  25.000 fps  592.8 kbps (72.4 kbyte/s)
< [V] filefmt:3  fourcc:0x44495658  size:720x576  fps:25.00  ftime:=0.0400
---
 > AVI video size=709651760 (159947) audio size=358285312 (358285312)
 > VIDEO:  []  720x576  24bpp  25.000 fps  6257.8 kbps (763.9 kbyte/s)
 > [V] filefmt:3  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
117c211
<  Software: MEncoder dev-CVS-060118-09:14-3.4.4
---
 >  Software: MEncoder dev-CVS-051228-11:46-3.4.4
121,128c215,222
< Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
< dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
< mp3lib: using generic C decore!
< MP3lib: init layer2&3 finished, tables done
<  MPEG 1.0, Layer III, 48000 Hz 32 kbit Single-Channel, BPF: 96
< Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
< AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
< Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
---
 > Opening audio decoder: [liba52] AC3 decoding with liba52
 > dec_audio: Allocating 3840 bytes for input buffer.
 > dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
 > AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
 > A52 flags before a52_frame: 0x2A
 > A52 flags after a52_frame: 0xA
 > AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
 > Selected audio codec: [a52] afm: liba52 (AC3-liba52)
141,143c235,244
< Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
< INFO: libavcodec init OK!
< Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
---
 > Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 > VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
 > Trying filter chain: vo
 > Could not find matching colorspace - retrying with -vf scale...
 > Opening video filter: [scale]
 > SwScale params: -1 x -1 (-1=no scaling)
 > Trying filter chain: scale vo
 > 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))
167,168d267
< XXX initial  v_pts=0.000  a_pos=2016 (0.282)
< [ffmpeg] aspect_ratio: 1.250000
172c271
< Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
---
 > Movie-Aspect is undefined - no prescaling applied.

 

----------------------------------------------------- playback of 
mplayer -v test1.avi --------------------------
MPlayer dev-CVS-060118-09:14-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San 
Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


Reading main/etc/codecs.conf: 91 audio & 204 video codecs
CommandLine: '-codecs-file' 'main/etc/codecs.conf' '-v' 'test1.avi'
init_freetype
get_path('font/font.desc') -> '/home/raph/.mplayer/font/font.desc'
font: can't open file: /home/raph/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/raph/.mplayer/input.conf'
Can't open input config file /home/raph/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('test1.avi.conf') -> '/home/raph/.mplayer/test1.avi.conf'
Playing test1.avi.
get_path('sub/') -> '/home/raph/.mplayer/sub/'
[file] File size is 9955096 bytes
STREAM: [file] test1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x192
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 3003   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 576
==========================
list_end=0x120
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: XVID (44495658)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 3003
Suggested BufferSize: 63335
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 576
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 622080
===========================
Regenerating keyframe table for MPEG4 video
======= Video Properties Header =======
Format: 0  VideoStandard: 0
VRefresh: 25  HTotal: 720  VTotal: 576
FrameAspect: 16384:13107  Framewidth: 720  Frameheight: 576
Fields: 1
  == Field 0 description ==
  CompressedBMHeight: 576  CompressedBMWidth: 720
  ValidBMHeight: 576  ValidBMWidth: 720
  ValidBMXOffset: 0  ValidBMYOffset: 0
  VideoXOffsetInT: 0  VideoYValidStartLine: 0
=======================================
list_end=0x192
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 21
Rate: 48000/1152 = 41.667
Start: 0   Len: 5000
Suggested BufferSize: 480
Quality 0
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 48000
avg byte/sec: 7138
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x1CA
hdr=Software  size=36
Software  : MEncoder dev-CVS-060118-09:14-3.4.4
list_end=0x95F2E0
Found movie at 0x100C - 0x95F2E0
Reading INDEX block, 8003 chunks for 3003 frames (fpos=9827048)
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=8900842 (3003) audio size=856560 (5000)
VIDEO:  [XVID]  720x576  12bpp  25.000 fps  592.8 kbps (72.4 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:720x576  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder dev-CVS-060118-09:14-3.4.4
get_path('sub/') -> '/home/raph/.mplayer/sub/'
get_path('default.sub') -> '/home/raph/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
 MPEG 1.0, Layer III, 48000 Hz 32 kbit Single-Channel, BPF: 96
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours LAYER FULLSCREEN X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
[xv common] Maximum source image dimensions: 2048x2048
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: compiled for ALSA-1.0.10
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
alsa-space: free space = 65536, prepared --
XXX initial  v_pts=0.000  a_pos=2016 (0.282)
[ffmpeg] aspect_ratio: 1.250000
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 720x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 67 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 614
[...]


------------------------------ playback of mplayer -v dvd.avi 
--------------------

MPlayer dev-CVS-060118-09:14-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Newcastle,Winchester,San 
Diego,Venice; Sempron Palermo (Family: 15, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


Reading main/etc/codecs.conf: 91 audio & 204 video codecs
CommandLine: '-codecs-file' 'main/etc/codecs.conf' '-v' 'dvd.avi'
init_freetype
get_path('font/font.desc') -> '/home/raph/.mplayer/font/font.desc'
font: can't open file: /home/raph/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/raph/.mplayer/input.conf'
Can't open input config file /home/raph/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('dvd.avi.conf') -> '/home/raph/.mplayer/dvd.avi.conf'
Playing dvd.avi.
get_path('sub/') -> '/home/raph/.mplayer/sub/'
[file] File size is 5366263572 bytes
STREAM: [file] dvd.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x252
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 34184   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 576
==========================
list_end=0x154
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC:  (10000002)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 159947
Suggested BufferSize: 134732
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 268435458=''
  biSizeImage 1244160
===========================
====== AVI Super Index Header ========
  FCC (indx) dwSize (120) wLongsPerEntry(4)
  bIndexSubType (0) bIndexType (0)
  nEntriesInUse (6) dwChunkId (00dc)
  dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
===========================
ODML (00dc): [0] 0x000000013fc5975c 0x3bff8 30715
ODML (00dc): [1] 0x000000013fc95754 0x3bff8 30715
ODML (00dc): [2] 0x000000013fcd174c 0x3bff8 30715
ODML (00dc): [3] 0x000000013fd0d744 0x3bff8 30715
ODML (00dc): [4] 0x000000013fd4973c 0x3bff8 30715
ODML (00dc): [5] 0x000000013fd85734 0xc740 6372
list_end=0x23A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (2000)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 56000/1 = 56000.000
Start: 0   Len: 358285312
Suggested BufferSize: 28000
Quality 0
Sample size: 1
==========================
Found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 56000
Block align: 1
bits/sample: 16
cbSize: 0
===========================
====== AVI Super Index Header ========
  FCC (indx) dwSize (120) wLongsPerEntry(4)
  bIndexSubType (0) bIndexType (0)
  nEntriesInUse (6) dwChunkId (01wb)
  dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
===========================
ODML (01wb): [0] 0x000000013fd91e74 0x4ce8 68796000
ODML (01wb): [1] 0x000000013fd96b5c 0x4ce8 68796000
ODML (01wb): [2] 0x000000013fd9b844 0x4ce8 68796000
ODML (01wb): [3] 0x000000013fda052c 0x4ce8 68796000
ODML (01wb): [4] 0x000000013fda5214 0x4ce8 68796000
ODML (01wb): [5] 0x000000013fda9efc 0x1018 14305312
list_end=0x252
AVI: dmlh found (size=4) (total_frames=34184)
list_end=0x28A
hdr=Software  size=36
Software  : MEncoder dev-CVS-051228-11:46-3.4.4
list_end=0x3FF6E3C4
Found movie at 0x100C - 0x3FF6E3C4
Reading INDEX block, 36920 chunks for 34184 frames (fpos=1073144780)
Additional RIFF header...
list_end=0x7FFFCF14
Found movie at 0x100C - 0x7FFFCF14
Additional RIFF header...
list_end=0xBFFF0980
Found movie at 0x100C - 0xBFFF0980
Additional RIFF header...
list_end=0xFFFF05AC
Found movie at 0x100C - 0xFFFF05AC
Additional RIFF header...
list_end=0x3FDAAF14
Found movie at 0x100C - 0x3FDAAF14
AVI: ODML: Building odml index (2 superindexchunks)
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (245744) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (30715) dwChunkId (00dc)
  qwBaseOffset (0x7D7C) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (245744) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (30715) dwChunkId (00dc)
  qwBaseOffset (0x38B717A8) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (245744) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (30715) dwChunkId (00dc)
  qwBaseOffset (0x774A5F44) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (245744) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (30715) dwChunkId (00dc)
  qwBaseOffset (0xB5B25C90) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (245744) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (30715) dwChunkId (00dc)
  qwBaseOffset (0xF4CBA2F0) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (51000) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (6372) dwChunkId (00dc)
  qwBaseOffset (0x1320F1218) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (19680) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (2457) dwChunkId (01wb)
  qwBaseOffset (0x1014) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (19680) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (2457) dwChunkId (01wb)
  qwBaseOffset (0x38AFF7FC) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (19680) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (2457) dwChunkId (01wb)
  qwBaseOffset (0x7743BD48) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (19680) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (2457) dwChunkId (01wb)
  qwBaseOffset (0xB5A609C8) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (19680) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (2457) dwChunkId (01wb)
  qwBaseOffset (0xF4BDC520) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (4112) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (511) dwChunkId (01wb)
  qwBaseOffset (0x1320A5FEC) dwReserved3 (0)
===========================
AVI index offset: 0x0 (movi=0x100C idx0=0x100C idx1=0x7D74)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=709651760 (159947) audio size=358285312 (358285312)
VIDEO:  []  720x576  24bpp  25.000 fps  6257.8 kbps (763.9 kbyte/s)
[V] filefmt:3  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder dev-CVS-051228-11:46-3.4.4
get_path('sub/') -> '/home/raph/.mplayer/sub/'
get_path('default.sub') -> '/home/raph/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours LAYER FULLSCREEN X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
[xv common] Maximum source image dimensions: 2048x2048
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
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))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: compiled for ALSA-1.0.10
alsa-init: setup for 1/2 channel(s)
alsa-init: 1 soundcard found, using: default
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
alsa-space: free space = 65536, prepared --
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 720x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 67 for hw scaling




More information about the MEncoder-users mailing list