Page 1 of 1
Can a single player open multiple streams simultaneously?
Posted: 11 May 2009 20:48
by TheNoodler
If I have a single VLC player instance running, can it source audio and video from two seperate files, and maintain syncronicity? For example let's say I have audio.asf and video.asf as two seperate files can I open both in VLC and have them play back in sync? Is there anyway to do this by connecting to a URL instead of opening the files directly?
Thanks.
Re: Can a single player open multiple streams simultaneously?
Posted: 11 May 2009 20:55
by RĂ©mi Denis-Courmont
If the timestamps are coherent, you can merge files with --input-slave
Re: Can a single player open multiple streams simultaneously?
Posted: 11 May 2009 22:37
by TheNoodler
Thank you for the information. Let's say it's a hypothetical system where each elementary stream is stored in a single container file. Initially there are individual files on the server for the most common audio and video parameters. As time goes on new elementary streams containing alternate parameters are added to the file server. This elieviates the need to re-encode/re-mux all the files each time support for a new format is added. On the player side it connects to the server and gets the audio and video files which most closely match the user's preference. I was just curious if VLC player or any other player for that matter would be able to acommodate the audio and video streams comming from different sources.
Re: Can a single player open multiple streams simultaneously?
Posted: 11 May 2009 23:13
by TheNoodler
Ok, I see how it works now using the 2nd input as a slave to the first. That is doing essentially what I wanted. Thank you.