[Live-devel] how to stream multiple files in one stream

Ross Finlayson finlayson at live555.com
Tue Feb 28 16:36:07 PST 2006


>I am trying to stream multiple MPEG2 TS files after each other in the
>same MP2T Stream. For example i have 3 files that simply need to loop
>endlessly, so instead of reopening the same file as in the test*
>programs i open the next file, but this seems to seriously confuse VLC
>(the player). Is there something special i have to do to start a new
>file in the same stream ?

This may be a VLC issue rather than a "LIVE555 Streaming Media" 
issue: Do you get the same problem if you play your files one after 
the other locally in VLC (e.g., from a playlist)?

You may also need to set the "discontinuity_indicator" flag in the 
first PCR of each new file's transport stream.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list