VLC as streaming server - RTP packet hdr has wrong version

About encoding, codec settings, muxers and filter usage
mike miller
New Cone
New Cone
Posts: 7
Joined: 20 Sep 2006 22:19

VLC as streaming server - RTP packet hdr has wrong version

Postby mike miller » 06 Oct 2006 17:46

When running vlc as a streaming media server controlled via the telnet interface, the RTP packets sent out in a multicast have the wrong version number (0x1 instead of 0x2 as spec'd by the RFC). Searching the forums turns up a message from Dec 2004 ("RTP Version in VideoLAN") on this same problem. I have confirmed this in vlc 0.8.4 by capturing the packets with Ethereal.

But when I run vlc as a player (with the GUI), and choose to open the same file and then stream the output to the same multicast address as above, the RTP packets have the correct version number. I've confirmed this by using Ethereal to look at the packets.

Command to start vlc as a server, controlled by telnet:

vlc \
--ttl 1 \
-vvv \
--color \
-I telnet \
--telnet-password videolan \
--miface 192.168.38.25 \
--rtsp-host 192.168.38.25:554

Commands sent over the telnet interface to tell vlc to send a stream:

new ch6 broadcast enabled
setup ch6 input /home/me/testfile.ts
setup ch6 output #standard{mux=ts,access=udp,dst=239.255.42.31:6666,sap,name="ch6"}

control ch6 play

Is there something missing in the stream setup? I copied it from the vlc documentation.

Is this a bug in vlc?

Is this something that's not going to be corrected, since it's been a problem for 20 months?
Thanks,

-=- Mike Miller

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Postby md » 28 Oct 2006 23:12

You are not using RTP. You need to change the command into:

setup ch6 output #standard{mux=ts,access=rtp,dst=239.255.42.31:6666,sap,name="ch6"}

minataur
Blank Cone
Blank Cone
Posts: 19
Joined: 20 Feb 2009 11:53

Re: VLC as streaming server - RTP packet hdr has wrong version

Postby minataur » 23 Apr 2009 07:10

Can we do the same thing for musticasting, instead of broadcasting???

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC as streaming server - RTP packet hdr has wrong version

Postby Rémi Denis-Courmont » 25 Apr 2009 11:38

It is multicasting!
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 24 guests