[MPlayer-users] Color problems with video

Deron Kazmaier deron at pagestream.org
Sun Nov 20 21:43:12 CET 2011


I've run across several videos that have some serious color problems 
(most notably, skin is shades of blue ie red is blue). Can I correct 
that? The video plays correctly in QuickTime, but it is a group of 
videos from one person that does this. I presume it is some kind of 
confusion as to the color encoding method used in the video. Sadly, I 
don't have a way to test this except with the (beta) decklink driver so 
I'm not entirely sure where the fault is.

Thanks!

Deron

Here is a sample command and output:

mplayer -quiet "/work/paid VERSA CUT (997.0092) Ardman [NARROW].mp4" -vo 
decklink -ao decklink -lavdopts threads=8 -vf 
scale=-3:720,expand=1280:720 -af volume=-12
MPlayer SVN-r34354-4.5.2 (C) 2000-2011 MPlayer Team

Playing /work/paid VERSA CUT (997.0092) Ardman [NARROW].mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  720x486  24bpp  29.970 fps  12448.1 kbps (1519.5 kbyte/s)
Clip info:
  major_brand: mp42
  minor_version: 1
  compatible_brands: mp42mp41
  creation_time: 2011-11-03 19:31:50
Load subtitles in /work/
Opening video filter: [expand w=1280 h=720]
Expand: 1280 x 720, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Opening video filter: [scale w=-3 h=720]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 31999->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [decklink] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xbcfb80]BICUBIC scaler, from yuv420p to uyvy422 using MMX2
VO: [decklink] 1280x720 => 1280x720 Packed UYVY
[decklink] Selected display mode: HD 720p 59.94
[decklink] fps_in: 2997003  fps_out:5994006
[swscaler @ 0xbcfb80]Warning: data is not aligned! This can lead to a 
speedloss


----- and this is what ffmpeg reports -----

ffmpeg -i "paid VERSA CUT (997.0092) Ardman [NARROW].mp4"

Seems stream 0 codec frame rate differs from container frame rate: 
5994.00 (5994/1) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'paid VERSA CUT (997.0092) 
Ardman [NARROW].mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 1
     compatible_brands: mp42mp41
     creation_time   : 2011-11-03 19:31:50
   Duration: 00:28:33.01, start: 0.000000, bitrate: 12707 kb/s
     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 
0x31637661), yuv420p, 720x486, 12448 kb/s, 29.97 fps, 29.97 tbr, 2997 
tbn, 5994 tbc
     Metadata:
       creation_time   : 2011-11-03 19:31:50
       handler_name    : Apple Video Media Handler
     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 
s16, 255 kb/s
     Metadata:
       creation_time   : 2011-11-03 19:31:50
       handler_name    : Apple Sound Media Handler



More information about the MPlayer-users mailing list