Tuning problem streaming DVB-S

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
Jampy

Tuning problem streaming DVB-S

Postby Jampy » 08 Aug 2005 14:22

Hello.

I've put a Hauppauge DVB-S card in a server machine and want to give all LAN users (max. 3) possibility to use the card to watch TV or (most of the time) listen to radio.

I know VLS is depreciated but I haven't yet figured how to use VLC (without GUI) to stream DVB.

So I'm using VLS and the only problem seems to be that it can't tune to the desired program (this seems to be a known problem reading some web discussions). I'd like VLS to skip that pass and immediately start streaming as I can tune with the szap program.

I'm getting the following error message:

vls -vvv -d udp:10.1.1.231 dvb:ZDF
...
2005-08-08 14:20:52 [INFO/Vls] Input 'input1' sucessfully initialised
2005-08-08 14:20:52 [INFO/Vls] Executing command1 : 'start ZDF output1 input1 '
Tuning failed
Time out !
2005-08-08 14:21:09 [ERROR/input1] Read error for program "Input DVB input1"


I tried comment out the source line
//dvb->set_front();
but that didn't help.

The card works, I can copy /dev/dvb/adapter0/dvr0 to a file and then play it with mplayer.

Linux kernel 2.4.31

jix
Blank Cone
Blank Cone
Posts: 23
Joined: 13 Oct 2004 14:22
Location: Ecole Centrale Paris, France

Postby jix » 09 Aug 2005 01:56

With this command line: vls -vvv -d udp:10.1.1.231 dvb:ZDF
vls searchs the program ZDF in the .dvbrc file as it is described here: http://www.videolan.org/doc/streaming-h ... l#id300248

To create a dvbrc, you can use the satscan script in the libdvb-0.2.2

You can also use VLC and the command line is in the doc at the same url

jampy

Postby jampy » 09 Aug 2005 10:15

Thanks jix,

I already did that. But the problem is that vls isn't able to tune the "frontend" even if the frequency etc. ist correct. It seems a problem with the frontend access.

However, I've managed to start streaming with VLC. It was a bit difficult to find out what number the "program" actually is (with trial&error I found out that it is the SID field in the .dvbrc file expressed as a decimal number and voltage is 13/18 depending on the polarization V/H resp.).

The documentation on DVB is a bit poor (and the german translation is outdated).

Now I have to find out how to create a "playlist" for most of the channels so I can change program via the HTTP interface. Unfortunately my VLC doesn't like the old DVB program definiton like

dvb::dvb-frequency=12480000:dvb-srate=27500000:dvb-voltage=13:program=898

It says:
[00000206] main interface error: option test2 does not exist
[00000278] main private warning: no more input stream for this mux
[00000273] main input warning: destroying sout
[00000287] main private warning: missing value for option mux
[00000291] main demuxer warning: no access_demux module matched "dvb"
[00000292] dvb access error: CAMInit: no compatible CAM module

Jampy

Postby Jampy » 09 Aug 2005 10:16

Oh I'm sorry, I meant:

dvb:frequency=11766000:fec=9:polarization=V:srate=27500000:program=3401

jix
Blank Cone
Blank Cone
Posts: 23
Joined: 13 Oct 2004 14:22
Location: Ecole Centrale Paris, France

Postby jix » 09 Aug 2005 13:32

To make your playlist, you can use the 'duplicate' sout

An exemple to stream two programs

% vlc -vvv --color --ttl 12 --ts-es-id-pid --programs 8508,8505 dvb: --dvb-adapter=0 --dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 --dvb-fec=3 --dvb-budget-mode --sout '#duplicate{dst=std{access=udp,mux=ts,url=address:3001},select="program=8508",dst=std{access=udp,mux=ts,url=address:3002},select="program=8505"}'

The streaming howto in english and french are up to date.

Jampy

Postby Jampy » 09 Aug 2005 14:41

Doesn't this create two streams?

I want to stream one program to all LAN users (multicast). The program should be set via the HTTP interface, but still all receive the same stream.

I've managed to build a M3U playlist for VLC.

Since this isn't VLS related anymore, I created a new topic in General VLC


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 4 guests