[MPlayer-users] Re: Re: tv:// Errors with DC10+ and playback on monitor
Phil Bertram
phil.bertram at clear.net.nz
Mon Oct 23 06:41:59 CEST 2006
RC wrote:
> On Mon, 23 Oct 2006 15:28:20 +1300
> Phil Bertram <phil.bertram at clear.net.nz> wrote:
>
>> > I'd try forcing a few of the different formats (see man page), but
>> > it
>>
>> Tried them all with no luck.
>
> Try norm=NTSC instead of 0. And try explicitly setting width and height
> (720x480).
OK. The norm=NTSC|PAL, in my case PAL does not appear to be the issue.
>
>> I have just finished installing xawtv and I get a working picture
>> with that. So it seems xawtv can use the v4l2 device.
>
> I don't believe xawtv supports mjpeg decoding... Try mplayer without
> "mjpeg".
Possibly just bypassing any mjpeg encoding/decoding?
However, when I remove mjpeg from the commandline ............
mplayer tv:// -tv driver=v4l:outfmt=yuy2:width=300:height=200 I get
playback. However when I increase my size dimensions any further the errors
return.
Successful output followed by unsuccessful output.
phil at pb:~$ mplayer -v tv:// -tv driver=v4l:outfmt=yuy2:width=300:height=200
MPlayer dev-SVN-r20162-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: '-v' 'tv://' '-tv' 'driver=v4l:outfmt=yuy2:width=300:height=200'
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:
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: 300
Requested height: 200
Selected input hasn't got a tuner!
==> Found video stream: 0
Output format: Packed YUY2
Picture values:
Depth: 16, Palette: yuv422 (Format: Packed YUY2)
Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
Using a ring buffer for maximum 2 frames, 0 MB total size.
[V] filefmt:9 fourcc:0x32595559 size:300x200 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 - 300 x 200 (preferred colorspace: Packed YUY2)
Trying filter chain: menu vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (300x200->300x200,flags=0,'MPlayer',0x32595559)
Unicode font: 3521 glyphs.
REQ: flags=0x437 req=0x0
VO: [xv] 300x200 => 300x200 Packed YUY2
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: 300 dh: 200
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [menu] Exporting mp_image_t, 300x200x16bpp YUV packed, 120000 bytes
*** [vo] Exporting mp_image_t, 300x200x16bpp YUV packed, 120000 bytes
Unicode font: 3521 glyphs.
[xv] dx: 0 dy: 0 dw: 300 dh: 200
Uninit video: raw 0% 0% 0.0% 0 0
Waiting for threads to finish... MJP: returning!
done
vo: uninit ...
Exiting... (Quit)
phil at pb:~$
#########################
phil at pb:~$ mplayer -v tv:// -tv driver=v4l:outfmt=yuy2:width=320:height=210
MPlayer dev-SVN-r20162-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: '-v' 'tv://' '-tv' 'driver=v4l:outfmt=yuy2:width=320:height=210'
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:
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: 320
Requested height: 210
Selected input hasn't got a tuner!
==> Found video stream: 0
Output format: Packed YUY2
Picture values:
Depth: 16, Palette: yuv422 (Format: Packed YUY2)
Brightness: 32768, Hue: 32768, Colour: 32768, Contrast: 32768
Using a ring buffer for maximum 2 frames, 0 MB total size.
[V] filefmt:9 fourcc:0x32595559 size:320x210 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 - 320 x 210 (preferred colorspace: Packed YUY2)
Trying filter chain: menu vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x210->320x210,flags=0,'MPlayer',0x32595559)
Unicode font: 3521 glyphs.
REQ: flags=0x437 req=0x0
VO: [xv] 320x210 => 320x210 Packed YUY2
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: 320 dh: 210
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
*** [menu] Exporting mp_image_t, 320x210x16bpp YUV packed, 134400 bytes
*** [vo] Exporting mp_image_t, 320x210x16bpp YUV packed, 134400 bytes
Unicode font: 3521 glyphs.
[xv] dx: 0 dy: 0 dw: 320 dh: 210
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V: 0.0 2/ 2 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V: 0.1 4/ 4 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
ioctl mcapture failed: Invalid argument
V: 0.2 5/ 5 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V: 0.2 6/ 6 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V: 0.2 7/ 7 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V: 0.3 8/ 8 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
V: 0.3 9/ 9 ??% ??% ??,?% 0 0
ioctl mcapture failed: Invalid argument
More information about the MPlayer-users
mailing list