From owner-freebsd-multimedia@FreeBSD.ORG Mon Aug 1 12:02:17 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D1016A41F for ; Mon, 1 Aug 2005 12:02:17 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id CF03A43D66 for ; Mon, 1 Aug 2005 12:02:14 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 23684 invoked from network); 1 Aug 2005 12:02:11 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 1 Aug 2005 12:02:11 -0000 Received: (qmail 8875 invoked by uid 89); 1 Aug 2005 12:02:05 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 1 Aug 2005 12:02:05 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id E139C115FE for ; Mon, 1 Aug 2005 15:02:04 +0300 (EEST) Date: Mon, 1 Aug 2005 15:02:03 +0300 From: Ion-Mihai Tetcu Cc: freebsd-multimedia@freebsd.org 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> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: mplayer tv config (was: Re: xawtv questions) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 12:02:17 -0000 On Mon, 1 Aug 2005 12:05:59 +0300 Ion-Mihai Tetcu 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" --=--