mplayer tv config (was: Re: xawtv questions)

Ion-Mihai Tetcu itetcu at
Mon Aug 1 12:02:17 GMT 2005

On Mon, 1 Aug 2005 12:05:59 +0300
Ion-Mihai Tetcu <itetcu at> wrote:

> I just discovered how to make mplayer work with my card, i.e.
> mplayer -tv
> driver=bsdbt848:device=/dev/vbi:input=1:norm=PAL:chanlist=europe-east:audioid=1
> tv://S23 will play BBCWorld
> Strangely input should be 0 according to docs bu that gives a blue
> screen.
> BTW, how can one write the channel list in mplayer's conf file ?

OK, I got this one: in  ~/.mplayer/config :

This sets:
- the driver to out bktr
- width and height for PAL
- input device (works also with /dev/vbi0, /dev/bktr and /dev/bktr0
- TV card input source - for me this is the TV tuner
- norm - we're using PAL
- chanlist tels what set of (lowest frequency, channel width and space between
channels) to use
- channels are the TV channels provided by my cable operator
(RDS-Romania-Bucharest "Baza" package), in pairs of
channel_id-channel_name; the channel ids are obtained from my
~/.xawtv and the channel name is input by hand (actually also from
xawtv and some grep / paste)
- audioid tels the TV card to use "Internal" as sound source

Now I can play the TV with mplayer like:
mplayer tv://   - it starts with the first channel from the list (E8 - Antena1)
mplayer tv:/3  - it starts with the third channel (E11 - TVR2)
mplayer tv://Discovery - yup, you've got it.

The image quality is much better that when using XawTV, MoTV or XdTV
( I suspect it is a resolution (anyway X config)  problem). One little
problem is that while mplayer is on, when changing to an other app
(window) the colors go nuts, parts of the image displayed while mplayer
was on-top are super imposed on that window (konsole) (overlay
problem ?).

What I didn't manage to make it work is controlling the volume from
inside mplayer; I have the TV Card audio-out connected to line-in of
the sound card. And the sound is a little desync'ed

 > gmplayer tv://BBC
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
xscreensaver_disable: Could not find xscreensaver window.
/usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf
/home/itetcu/.kde/share/config/gtkrc:37: error: unexpected identifier `gtk-alternative-button-order', expected keyword - e.g. `style'
[GUI] Adding video filter: pp
Playing tv://BBC.
Cache fill:  0.00% (0 bytes)    TV detected! ;-)
Selected driver: bsdbt848
 name: Brooktree848 Support
 author: Charles Henrich
 comment: in development
TV channel names detected.
Selected channel: S23 - BBCWorld (freq: 319.250)
xscreensaver_disable: Could not find xscreensaver window.
Opening video filter: [pp]
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 768 x 576 (preferred csp: Packed UYVY)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed UYVY as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from Packed UYVY to Planar YV12 using MMX2
VO: [xv] 768x576 => 768x576 Planar YV12
Selected video codec: [rawuyvy] vfm:raw (RAW UYVY)
[PP] Using external postprocessing filter, max q = 6.
Audio: no sound
Starting playback...
V:   0.0  98/ 98 ??% ??% ??,?% 0 2 0%
Exiting... (Quit)

But I actually have sound :)

Unregistered ;) FreeBSD "user"
--=--  "Intellectual Property" is nowhere  near  as valuable as "Intellect" --=--

More information about the freebsd-multimedia mailing list