[MPlayer-users] [BUG] -vo png broken in recent cvs

Jason Lunz lunz at falooley.org
Thu Oct 24 06:52:02 CEST 2002


In recent CVS (including tonight's), -vo png does not work.

system info:
 - Debian testing (sarge)
 - linux 2.4.19 / libc6 2.2.5-14.3 / X 4.1.0-17
 - gcc version 2.95.4 20011002 (Debian prerelease)
 - GNU ld version 2.13.90.0.4 20020814 Debian GNU/Linux
 - GNU  assembler 2.13.90.0.4 20020814 Debian GNU/Linux
 - AMD Thunderbird 900 MHz uniprocessor
 - matrox G200 AGP 8M
 - Creative SBLive! w/ stock oss drivers

I compiled my own debian packages from mplayer cvs.

What happens is that the *.png frames written by -vo png are either all
black, or contain the correct image in greyscale, scaled down
horizontally, and repeated three times side by side. This happens with
.mpg, .ogm/xvid, .asf and .avi files, so it's not the demuxur or video
decoder.

The png output works for the same files with my older cvs checkout from
2002-09-18.

Below is the output of "mplayer -v -vo png -ss 5:00 -frames 4 foo.mpg &> log".

Jason

__________________________________________________________________________
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-021023-22:59-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading /home/lunz/.mplayer/codecs.conf: 38 audio & 110 video codecs
CommandLine: '-v' '-vo' 'png' '-ss' '5:00' '-frames' '4' 'Coupling-1.02-Size_Matters.mpg'
get_path('font/font.desc') -> '/home/lunz/.mplayer/font/font.desc'
font: can't open file: /home/lunz/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/lunz/.mplayer/input.conf'
Parsing input config file /home/lunz/.mplayer/input.conf
Input config file /home/lunz/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...

Playing Coupling-1.02-Size_Matters.mpg
Not an URL!
File size is 382400256 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8462988  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8462988  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8462988  
Checking for MOV
DEMUXER: freeing demuxer at 0x8462988  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x8462988  
Checking for REAL
DEMUXER: freeing demuxer at 0x8462988  
DEMUXER: freeing demuxer at 0x8462988  
DEMUXER: freeing demuxer at 0x8462988  
DEMUXER: freeing demuxer at 0x8462988  
DEMUXER: freeing demuxer at 0x8462988  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8462988  
DEMUXER: freeing demuxer at 0x84631f0  
Checking for PVA
DEMUXER: freeing demuxer at 0x84631f0  
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  3150.0 kbps (393.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/lunz/.mplayer/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
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!

MPEG 1.0, Layer II, 44100 Hz 128 kbit Stereo, BPF: 418
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 576 (preferred csp: Mpeg PES)
Opening video filter: [pp]
[vo] query(Planar YV12) -> 1
[vo] query(Planar I420) -> 1
[vo] query(Planar IYUV) -> 1
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
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 - 480 x 576 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (480x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x405  req=0x0  
VO: [png] 480x576 => 768x576 Planar YV12 
VO: Description: PNG file
VO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
Using MMX2 for colorspace transform
PNG Warning: compression level set to 0, compression disabled!
PNG Info: Use the -z <n> switch to set compression level from 0 to 9.
PNG Info: (0 = no compression, 1 = fastest, lowest - 9 best, slowest compression)
PNG Compression level 0
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
[PP] Using external postprocessing filter, max q = 6
AutoQ: setting quality to 6
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000010 and bps = 2
Start playing...
*** [pp] Allocating mp_image_t, 480x576x12bpp YUV planar, 414720 bytes
Error while reading cmd fd 5 : No such file or directory
Error on cmd fd 5
*** [pp] Allocating mp_image_t, 480x576x12bpp YUV planar, 414720 bytes
*** [vo] Allocating mp_image_t, 480x576x12bpp YUV planar, 414720 bytes
using npp filters 0xF/0x3
Error while reading cmd fd 5 : No such file or directory
Error on cmd fd 5
Error while reading cmd fd 5 : No such file or directory
Error on cmd fd 5
*** [pp] Allocating mp_image_t, 480x576x12bpp YUV planar, 414720 bytes
Error while reading cmd fd 5 : No such file or directory
Error on cmd fd 5
Error while reading cmd fd 5 : No such file or directory
Error on cmd fd 5
EOF code: 1  

Uninit audio filters...
uninit audio: mp3lib  
uninit video: libmpeg2  
DEMUXER: freeing demuxer at 0x84631f0  
DEMUXER: freeing sh_audio at 0x8406058  
DEMUXER: freeing sh_video at 0x8405f58  
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)





More information about the MPlayer-users mailing list