[MPlayer-users] PNG multi-file playing/encoding

Hans Meine hans_meine at gmx.net
Tue May 27 16:40:28 CEST 2003


Hi!

I just told a collegue in our lab it was easy to encode his .png sequence with 
mencode - however, although mencoders usage is much simpler than that of 
other tools and although it _should_ be able to directly read them, I get 
very strange results.

Since the files are not that big (bytes-wise), I dared to attach one to this 
mail. If I try to play/encode a sequence of these, there seems to be an error 
with colorspace conversion (which might not even be necessary?!): all colored 
regions get 1-pixel wide vertical stripes repeating every 3 columns.

(Simple) Verbose mplayer output is attached, too. I tried mplayer-0.90 and CVS 
versions from march and may as well as different -vo plugins (png and xv 
would even work eventually, but I could not reproduce the latter - IIRC there 
was no csp conversion done once) and some -vop plugins (rgb2bgr for example).

I hope someone can shed light on this,

Ciao, /  /
     /--/
    /  / ANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Labeled-10121.png
Type: image/png
Size: 7970 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030527/352dd16e/attachment.png>
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030523-16:59-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/hans/.mplayer/config
Reading /home/hans/.mplayer/codecs.conf: can't open '/home/hans/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-v' '-mf' 'fps=15:type=png' 'mf://Labe*png' '-vo' 'xv'
get_path('font/font.desc') -> '/home/hans/.mplayer/font/font.desc'
Font /home/hans/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/hans/.mplayer/input.conf'
Can't open input config file /home/hans/.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('Labe*png.conf') -> '/home/hans/.mplayer/Labe*png.conf'

Playing mf://Labe*png
Unknown protocol 'mf'
Unable to open URL: mf://Labe*png
STREAM: [null] mf://Labe*png
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment: 
[demuxer] mf support.
[mf] search expr: Labe*png
[mf] number of files: 291 (1164)
==> Found video stream: 0
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps:15.00  ftime:=0.0667
get_path('sub/') -> '/home/hans/.mplayer/sub/'
get_path('default.sub') -> '/home/hans/.mplayer/default.sub'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
Opening video decoder: [mpng] PNG Images decoder
Selected video codec: [mpng] vfm:mpng (PNG images decoder)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
VDec: Codec did not set sh->disp_w and sh->disp_h, trying workaround.
VDec: vo config request - 1023 x 778 (preferred csp: BGR 24-bit)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using BGR 32-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1023x778->1023x778,flags=0,'MPlayer',0x42475220)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from BGR 32-bit to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 1023x778 -> 1023x778
REQ: flags=0x437  req=0x0  
VO: [xv] 1023x778 => 1023x778 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: 0x30323449 (I420) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x31313259 (Y211) packed
using Xvideo port 61 for hw scaling
[xv] dx: 0 dy: 0 dw: 1022 dh: 778
*** [scale] Allocating mp_image_t, 1023x778x32bpp BGR packed, 3183576 bytes
*** [vo] Allocating mp_image_t, 1024x778x12bpp YUV planar, 1195008 bytes
[xv] dx: 0 dy: 0 dw: 1017 dh: 738
V:   0.0    1   0%  0%  0.0% 0 0 0%
V:   0.1    2   0%  0%  0.0% 0 0 0%
V:   0.1    3   0%  0%  0.0% 0 0 0%
V:   0.2    4   0%  0%  0.0% 0 0 0%
V:   0.3    5   0%  0%  0.0% 0 0 0%
V:   0.3    6   0%  0%  0.0% 0 0 0%
V:   0.4    7   0%  0%  0.0% 0 0 0%
V:   0.5    8   0%  0%  0.0% 0 0 0%
V:   0.5    9  146% 149%  0.0% 0 0 0%
V:   0.6   10  140% 146%  0.0% 0 0 0%
V:   0.7   11  135% 149%  0.0% 0 0 0%
V:   0.7   12  131% 146%  0.0% 0 0 0%
V:   0.8   13  128% 144%  0.0% 0 0 0%
uninit video: mpng
DEMUXER: freeing demuxer at 0x84760a0  
DEMUXER: freeing sh_video at 0x84783c0  
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list