[Mplayer-dvb] DVB-C and channels.conf
Nico
nsabbi at libero.it
Tue Oct 7 22:16:37 CEST 2003
Oops,
in libmpdemux/dvbin.c function dbv_get_channels() you should change
apply this modification:
-const char *cbl_conf = "%a[^:]:%d:%c:%d:%a[^:]:%a[^:]:%d:%d\n";
+const char *cbl_conf = "%a[^:]:%d:%a[^:]:%d:%a[^:]:%a[^:]:%d:%d\n";
please, let me know if it works, so I can apply this patch to my code.
Nico
Andreas Matthias wrote:
>Hello,
>
>I am trying to use my DVB-C card. But mplayer seems to have problems
>with the format of the channels.conf file, which I created with the
>`scan' utility from the linuxtv-dvb-1.0.1 package.
>
>I have attached channels.conf and the output of mplayer below.
>Any help would be appreciated.
>
>Ciao
>Andreas
>
>
># cat ~/.mplayer/channels.conf
>ProSieben:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:255:256:898
>KABEL1:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:511:512:899
>NEUN LIVE Television:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:767:768:897
>DSF:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:1023:1024:900
>Home Shopping Europe:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:1279:1280:40
>SAT.1:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:1791:1792:46
>N24:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:2047:2048:47
>TELE 5:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:1535:1536:51
>DPC.TV 3:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:2559:2560:661
>Sonnenklar TV:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:2303:2304:32
>DPC.TV 4:330000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_64:0:0:662
>
>
>
># mplayer -v -v dvb://
>MPlayer dev-CVS-031007-03:42-3.3.1 (C) 2000-2003 MPlayer Team
>
>CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1830 MHz (Family: 6, Stepping: 0)
>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
>
>Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
>Reading config file /home/andreas/.mplayer/config
>Reading /home/andreas/.mplayer/codecs.conf: 61 audio & 157 video codecs
>CommandLine: '-v' '-v' 'dvb://'
>get_path('font/font.desc') -> '/home/andreas/.mplayer/font/font.desc'
>font: Reading section: [info]
>font: Reading section: [files]
>RAW: /home/andreas/.mplayer/font//iso-8859-1-a.raw 4216 x 28, 256 colors
>RAW: /home/andreas/.mplayer/font//iso-8859-1-b.raw 4216 x 28, 256 colors
>font: Reading section: [characters]
>font: Reading section: [files]
>RAW: /home/andreas/.mplayer/font//osd-mplayer-a.raw 536 x 32, 256 colors
>RAW: /home/andreas/.mplayer/font//osd-mplayer-b.raw 536 x 32, 256 colors
>font: Reading section: [characters]
>font: resampling alpha by factor 0.750 (192) DONE!
>font: resampling alpha by factor 0.750 (192) DONE!
>Font /home/andreas/.mplayer/font/font.desc loaded successfully! (206 chars)
>Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
>Using Linux hardware RTC timing (1024Hz).
>get_path('input.conf') -> '/home/andreas/.mplayer/input.conf'
>Parsing input config file /home/andreas/.mplayer/input.conf
>Input config file /home/andreas/.mplayer/input.conf parsed: 52 binds
>Setting up LIRC support...
>mplayer: could not open config file
>mplayer: No such file or directory
>Failed to read LIRC config file ~/.lircrc.
>You will not be able to use your remote control.
>get_path('.conf') -> '/home/andreas/.mplayer/.conf'
>
>[[[init getch2]]]
>
>Playing dvb://
>TUNER TYPE SEEMS TO BE DVB-C
>OPEN_DVB: prog=, card=1, type=3, vid=0, aid=0, file=channels.conf
>get_path('channels.conf') -> '/home/andreas/.mplayer/channels.conf'
>CONFIG_READ FILE: /home/andreas/.mplayer/channels.conf, type: 3
>code taken from dvbstream for mplayer v0.4pre1 - (C) Dave Chapman 2001
>Released under the GPL.
>Latest version available from http://www.linuxstb.org/
>PROG: DPC.TV 4, CARD: 1, VID: 0, AID: 0, TYPE: , FILE: channels.conf
>
>
>DVBIN: no such channel "DPC.TV 4"
>
>Failed to open dvb://
>
>
>*** uninit(0x8)
>
>[[[uninit getch2]]]
>Config poped level=2
>Config poped level=1
>
>*** uninit(0x80)
>vo: x11 uninit called but X11 not inited..
>
>Exiting... (End of file)
>max framesize was 0 bytes
>
>_______________________________________________
>Mplayer-dvb mailing list
>Mplayer-dvb at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-dvb
>
>
>
More information about the MPlayer-dvb
mailing list