[PD] Playing Video with Audio

Jim Ruxton cinetron at passport.ca
Thu Oct 8 09:27:14 CEST 2015


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 at revolwear.com 
> <mailto:abonnements at 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 at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>     > UNSUBSCRIBE and account-management ->
>     > http://lists.puredata.info/listinfo/pd-list
>
>
>     _______________________________________________
>     Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>     UNSUBSCRIBE and account-management ->
>     http://lists.puredata.info/listinfo/pd-list
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151008/5d40c523/attachment.html>


More information about the Pd-list mailing list