Can a single player open multiple streams simultaneously?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
TheNoodler
New Cone
New Cone
Posts: 4
Joined: 11 May 2009 20:33

Can a single player open multiple streams simultaneously?

Postby TheNoodler » 11 May 2009 20:48

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.

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

Re: Can a single player open multiple streams simultaneously?

Postby Rémi Denis-Courmont » 11 May 2009 20:55

If the timestamps are coherent, you can merge files with --input-slave
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheNoodler
New Cone
New Cone
Posts: 4
Joined: 11 May 2009 20:33

Re: Can a single player open multiple streams simultaneously?

Postby TheNoodler » 11 May 2009 22:37

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.

TheNoodler
New Cone
New Cone
Posts: 4
Joined: 11 May 2009 20:33

Re: Can a single player open multiple streams simultaneously?

Postby TheNoodler » 11 May 2009 23:13

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 69 guests