[MPlayer-users] green playback window
Steven M. Schultz
sms at 2BSD.COM
Sat Dec 3 00:00:16 CET 2005
Hi -
On OSX playing almost anything except MPEG-2 gives a 'green' (Y'CbCr
0/0/0) playback window with the default "-vo macosx"
This happens with MJPEG but I have noticed the same thing happens
with 'rawdv'.
mplayer -v -demuxer 22 coalb.dv
MPlayer dev-CVS-051201-23:09-4.0.0 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
CommandLine: '-monitoraspect' '16/10' '-v' '-demuxer' '22' 'coalb.dv'
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('coalb.dv.conf') -> '/Users/sms/.mplayer/coalb.dv.conf'
Playing coalb.dv.
get_path('sub/') -> '/Users/sms/.mplayer/sub/'
[file] File size is 1638360000 bytes
STREAM: [file] coalb.dv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for DV
RAWDV file format detected.
demux_open_rawdv() end_pos 0
==> Found video stream: 0
demux_open_rawdv() frame_size: 120000 w: 720 h: 480 dif_seq: 10 system: 1
demux_open_rawdv() seek to 0, size: 120000, dv_dec->frame_size: 120000
==> Found audio stream: 0
demux_open_rawdv() chan: 2 samplerate: 48000
VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/Users/sms/.mplayer/sub/'
get_path('default.sub') -> '/Users/sms/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
dec_audio: Allocating 15552 + 65536 = 81088 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16be, 28771.2 kbit/1873.13% (ratio: 3596400->192000)
Selected audio codec: [libdv] afm: libdv (raw DV audio decoder (libdv))
==========================================================================
==========================================================================
Requested video codec family [qdv] (vfm=dshow) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16be -> 0Hz/0ch/s8...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
AO: [macosx] source: 48000.0Hz 16bit [lpcm] int BE S packed
AO: [macosx] 4096 chunk size
AO: [macosx] 48000Hz 2ch s16be (2 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 720 x 480 (preferred colorspace: Planar 411P)
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 411P as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x480->720x480,flags=0,'MPlayer',0x50313134)
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: BICUBIC scaler, from Planar 411P to Packed YUY2 using AltiVec
SwScaler: using C scaler for horizontal scaling
SwScaler: using n-tap C scaler for vertical scaling (BGR)
SwScaler: 720x480 -> 720x480
REQ: flags=0x37 req=0x0
VO: [macosx] 720x480 => 720x480 Packed YUY2
VO: Description: Mac OSX Core Video
VO: Author: Nicolas Plourde <nicolas.plourde at gmail.com>
*** [scale] Allocating mp_image_t, 736x480x12bpp YUV planar, 529920 bytes
*** [vo] Allocating mp_image_t, 720x480x16bpp YUV packed, 691200 bytes
*** [scale] Allocating mp_image_t, 736x480x12bpp YUV planar, 529920 bytes
Uninit audio filters... 0.511 ct: 0.080 25/ 25 29% 116% 13.0% 19 0
[libaf] Removing filter dummy
uninit audio: libdv
uninit video: ffmpeg
vo: x11 uninit called but X11 not inited..
Exiting... (Quit)
BUT if I use '-vo sdl' the playback window's correct:
mplayer -vo sdl -v -demuxer 22 coalb.dv
MPlayer dev-CVS-051201-23:09-4.0.0 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
CommandLine: '-monitoraspect' '16/10' '-vo' 'sdl' '-v' '-demuxer' '22' 'coalb.dv'
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('coalb.dv.conf') -> '/Users/sms/.mplayer/coalb.dv.conf'
Playing coalb.dv.
get_path('sub/') -> '/Users/sms/.mplayer/sub/'
[file] File size is 1638360000 bytes
STREAM: [file] coalb.dv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for DV
RAWDV file format detected.
demux_open_rawdv() end_pos 0
==> Found video stream: 0
demux_open_rawdv() frame_size: 120000 w: 720 h: 480 dif_seq: 10 system: 1
demux_open_rawdv() seek to 0, size: 120000, dv_dec->frame_size: 120000
==> Found audio stream: 0
demux_open_rawdv() chan: 2 samplerate: 48000
VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/Users/sms/.mplayer/sub/'
get_path('default.sub') -> '/Users/sms/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
dec_audio: Allocating 15552 + 65536 = 81088 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16be, 28771.2 kbit/1873.13% (ratio: 3596400->192000)
Selected audio codec: [libdv] afm: libdv (raw DV audio decoder (libdv))
==========================================================================
SDL: Using driver: Quartz
X11 opening display:
vo: couldn't open the X11 display ()!
==========================================================================
Requested video codec family [qdv] (vfm=dshow) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16be -> 0Hz/0ch/s8...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
AO: [macosx] source: 48000.0Hz 16bit [lpcm] int BE S packed
AO: [macosx] 4096 chunk size
AO: [macosx] 48000Hz 2ch s16be (2 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/2ch/s16be -> 48000Hz/2ch/s16be...
[dummy] Was reinitialized: 48000Hz/2ch/s16be
[dummy] Was reinitialized: 48000Hz/2ch/s16be
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 720 x 480 (preferred colorspace: Planar 411P)
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 411P as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x480->720x480,flags=0,'MPlayer',0x50313134)
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: BICUBIC scaler, from Planar 411P to Planar YV12 using AltiVec
SwScaler: using C scaler for horizontal scaling
SwScaler: using 1-tap C "scaler" for vertical scaling (YV12 like)
SwScaler: 720x480 -> 720x480
REQ: flags=0x437 req=0x0
VO: [sdl] 720x480 => 720x480 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: using hardware-surface
SDL: setting windowed mode
*** [scale] Allocating mp_image_t, 736x480x12bpp YUV planar, 529920 bytes
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [scale] Allocating mp_image_t, 736x480x12bpp YUV planar, 529920 bytes
A: 3.4 V: 2.9 A-V: 0.489 ct: 0.290 88/ 88 23% 88% 5.7% 76 0
And '-vo quartz' also works.
So for OSX there are two workarounds to the '-vo macosx' green
playback window - use either '-vo quartz' or '-vo sdl'.
Cheers,
Steven Schultz
More information about the MPlayer-users
mailing list