[MPlayer-users] Re: tv:// Errors with DC10+ and playback on monitor

Phil Bertram phil.bertram at clear.net.nz
Tue Oct 24 22:49:07 CEST 2006


I now think I may have narrowed my problem down further.
WARNING : I have very little programming knowledge. A lot of trial and error
here !!!

I have added comments into stream/tvi_v4l.c the code at various points.
My messages are prepended with ........... in mplayers output.

I am hoping someone with more skill can see the issue, or point me in
another direction.

phil at pb:~/src/svn/mplayer$ mplayer -frames 1 -v tv:// -tv
driver=v4l:width=768:height=576:noaudio=1
MPlayer dev-SVN-r20424-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1800+ (Family: 6, Model: 8, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
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: '-frames' '1' '-v' 'tv://' '-tv' 'driver=v4l:width=768:height=576:noaudio=1'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/phil/.mplayer/input.conf'
Parsing input config file /home/phil/.mplayer/input.conf
Input config file /home/phil/.mplayer/input.conf parsed: 61 binds
get_path('menu.conf') -> '/home/phil/.mplayer/menu.conf'
Menu inited: /home/phil/.mplayer/menu.conf
get_path('.conf') -> '/home/phil/.mplayer/.conf'

Playing tv://.
get_path('sub/') -> '/home/phil/.mplayer/sub/'
STREAM: [tv] tv://
STREAM: Description: TV Input
STREAM: Author: Benjamin Zores, Albeu
STREAM: Comment:
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: DC10plus[0]
 Capabilites: capture overlay clipping frameram scales mjpeg-decoder
mjpeg-encoder
 Device type: 12521
 Supported sizes: 32x24 => 768x576
 Inputs: 3
  0: Composite:  (tuner:0, norm:pal)
  1: S-Video:  (tuner:0, norm:pal)
  2: Internal/comp:  (tuner:0, norm:pal)
mbuf: size=262144, frames=2
Using input 'Composite'
Selected norm: pal
Requested width: 768
Requested height: 576
Selected input hasn't got a tuner!
==> Found video stream: 0
Output format: Planar YV12
.............ioctl get picture succeded (PB) in static int start(priv_t
*priv) line 779
Picture values:
 Depth: 12, Palette: yuv420p (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
................ioctl set picture failed - failing line 799: Invalid
argument
Using a ring buffer for maximum 2 frames, 1 MB total size.
..........ioctl set picture failed: failing line 1075 Invalid argument
..........ioctl set picture failed: failing line 1075 Invalid argument
..........ioctl set picture failed: failing line 1075 Invalid argument
..........ioctl set picture failed: failing line 1075 Invalid argument
[V] filefmt:9  fourcc:0x32315659  size:768x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/phil/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Trying to force video codec driver family lavc...
Trying to force video codec driver family ffmpeg...
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: menu vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (768x576->768x576,flags=0,'MPlayer',0x32315659)
Unicode font: 3521 glyphs.
REQ: flags=0x437  req=0x0
VO: [xv] 768x576 => 768x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 109 for hw scaling
[xv] dx: 0 dy: 0 dw: 768 dh: 576
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
................ioctl mcapture failed at 1455: Invalid argument
................ioctl mcapture failed at 1455: Invalid argument
...............ioctl mcapture failed at 1624: Invalid argument
...............ioctl mcapture failed at 1624: Invalid argument
*** [menu] Exporting mp_image_t, 768x576x12bpp YUV planar, 663552 bytes
*** [vo] Exporting mp_image_t, 768x576x12bpp YUV planar, 663552 bytes
Unicode font: 3521 glyphs.
[xv] dx: 0 dy: 0 dw: 768 dh: 576
EOF code: 1    1 ??% ??% ??,?% 0 0

Uninit video: raw
Waiting for threads to finish... done
vo: uninit ...

Exiting... (End of file)

Phil





More information about the MPlayer-users mailing list