[MPlayer-users] aspect ratio problem in mplayer pre4

Jaap Struyk japie at deserver.nl
Sun May 2 17:51:34 CEST 2004


Op za 01-05-2004, om 21:12 schreef D Richard Felker III:

> Then perhaps you're using a vo driver that can't scale, such as
> vo_x11? Seriously. If you're going to report a "bug" then you MUST
> explain what you're doing when you see it. That means full command
> lines, -v output, etc. Because obviously mplayer does aspect right for
> all of the rest of us...

I'am sorry, I never had any trouble with mplayer so I was yust
conserned...

I'am using xv on a TNT2 with the latest Nvidia drivers on XFree-4.3.0.1,
homebrew MPlayer 1.0pre4 build on a lfs-4.0 system. 
When playing the homemade mpeg1 (script to create the kvcd-mpeg stream
can be found at http://www.japie.deserver.nl/ftp/KVCD/divx2kvcd.sh)
mplayer exits with the message: The selected video_out device is
incompatible with this codec. (I attached a full -v output at the
bottom)
But xv is used nevertheless...

When I encode at 352x240 both aspects are properly shown (4/3 and 16/9),
when I encode at 352x288 or higher the aspect isn't shown properly so
it's not a video_out problem (else the 352x240 encodings wouldn't be
right too)
-- 
Groetjes Japie
-------------- next part --------------
MPlayer 1.0pre4-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2006 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /etc/mplayer.conf
Reading config file /home/japie/.mplayer/config
Reading /home/japie/.mplayer/codecs.conf: 60 audio & 156 video codecs
CommandLine: '-v' 'kvcd.mpg'
init_freetype
get_path('font/font.desc') -> '/home/japie/.mplayer/font/font.desc'
font: can't open file: /home/japie/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/japie/.mplayer/input.conf'
Parsing input config file /home/japie/.mplayer/input.conf
Input config file /home/japie/.mplayer/input.conf parsed: 52 binds
get_path('kvcd.mpg.conf') -> '/home/japie/.mplayer/kvcd.mpg.conf'

Playing kvcd.mpg.
[file] File size is 204800 bytes
STREAM: [file] kvcd.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:16384  

Cache fill:  0,20% (16384 bytes)    
Cache fill:  2,44% (204800 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8622b40  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8622b40  
Checking for Nullsoft Streaming Video
DEMUXER: freeing demuxer at 0x8622b40  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8622b40  
Checking for REAL
DEMUXER: freeing demuxer at 0x8622b40  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8622b40  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
Searching demuxer type for filename kvcd.mpg ext: .mpg
Checking for MOV
DEMUXER: freeing demuxer at 0x86233a8  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing demuxer at 0x86233a8  
Checking for PVA
DEMUXER: freeing demuxer at 0x86233a8  
Checking for MPEG-TS...
TRIED UP TO POSITION 67084, FOUND 47, packet_size= 0, SEEMS A TS? 0
DEMUXER: freeing demuxer at 0x86233a8  
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648376
LMLM4 Stream Format not found
DEMUXER: freeing demuxer at 0x86233a8  
system stream synced at 0xB (0)!
==> Found audio stream: 0
==> Found video stream: 0
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  352x288  (aspect 2)  23,976 fps  3000,0 kbps (375,0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:23,98  ftime:=0,0417
get_path('sub/') -> '/home/japie/.mplayer/sub/'
get_path('default.sub') -> '/home/japie/.mplayer/default.sub'
==========================================================================
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
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer II, 44100 Hz 112 kbit Stereo, BPF: 366
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112,0 kbit)
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 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: 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.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-0.9.8
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: got buffersize=65536
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 65536, status=140783552, prepared --
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO Config (352x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [xv] 352x288 => 384x288 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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 89 for hw scaling
[xv] dx: 0 dy: 0 dw: 384 dh: 288
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
[xv] dx: 0 dy: 0 dw: 384 dh: 288
A:   0,7 V:   0,0 A-V:  0,620 ct:  0,000    1/  1   0%  0%  0,0% 0 0 2%
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
get_path('subfont.ttf') -> '/home/japie/.mplayer/subfont.ttf'
Unicode font: 239 glyphs.

Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: mp3lib
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x86233a8  
DEMUXER: freeing sh_audio at 0x85fabd8  
DEMUXER: freeing sh_video at 0x85fad08  
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (End of file)

The selected video_out device is incompatible with this codec.


More information about the MPlayer-users mailing list