Streaming without re-encapsulating

About encoding, codec settings, muxers and filter usage
dbisdorf
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 21:03

Streaming without re-encapsulating

Postby dbisdorf » 13 Oct 2010 21:09

I have several MPEG-TS transport streams that I wish to send out as unicast streams using VLC. The information in the transport stream packet headers (PTS, splicing point, etc.) is important to the receivers at the client end, and so I want to broadcast the stream exactly - byte for byte - as it was originally prepared.

However, it appears that whenever I stream out my files through VLC, that VLC encapsulates the video/audio in a new transport stream, and the new transport stream does not contain my original TS packet header information. Transmitting the stream using the "Raw" encapsulation method does not do what I hoped; it does not transmit the original stream, instead, it appears to transmit the elementary streams without any encapsulation at all.

Is there any way to persuade VLC to transmit my original TS files, verbatim, byte for byte?

Thanks,
Don

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Streaming without re-encapsulating

Postby Jean-Baptiste Kempf » 15 Oct 2010 00:42

What is your transport input? What is your transport output?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: Streaming without re-encapsulating

Postby Rémi Denis-Courmont » 16 Oct 2010 10:09

Currently, this is not possible with VLC. Raw streams can only be saved to file, not restreamed.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

dbisdorf
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 21:03

Re: Streaming without re-encapsulating

Postby dbisdorf » 19 Oct 2010 16:27

My transport input and output are both UDP unicast streams, encapsulated as MPEG transport streams, if I'm understanding the question correctly.

If VLC can't send a stream without manipulating it, then I'll have to find a different solution. Thanks for the replies.

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

Re: Streaming without re-encapsulating

Postby Rémi Denis-Courmont » 19 Oct 2010 19:45

Using VLC for UDP-UDP streaming would be silly. The most trivial forwarding application can do that. Arguably, you should simply do it with the operating system NAT tables.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

dbisdorf
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 21:03

Re: Streaming without re-encapsulating

Postby dbisdorf » 20 Oct 2010 14:14

Sorry about that, I mis-spoke: my transport input is a TS file on my local drive; the output is a UDP unicast stream to a remote system. Agreed that using VLC just to do UDP forwarding would be overkill.

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

Re: Streaming without re-encapsulating

Postby Rémi Denis-Courmont » 20 Oct 2010 19:12

VLC can't do that.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

yma
New Cone
New Cone
Posts: 1
Joined: 02 Dec 2010 19:40

Re: Streaming without re-encapsulating

Postby yma » 02 Dec 2010 19:42

This feature was previously available under the --ts-out command:

vlc <file-name> --ts-out=<ip:port>

Has this functionality been completely deprecated?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests