[MPlayer-users] Re: can't get zoran output to work
Phil Bertram
phil.bertram at clear.net.nz
Mon Aug 21 22:00:16 CEST 2006
On Monday 21 August 2006 9:11 pm, Karolina Lindqvist wrote:
> söndag 20 augusti 2006 07:21 skrev Karolina:
> > I can't get the zr (zoran) video output driver to work properly.
I have also been unable to get zr or zr2 to work. The message below was sent
to the list and did not get a response. The info copied here may help.
[copied]
Subject: Can not get -vo zr or -vo zr2 to work with DC10+. Any ideas ?
Hi,
Here is the output 2 commands. One using -vo zr, the other -vo zr2.
Tried Google, searching mplayer-users, mplayer-dev, the source code, man page
with no leads. Can someone please point me in the right direction?
MPlayer appears to initialize the card fine then the problem appears to be
with this error......
vo_zr2: error waiting for buffer to become free8 ??% ??% ??,?% 1 0 44%
vo_zr2: error queueing buffer for playback
Here is the complete output
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$ mplayer -v -vo zr VTS_02_1.VOB
MPlayer dev-SVN-r18746-4.0.4 (C) 2000-2006 MPlayer Team
CPU: AMD Duron(tm) Processor (Family: 6, Model: 3, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
get_path('codecs.conf') -> '/home/phil/.mplayer/codecs.conf'
Reading /home/phil/.mplayer/codecs.conf: Can't
open '/home/phil/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vo' 'zr' 'VTS_02_1.VOB'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: No such file or directory (it should be readable by
the user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/phil/.mplayer/input.conf'
Can't open input config file /home/phil/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 60 binds
get_path('VTS_02_1.VOB.conf') -> '/home/phil/.mplayer/VTS_02_1.VOB.conf'
Playing VTS_02_1.VOB.
get_path('sub/') -> '/home/phil/.mplayer/sub/'
[file] File size is 1073565696 bytes
STREAM: [file] VTS_02_1.VOB
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 638976 pre:209715 eof:0
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename VTS_02_1.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 4600.0 kbps (575.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/phil/.mplayer/sub/'
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
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
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [zr] 720x576 => 768x576 Planar YV12
VO: Description: Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)
VO: Author: Rik Snel <rsnel <at> cube.dyndns.org>
zr: found video device /dev/video0
zr: MJPEG card reports maxwidth=768, maxheight=576
zr: input: 720x576, cropped: 720x576, output: 720x576, off_y=0, off_c=0
JPEnc init: 720x288 1 1440 1 720 1 720
zr: geometry (after 'scaling'): 720x288+24+0 fields=2, w=720, h=576
zr: got 4 buffers of size 262144 (wanted 2 buffers of size 262144)
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
zr: error waiting for buffers to become free/ 8 ??% ??% ??,?% 3 0 44%
zr: error queueing buffer for playback
A: 1.1 V: 0.8 A-V: 0.312 ct: 0.052 14/ 14 52% 1949% 5.1% 8 0 41%
MPlayer interrupted by signal 2 in module: enable_cache
vo: x11 uninit called but X11 not inited..
MPlayer interrupted by signal 2 in module: flip_page
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: libmpeg2
zr: uninit called
zr: error waiting for buffers to become free
vo: x11 uninit called but X11 not inited..
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$
phil <at> epia:~$ mplayer -v -vo zr2 -vf zrmjpeg VTS_02_1.VOB
MPlayer dev-SVN-r18746-4.0.4 (C) 2000-2006 MPlayer Team
CPU: AMD Duron(tm) Processor (Family: 6, Model: 3, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
get_path('codecs.conf') -> '/home/phil/.mplayer/codecs.conf'
Reading /home/phil/.mplayer/codecs.conf: Can't
open '/home/phil/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vo' 'zr2' '-vf' 'zrmjpeg' 'VTS_02_1.VOB'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: No such file or directory (it should be readable by
the user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/phil/.mplayer/input.conf'
Can't open input config file /home/phil/.mplayer/input.conf: No such file or
directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 60 binds
get_path('VTS_02_1.VOB.conf') -> '/home/phil/.mplayer/VTS_02_1.VOB.conf'
Playing VTS_02_1.VOB.
get_path('sub/') -> '/home/phil/.mplayer/sub/'
[file] File size is 1073565696 bytes
STREAM: [file] VTS_02_1.VOB
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 1040384 pre:209715 eof:0
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename VTS_02_1.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 4600.0 kbps (575.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/phil/.mplayer/sub/'
vo_zr2: preinit() called with arg: (null)
vo_zr2: guessed video device /dev/video0
vo_zr2: kernel driver version 0.9, current norm is PAL
vo_zr2: card reports maxwidth=768, maxheight=576
vo_zr2: got 4 buffers of size 262144 (wanted 2 buffers of size 262144)
Opening video filter: [zrmjpeg]
vf_zrmjpeg: open() called: args="(null)"
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: zrmjpeg vo
vf_zrmjpeg: query_format() called
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 zrmjpeg vo
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: zrmjpeg vo
vf_zrmjpeg: query_format() called
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
vf_zrmjpeg: config() called
vf_zrmjpeg: generated JPEG's 720x(288x2), stretched to 720x576
vf_zrmjpeg: JPEG encoder init: 720x288 1 1440 1 720 1 720
REQ: flags=0x3 req=0x0
VO: [zr2] 720x576 => 720x576 Zoran MJPEG top field first
VO: Description: Zoran ZR360[56]7/ZR36060 Driver (DC10(+)/buz/lml33/MatroxRR)
VO: Author: Rik Snel <rsnel <at> cube.dyndns.org>
vo_zr2: config() called
vo_zr2: tv: 768x576, out: 720x576+24+0, in: 720x576 interlaced top first
vo_zr2: successfully written display parameters to card
*** [zrmjpeg] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [zrmjpeg] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [vo] Exporting mp_image_t, 720x576x0bpp RGB packed, 0 bytes0 0 48%
*** [zrmjpeg] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
vo_zr2: error waiting for buffer to become free0 ??% ??% ??,?% 4 0 48%
vo_zr2: error queueing buffer for playback
A: 1.1 V: 1.0 A-V: 0.092 ct: 0.062 20/ 20 24% 1354% 13.6% 11 0 45%
MPlayer interrupted by signal 2 in module: enable_cache
vo: x11 uninit called but X11 not inited..
MPlayer interrupted by signal 2 in module: decode_video
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: libmpeg2
vf_zrmjpeg: uninit() called
vo_zr2: uninit() called (may be called from preinit() on error)
vo: x11 uninit called but X11 not inited..
phil <at> epia:~$
Regards
Phil>
> I have been doing a lot of testing etc., and it appears that the zr driver
> is broken. Has anyone gotten it to work (in version MPlayer-1.0pre8)? Or
> does it work in a previous version of mplayer.
>
> Single stepping, frame by frame (in flip-page), gives that every frame
> looks different. They have all different colour schemes looking like the
> whole picture comes through a varying filter of various kinds, green, red,
> gray. The whole wrong colour over the whole picture. Some frames, maybe 1
> out of 3, or something, are shifted rightways, with a wrap-around rollover,
> with varying number of pixels. Some frames are blinking, and some comes
> with black tetris-like blocks. Otherwise the picture is displaying
> correctly.
>
> This is with a short .avi file generated with lavrec, and that displays
> correctly with lavplay.
>
> Karolina
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list