Multicast from DVB-S..re-muxing channels?

*nix specific usage questions
brushhead
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Sep 2008 13:57
VLC version: 2.0.1
Operating System: Debian
Location: Wales, UK

Multicast from DVB-S..re-muxing channels?

Postby brushhead » 04 Sep 2008 22:41

Hi,
Have I got this right? I am under the impression that I am able to nominate 2+ channels and re-integrae them into a new MUX.

I am at the moment able to see a TV channel on a client box using the command...

vlc -I dummy --programs=6412 dvb: --dvb-frequency=10802750 --dvb-srate=22000000 --dvb-voltage=18 --sout udp:224.0.0.1 --ttl=1

This gives me BBC2 Wales here in the UK from Astra2. Now want to be able to use this to be able to stream BBC1 Wales on the same MUX from the satellite, but dump the rest of the unused channels in the MUX, like BBC1 and BBC2 Scotland and Radio5 Live. This will save a lot of Bandwidth.

I did see another post...

viewtopic.php?f=4&t=40583&p=136993&hili ... st#p136993

This was not very clear though. Can anyone share their command line to do what I need please?

Thanks,
Rob.
Robert Wilson,
Robstech Consulting Ltd,

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Multicast from DVB-S..re-muxing channels?

Postby dionoea » 05 Sep 2008 00:41

This should work:

Code: Select all

vlc -I dummy --programs=6412,<the other pid> dvb: --dvb-frequency=10802750 --dvb-srate=22000000 --dvb-voltage=18 --sout udp:224.0.0.1 --sout-all --ttl=1
This will send both programs on the same udp stream ... which kind of sucks.

You can also split it up. For example:

Code: Select all

vlc -I dummy --programs=6412,<the other pid> dvb: --dvb-frequency=10802750 --dvb-srate=22000000 --dvb-voltage=18 --sout '#duplicate{dst=std{access=udp,mux=ts,dst=224.0.0.1},select="program=6412",dst=std{access=udp,mux=ts,dst=244.0.0.2},select="program=<the other pid>"}' --ttl=1
See the documentation for more information about the duplicate sout chain element:
http://wiki.videolan.org/Documentation: ... ine#select
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

brushhead
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Sep 2008 13:57
VLC version: 2.0.1
Operating System: Debian
Location: Wales, UK

Re: Multicast from DVB-S..re-muxing channels?

Postby brushhead » 05 Sep 2008 10:16

Hi,
I tried the command to stream both programmes and it seems to be streaming a DVD!?

Anyway, I know I can stream programmes 6411 and 6412 independently, and I think I agree with the syntax of your quoted string. Can you give me any more ideas please?

mythuser@MythSatServer:~$ vlc -I dummy --programs=6411, 6412 dvb: --dvb-frequency=10802750 --dvb-srate=22000000 --dvb-voltage=18 --sout '#duplicate{dst=std{access=udp,mux=ts,dst=224.0.0.1, port=1234},select="program=6411",dst=std{access=udp,mux=ts,dst=224.0.0.1, port=1235},select="program=6412"}' --ttl=1
VLC media player 0.8.6a Janus
[00000285] dummy interface: using the dummy interface module...
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't stat 6412
No such file or directory
libdvdnav: vm: faild to open/read the DVD
[00000294] main input error: no suitable access module for `6412'
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 17
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 18
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 260
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 15) for PID 18
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 13) for PID 17
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 5) for PID 17


Thanks a lot.

Rob.
Robert Wilson,
Robstech Consulting Ltd,

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Multicast from DVB-S..re-muxing channels?

Postby dionoea » 05 Sep 2008 12:51

Don't put a space after the comma (in --programs)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

brushhead
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Sep 2008 13:57
VLC version: 2.0.1
Operating System: Debian
Location: Wales, UK

Re: Multicast from DVB-S..re-muxing channels?

Postby brushhead » 05 Sep 2008 14:09

Thank you very much. That has worked. Can I stream TV from the same IP adress, but over different ports using the port=1234 argument?

Thanks,

Rob
Robert Wilson,
Robstech Consulting Ltd,

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Multicast from DVB-S..re-muxing channels?

Postby dionoea » 05 Sep 2008 14:27

You could use the same ip address but it'd be completely inefficient. When a client subscribes to a multicast feed, he gets all the data sent to that address. If a client only wants to see BBC1 then you don't need to send the other channels to him. So sticking to 1 address per feed would be more bandwidth efficient for the client.

Note that you can also add sap announces in the std{} chain element so that clients automatically get the channel listing (use "vlc -S sap" to launch clients, or enable SAP in the interface somewhere). Basically you need to add ",sap,name=BBC1" to your std{} element.

Cheers,
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 2 guests