[MPlayer-users] mjpeg playback solid green

Kichigai Mentat kichigai at comcast.net
Mon Sep 5 01:18:28 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sep 4, 2005, at 18.09, Steven M. Schultz wrote:

> Hi -
>
>     On an OSX 10.4.2 system when I play back a MJPEG-A file all that
>     appears is a window of solid (bright/lime) green.
Well, you're not alone here. I've had the same problem, but there  
could be differences between our cases. Where did you get this video  
from? Is it possible we could have a sample?
> The times I've
>     seen this happen in other situations it's because the Y'CbCr data
>     was all 0/0/0
>
> sms% mplayer -v xxx.avi
> MPlayer dev-CVS-050901-21:02-4.0.0 (C) 2000-2005 MPlayer Team
> AltiVec found
> CPU: PowerPC
>
> CommandLine: '-monitoraspect' '16/10' '-v' 'xxx.avi'
> init_freetype
> get_path('font/font.desc') -> '/Users/sms/.mplayer/font/font.desc'
> font: can't open file: /Users/sms/.mplayer/font/font.desc
> Font /usr/local/share/mplayer/font/font.desc loaded successfully!  
> (206 chars)
> Using Unoptimized OnScreenDisplay
> Using Darwin accurate timing
> get_path('input.conf') -> '/Users/sms/.mplayer/input.conf'
> Can't open input config file /Users/sms/.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('xxx.avi.conf') -> '/Users/sms/.mplayer/xxx.avi.conf'
> Playing xxx.avi.
> [file] File size is 475857534 bytes
> STREAM: [file] xxx.avi
> STREAM: Description: File
> STREAM: Author: Albeu
> STREAM: Comment: based on the code from ??? (probably Arpi)
> AVI file format detected.
> list_end=0xDC
> ======= AVI Header =======
> us/frame: 40000  (fps=25.000)
> max bytes/sec: 10000000
> padding: 0
> MainAVIHeader.dwFlags: (65552) HAS_INDEX WAS_CAPTUREFILE
> frames  total: 5182   initial: 0
> streams: 1
> Suggested BufferSize: 0
> Size:  720 x 576
> ==========================
> list_end=0xDC
> ==> Found video stream: 0
> ====== STREAM Header =====
> Type: sdiv   FCC: GPJM (47504A4D)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 1000000/40000 = 25.000
> Start: 0   Len: 5182
> Suggested BufferSize: 0
> Quality -1
> Sample size: 0
> ==========================
> found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 720
>   biHeight 576
>   biPlanes 1
>   biBitCount 24
>   biCompression 1196444237='GPJM'
>   biSizeImage 414720
> ===========================
> list_end=0x1C5BBE96
> Found movie at 0x800 - 0x1C5BBE96
> Reading INDEX block, 5182 chunks for 5182 frames (fpos=0x0)
> AVI index offset: 0x0 (movi=0x800 idx0=0x800 idx1=0x20DCC)
> Auto-selected AVI video ID = 0
> AVI_NI: No audio stream found -> no sound.
> AVI: Searching for audio stream (id:-1)
> AVI: No audio stream found -> no sound.
> AVI video size=475728502 (5182) audio size=0 (0)
> VIDEO:  [GPJM]  720x576  24bpp  25.000 fps  18360.8 kbps (2241.3  
> kbyte/s)
> VIDEO:  [GPJM]  720x576  24bpp  25.000 fps  18360.8 kbps (2241.3  
> kbyte/s)
> [V] filefmt:3  fourcc:0x47504A4D  size:720x576  fps:25.00   
> ftime:=0.0400
> get_path('sub/') -> '/Users/sms/.mplayer/sub/'
> get_path('default.sub') -> '/Users/sms/.mplayer/default.sub'
> ====================================================================== 
> ====
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> INFO: libavcodec init OK!
> Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
> ====================================================================== 
> ====
> Audio: no sound
> Freeing 0 unused audio chunks.
> Starting playback...
> [ffmpeg] aspect_ratio: 0.000000
> VDec: vo config request - 720 x 576 (preferred csp: Planar 422P)
> 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
> VDec: using Planar 422P as output csp (no 1)
> Movie-Aspect is undefined - no prescaling applied.
> VO Config (720x576->720x576,flags=0,'MPlayer',0x50323234)
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 1 -> 1
>
> SwScaler: BICUBIC scaler, from Planar 422P to Packed YUY2 using  
> AltiVec
> SwScaler: using C scaler for horizontal scaling
> SwScaler: using n-tap C scaler for vertical scaling (BGR)
> SwScaler: 720x576 -> 720x576
> REQ: flags=0x37  req=0x0
> VO: [macosx] 720x576 => 720x576 Packed YUY2
> VO: Description: Mac OSX Core Video
> VO: Author: Nicolas Plourde <nicolas.plourde at gmail.com>
> *** [scale] Allocating mp_image_t, 720x576x16bpp YUV planar, 829440  
> bytes
> *** [vo] Allocating mp_image_t, 720x576x16bpp YUV packed, 829440 bytes
> *** [scale] Allocating mp_image_t, 720x576x16bpp YUV planar, 829440  
> bytes
> uninit video: ffmpeg 59%  0.0% 0 0
> vo: x11 uninit called but X11 not inited..
>
>     Everything looks ok as far as recognizing the file goes but all  
> that
>     appears is green.
>
>     Is this specific to the PPC/Altivec platform or is anyone else  
> also
>     seeing this type of behaviour when playing MJPEG files?
>
>     Cheers,
>     Steven Schultz
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDG4DGwAwn3hu8KxcRAqxQAKCFpbyVgEP6FwfgN4vqtC6RgA2JtgCdGb70
qR2O97F5ydgO2SE/b9A9/Ac=
=/QF7
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list