3 ms·
Right, but transport stream should only be used in broadcasting. It shouldn't be used on discs (ahem Blu-ray) or other storage and it shouldn't be used over the
by wmf 3y ago
Right, but transport stream should only be used in broadcasting. It shouldn't be used on discs (ahem Blu-ray) or other storage and it shouldn't be used over the Internet. Program stream is usually a better choice.
- lxgr 3y agoWhat about bridging broadcast media to IP or vice versa? One of the advantages of MPEG-TS is that it’s dead simple to map it to RTP or even plain UDP and back even with packet loss and data errors.
- wmf 3y agoExtract the PS from the TS and send that over the network.
- lxgr 3y agoHow, in a way that preserves all the mentioned properties of MPEG-TS? There's RTP, but I would definitely not call translating MPEG-TS to RTP and back "dead simple" (unless you're just encapsulating MPEG-TS via RFC 2250, but then you're still using MPEG-TS).
- akira2501 3y ago"The Transport Stream is a stream definition which is tailored for communicating or storing one or more programs of coded data according to ITU-T Rec. H.262 | ISO/IEC 13818-2 and ISO/IEC 13818-3 and other data in environments in which significant errors may occur. Such errors may be manifested as bit value errors or loss of packets." "The Program Stream is designed for use in relatively error-free environments and is suitable for applications which may involve software processing of system information such as interactive multi-media applications. Program Stream packets may be of variable and relatively great length."
- toast0 3y ago> It shouldn't be used on discs (ahem Blu-ray) or other storage and it shouldn't be used over the Internet. I thought Blu-Ray switched to program stream, but DVD was transport stream (sounds like I've got things backwards though). Transport stream for optical media isn't that insane though, because while you can seek, seeking isn't great, and if you have a failed read, it's probably better to just move on than to retry that sector a bunch of times. Of course, using transport streams allows for smaller buffers and lower BOM, so there's that too.
- eternityforest 3y agoI use it for storage because I can stream a recording, with full seeking, while I'm actively capturing it, or I can stream it over a websocket for a little less latency. Having one thing that works just as well as WebSockets as it does over HLS makes things a lot easier on low performance devices where a format conversion would be a bad thing. MPEG-TS is like a virtual analog RCA jack, it's easy to understand and work with and manipulate as long as you don't have to touch the encoding or decoding stuff, and lets you do lots of odd applications.