Public bug reported:

Binary package hint: mplayer

When playing a video of a sequence of png images, the colorspace is
incorrectly converted, resulting in incorrect colors.

command:
mplayer mf://*.png
mplayer mf://*.png -mf type=png -vf scale,format=yv12,scale
and everything else I tried.

the same problems are present in mencoder.

This is fixed in the current snapshot of mplayer (2010-02-10)

Manfred

OUTPUT of current package:

MPlayer UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mf://*.png.
MF file format detected.
[mf] search expr: *.png
[mf] number of files: 22 (176)
[demux_mf] file type was not set! trying 'type=png'...
VIDEO:  [MPNG]  0x0  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 960 x 540 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 5)
Movie-Aspect is undefined - no prescaling applied.
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 @ 0x7fcc68098680]BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x7fcc68098680]using 4-tap MMX scaler for horizontal luminance 
scaling
[swscaler @ 0x7fcc68098680]using 4-tap MMX scaler for horizontal chrominance 
scaling
[swscaler @ 0x7fcc68098680]using 1-tap MMX "scaler" for vertical scaling (YV12 
like)
[swscaler @ 0x7fcc68098680]960x540 -> 960x540
VO: [xv] 960x540 => 960x540 Planar YV12 
V:   0.8  22/ 22 18% 11%  0.0% 0 0 

Exiting... (End of file)


OUTPUT of current mplayer snapshot (which gives correct output)

MPlayer SVN-r30531-4.4.1 (C) 2000-2010 MPlayer Team

Playing mf://*.png.
MF file format detected.
[mf] search expr: *.png
[mf] number of files: 22 (176)
[demux_mf] file type was not set! trying 'type=png'...
VIDEO:  [MPNG]  0x0  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================
Audio: no sound
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xdf8760]using unscaled rgb24 -> bgra special converter
VO: [x11] 960x540 => 960x540 BGRA 
[VD_FFMPEG] DRI failure. ??,?% 0 0 
V:   0.8  22/ 22 19% 14%  0.0% 0 0 

Exiting... (End of file)

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 31 14:36:42 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: mplayer 2:1.0~rc3+svn20090426-1ubuntu10.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
RelatedPackageVersions:
 libavcodec52 4:0.5+svn20090706-2ubuntu2
 libavcodec-extra-52 N/A
SourcePackage: mplayer
Uname: Linux 2.6.31-19-generic x86_64
UserConf: # Write your default config options here!
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-19-generic

** Affects: mplayer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
colorspace problem creating video from png sequence using mf://
https://bugs.launchpad.net/bugs/552787
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to