|
Forum for users and developers of NMM
|
| View previous topic :: View next topic |
| Author |
Message |
emanuele
Joined: 01 Oct 2009 Posts: 11
|
Posted: Thu Jan 14, 2010 8:10 pm Post subject: play 3 media simultaneously |
|
|
Good morning
With NMM can play multiple media files simultaneously, keeping in sync?
example
a PC (server 1) with NMM, running serverregistry, clic, and NTP server
Host 1 (with NMM, serrverregistry and NTP client) with file1.mpg
Host 2 (with NMM, serrverregistry and NTP client) with file2.mpg
Host 3 (with NMM, serrverregistry and NTP client) with file3.mpg
File1, File2 and File 3 have the same size, the stretched length, are constant bitrate (same number of frames)
Host 1 must play File1.mpg
Host 2 must play File2.mpg
Host 3 must play File3.mpg
Can I put more "GenericReadNode" in the same file play.gd?
How can I do?
Thank you for tips and advice. _________________ Emanuele Pigozzo |
|
| Back to top |
|
 |
mlohse NMM Team
Joined: 12 Apr 2007 Posts: 122
|
Posted: Fri Jan 15, 2010 6:53 pm Post subject: |
|
|
Yes, playing multiple files synchronously can easily be done with NMM.
However, in your setup, there are a number of issues to consider:
The timestamps of the files file1.mpg, file2.mpg, and file3.mpg need to be "matching". This means they need to start at the same value. And all files need to provide the same framerate.
If this is not the case, there are two options
1) Transcode the files to fulfill the above requirments
2) Implement a new node for changing the timestamps of the incoming stream accordingly (e.g. always start with timestamp 0, etc.)
Regarding your question about clic: No, this is not possible. You will need to implement a simple C++ application (compare the helloworld applications provided),
Have fun, Marco |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|