[MPlayer-users] Doc error: undocumented option to -tv switch
Anvil
anvil at ca.inter.net
Wed Nov 29 21:59:56 CET 2006
RE: MPlayer-1.0pre6a documentation
input=n option to -tv switch is undocumented
This should be added to the mplayer.1 manpage if it hasn't already
been fixed in docs for versions more recent than 1.0pre6a.
Some TV capture cards have more than one input plug -- composite,
S-video and/or (I don't know the technical name) "Television".
With all suitable drivers running and working, mplayer detects all
three possible inputs and chooses whatever it sees as the "first"
one. If the input you're using is one of the others, mplayer sends a
stream of meaningless data to the display.
The mplayer docs don't mention this and there is no documented way to
specify or force the choice of one of the inputs, although the startup
messages to stdout catalog the available inputs and report which
of them mplayer is choosing.
Fix is to use an undocumented option to the -tv switch:
mplayer tv:// -tv driver=v4l:input=n:other:options:here -other_switches
|||||||
-----------------------------+++++++
where n is an integer determined by reading the startup messages
provided by mplayer.
In my case, running mplayer tv:// to access a TV capture card without
using the input= option to -tv resulted in:
Playing tv://.
TV detected! ;-)
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
Selected device: bttv video
Capabilites: capture tuner overlay clipping frameram scales
Device type: 235
Supported sizes: 48x32 => 768x480
>>>> Inputs: 3
0: Television: tuner audio tv camera (tuner:1, norm:ntsc)
1: Composite1: audio camera (tuner:0, norm:ntsc)
2: S-Video: audio camera (tuner:0, norm:ntsc)
>>>> Using input 'Television'
But my input was composite so all I was getting was pixel garbage or a
blank TV window. Adding the input=1 option to the -tv switch fixed it
right up.
I hit on this by guesswork. Extensive grovelling and googling didn't
turn up any mention of -tv input=n.
- Mike
--
Michael Spencer Nova Scotia, Canada .~.
/V\
mspencer at tallships.ca /( )\
anvil at ca.inter.net ^^-^^
http://home.tallships.ca/mspencer/
--
More information about the MPlayer-users
mailing list