Motama GmbH

Forum for users and developers of NMM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

play 3 media simultaneously

 
Post new topic   Reply to topic     Forum Index -> Clic
View previous topic :: View next topic  
Author Message
emanuele



Joined: 01 Oct 2009
Posts: 11

PostPosted: Thu Jan 14, 2010 8:10 pm    Post subject: play 3 media simultaneously Reply with quote

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
View user's profile Send private message
mlohse
NMM Team


Joined: 12 Apr 2007
Posts: 122

PostPosted: Fri Jan 15, 2010 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Clic All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
Editorial | Impressum  © Copyright Motama GmbH