Page 1 of 1

[HELP]: vlc multicasting problem

Posted: 26 Jan 2005 11:39
by cwbshaw
Hi....

I am having trouble getting vlc to multicast reliably. My current setup is a 3GHz P4 running Fedora 3. I am using vdr+streamdev to take DVB channels from a Hauppage Nexus-S card and then I am using a command line similar to the following to take a http stream from vdr+streamdev and then re-stream it as a multicast:

vlc http://localhost:3000/PS/14710 --sout '#standard{access=udp,mux=ts,url=239.255.12.42:1234}' --ttl 12

The reason I am using vdr+streamdev instead of letting vlc access the DVB card directly is because I found it to be much more stable this way.....with vlc I kept getting TS discontinuity errors and eventually CRC errors which would just crash or hang vlc.

Most of the time, when vlc starts, about 4-5 multicast packets get sent and then nothing. Every once in a while (maybe once in every 20 attempts), a multicast stream will start and will work fine until I have to restart vlc.....

I don't think it is a problem with Linux.....mp4live multicasts just fine everytime. And I am not sure the problem is related to the version of vlc either. I have tried vlc 0.7.2, 0.8.1 and cvs versions. I have also tried running vdr+streamdev and vlc on separate machines....same thing.

I was wondering if perhaps anyone else has seen this, or perhaps might be able to suggest possible solutions to this problem.

Just so you know, I will probably be posting this on the vlc users mailing list also.

Thanx in advance.

Chris Bradshaw.

Posted: 26 Jan 2005 23:27
by hollo
Hi,

vlc http://localhost:3000/PS/14710 --sout '#standard{access=udp,mux=ts,url=239.255.12.42:1234}' --ttl 12
14710 ??? Do you have such a lot of channels. ???

Try this or any LOWER channel:

Code: Select all

vlc http://localhost:3000/PS/5 -sout '#standard{access=udp,mux=ts,url=239.255.12.42:1234}' --ttl 12
5 = ARD (German TV-1) see excerpt from channels.corf

This runs perfectly !

under Linux/Windows you can view livestreaming via VLC-Client by:
open --- networkstream -- network ---udp/rtp multicast: 239.255.12.42 Port: 1234

I'm working with VLC-0.81(Windows) and VLC-0.82 pre (Debian),
My VDR-Distribution comes from c't - German PC-Magazine
http://www.heise.de/ct/ftp/projekte/vdr3/

Code: Select all

/usr/lib/vdr/channels.conf: RTL:12188:h:S19.2E:27500:163:104:105:0:12003:0:0:0 Sat.1:12480:v:S19.2E:27500:1791:1792:34:0:46:0:0:0 Pro-7:12480:v:S19.2E:27500:255:256;257:32:0:898:0:0:0 RTL2:12188:h:S19.2E:27500:166:128:68:0:12020:0:0:0 ARD:11837:h:S19.2E:27500:101:102:104:0:28106:0:0:0

regards
hollo

Posted: 26 Jan 2005 23:57
by hollo
Hi,

I've just tested 2 other solutions (reducing the picture-size by transcode):

Code: Select all

vlc -vvv http://127.0.0.1:3000/12 --sout '#transcode{vcodec=mp4v,vb=812,acodec=mpga,ab=128,scale=0.25,channels=2}:standard{access=mmsh,mux=asfh,url=:1234}'
in vlc-client: mmsh://192.168.55.160:1234

IP of VLC/VDR-Server=192.168.55.160

Code: Select all

vlc -vvv http://192.168.55.160:3000/PS/5 --sout '#transcode{vcodec=mpgv,acodec=mpga,vb=400,width=320,height=240,deinterlace}:standard{access=http,mux=ts,url=192.168.55.160:1234}' --ttl 2
in vlc-client: http://192.168.55.160:1234

This is a special solution for older and slower computers ;-)
If necessary you have to change vb, width, height.


regards
hollo