Page 1 of 1

Streaming without re-encapsulating

Posted: 13 Oct 2010 21:09
by dbisdorf
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

Re: Streaming without re-encapsulating

Posted: 15 Oct 2010 00:42
by Jean-Baptiste Kempf
What is your transport input? What is your transport output?

Re: Streaming without re-encapsulating

Posted: 16 Oct 2010 10:09
by Rémi Denis-Courmont
Currently, this is not possible with VLC. Raw streams can only be saved to file, not restreamed.

Re: Streaming without re-encapsulating

Posted: 19 Oct 2010 16:27
by dbisdorf
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.

Re: Streaming without re-encapsulating

Posted: 19 Oct 2010 19:45
by Rémi Denis-Courmont
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.

Re: Streaming without re-encapsulating

Posted: 20 Oct 2010 14:14
by dbisdorf
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.

Re: Streaming without re-encapsulating

Posted: 20 Oct 2010 19:12
by Rémi Denis-Courmont
VLC can't do that.

Re: Streaming without re-encapsulating

Posted: 02 Dec 2010 19:42
by yma
This feature was previously available under the --ts-out command:

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

Has this functionality been completely deprecated?