I am currently using the shell object to run mplayer to play video
files that have sound . It works however I don't have much control
over the video playback. Just wondering what methods other people use?
Would I need to strip the soundtrack from the video and synchronize them
to use Gem?
Thanks.
Jim
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
You could use the -udp-slave option with mplayer, and send the timecode from puredata. Just used that to synchronise 6 video players and it works pretty well. There was no sound played by mplayer in my case but there's no reason it wouldn't work. The timecode you have to send is just the position in seconds, in bytes. For instance if you make a counter, bang it with a metro at 40ms so you have 25fps counter, then divide by 25 and send through moocow any2bytes and udpsend. If you want to see the timecode mplayer needs, launch one as udp-master and connect it to pure data through udpreceive.
2015-10-07 9:28 GMT+02:00 Max abonnements@revolwear.com:
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks Etienne, I didn't know about this feature of mplayer. I assume this would work across platforms which is great. I'll give it a try. Jim
On 2015-10-07 02:31 PM, Etienne Landon wrote:
You could use the -udp-slave option with mplayer, and send the timecode from puredata. Just used that to synchronise 6 video players and it works pretty well. There was no sound played by mplayer in my case but there's no reason it wouldn't work. The timecode you have to send is just the position in seconds, in bytes. For instance if you make a counter, bang it with a metro at 40ms so you have 25fps counter, then divide by 25 and send through moocow any2bytes and udpsend. If you want to see the timecode mplayer needs, launch one as udp-master and connect it to pure data through udpreceive.
2015-10-07 9:28 GMT+02:00 Max <abonnements@revolwear.com mailto:abonnements@revolwear.com>:
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome. m. On 2015년 10월 07일 16:23, Jim Ruxton wrote: > I am currently using the shell object to run mplayer to play video > files that have sound . It works however I don't have much control > over the video playback. Just wondering what methods other people use? > Would I need to strip the soundtrack from the video and synchronize them > to use Gem? > Thanks. > Jim > > > _______________________________________________ > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Just one thing with that feature, take care not to over the length of you video, mplayer doesn't like that. One nice "feature" is that sending "bye" closes the mplayer instance. The only thing I couldn't get to work is using broadcast messages from pd, to control several instances of mplayer with one udpsend, so I used one udp port for each mplayer instance.
2015-10-08 9:27 GMT+02:00 Jim Ruxton cinetron@passport.ca:
Thanks Etienne, I didn't know about this feature of mplayer. I assume this would work across platforms which is great. I'll give it a try. Jim
On 2015-10-07 02:31 PM, Etienne Landon wrote:
You could use the -udp-slave option with mplayer, and send the timecode from puredata. Just used that to synchronise 6 video players and it works pretty well. There was no sound played by mplayer in my case but there's no reason it wouldn't work. The timecode you have to send is just the position in seconds, in bytes. For instance if you make a counter, bang it with a metro at 40ms so you have 25fps counter, then divide by 25 and send through moocow any2bytes and udpsend. If you want to see the timecode mplayer needs, launch one as udp-master and connect it to pure data through udpreceive.
2015-10-07 9:28 GMT+02:00 Max abonnements@revolwear.com:
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
DBus interface provides a wide range of remote controls for players that are using it, I've attached a patch where tcl is used to execute dbus-send command lines for controlling vlc and get song position to synchronize with Gem frame players.
pat
Le 07/10/2015 09:28, Max a écrit :
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks Patrice . I tried your patch and it work great. Unfortunately in the final version of this project I may have to use OSX. I assume Dbus isn't used on OSX but maybe there is something similar that can be used with VLC? Jim
On 2015-10-08 12:37 AM, patrice colet wrote:
DBus interface provides a wide range of remote controls for players that are using it, I've attached a patch where tcl is used to execute dbus-send command lines for controlling vlc and get song position to synchronize with Gem frame players.
pat
Le 07/10/2015 09:28, Max a écrit :
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks Max. It looks like you have assembled a great collection of AV patches. I will take a look at them and see what I can use and yes if I come up with anything unique I will add it. Jim
On 2015-10-07 03:28 AM, Max wrote:
A while back I've tried to document different methods, mostly they are suitable for short clips. https://github.com/mxa/AudioVideoPatches If you have something to contribute there, it's welcome.
m.
On 2015년 10월 07일 16:23, Jim Ruxton wrote:
I am currently using the shell object to run mplayer to play video files that have sound . It works however I don't have much control over the video playback. Just wondering what methods other people use? Would I need to strip the soundtrack from the video and synchronize them to use Gem? Thanks. Jim
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list