Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 15:02:03 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   mplayer tv config (was: Re: xawtv questions)
Message-ID:  <20050801150203.2c435b86@it.buh.tecnik93.com>
In-Reply-To: <20050801120559.68b055d2@it.buh.tecnik93.com>
References:  <20050729181650.27cd6f1c@it.buh.cameradicommercio.ro> <42EDB8F6.1090807@inetis.com> <20050801120559.68b055d2@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Aug 2005 12:05:59 +0300
Ion-Mihai Tetcu <itetcu@people.tecnik93.com> 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 :
tv=driver=bsdbt848:width=768:height=576:device=/dev/vbi:input=1:norm=PAL:chanlist=europe-east:channels=E8-Antena1,E9-TVR1,E11-TVR2,SE19-B1,SR2-NationaTV,E10-Prima,E12-ProTV,SE3-NationalTv,25-TVRCultural,SE11-AXN,SE6-Halmark,SE10-Cartoon/TCM,22-ProCinema,SE4-RealitateaTv,SE7-A3,27-N24,37-EuroNews,S23-BBCWorld,23-CNN,SE17-EuroSport,SE18-Discovery,24-Senso,SE5-NationaGeographic,SE14-AnimalPlanet,S22-Mezzo,SE8-TvK,E5-U,SE15-Animax/CherryMusic,26-VH1,SE2-MTv,28-TV5,S26-F2,SE20-Jetix/ESPN,S25-Extreme,29-Explorer,30-FashionTv,32-Romantica,33-DDTV,35-Duna,36-RaiUno,E6-RCS,E7-Acasa,SE16-OTv,S27-TVE,S28-Pro7,S29-TeleShop,21-EtnoTV,S21-CanalTeleshopTv,S24-RTL:audioid=1

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)
START
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 :)

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050801150203.2c435b86>