[Mplayer-dvb] DVB-C and channels.conf
Nico
nsabbi at libero.it
Tue Oct 7 23:11:50 CEST 2003
Andreas Matthias wrote:
>Hello Nico,
>
>Nico wrote:
>
>
>
>>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.
>>
>>
>
>Thanks. Now channels.conf is parsed correctly. Nevertheless streaming
>doesn't work yet. Output of mplayer is attached.
>
>Ciao
>Andreas
>
>ps: The DVB-C card and the driver are definitely working. I have
>no problems with xine and vdr.
>
>
>[andreas mplayer-cvs]# ./mplayer -v -v dvb://
>MPlayer dev-CVS-031007-03:42-3.3.1 (C) 2000-2003 MPlayer Team
>
>
>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: ProSieben, CARD: 1, VID: 0, AID: 0, TYPE: , FILE: channels.conf
>PROGRAM NUMBER 0: name=ProSieben, vid=255, aid=256, freq=330000000, srate=6900000, pol=DVB_SET_CHANNEL: channel 0
>DVB_SET_CHANNEL: new channel name=ProSieben
>DIFFERENT TUNING THAN THE PREVIOUS: -> 0|330000000|2|6900000|0|3
>dvb_tune Freq: 330000000
>TUNE_IT, fd_frontend 9, fd_sec 0
>freq 330000000, srate 0, pol Using DVB card "VES1820 based DVB-C frontend"
>tuning DVB-C to 330000000, srate=0
>
^^^^^^^^^ it's not
taking the right symbol rate
I will look at it tomorrow.
Sorry,
Nico
>polling....
>Getting frontend event
>FE_STATUS: FE_TIMEDOUT
>Not able to lock to the signal on the given frequency
>
More information about the MPlayer-dvb
mailing list