<div dir="ltr"><div>Just one thing with that feature, take care not to over the length of you video, mplayer doesn't like that.<br></div>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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-08 9:27 GMT+02:00 Jim Ruxton <span dir="ltr"><<a href="mailto:cinetron@passport.ca" target="_blank">cinetron@passport.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    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.<span class="HOEnZb"><font color="#888888"><br>
    Jim</font></span><div><div class="h5"><br>
    <br>
    <div>On 2015-10-07 02:31 PM, Etienne Landon
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>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.<br>
          </div>
          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.<br>
        </div>
        If you want to see the timecode mplayer needs, launch one as
        udp-master and connect it to pure data through udpreceive.<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-10-07 9:28 GMT+02:00 Max <span dir="ltr"><<a href="mailto:abonnements@revolwear.com" target="_blank">abonnements@revolwear.com</a>></span>:<br>
          <blockquote class="gmail_quote">A while back I've tried to
            document different methods, mostly they are<br>
            suitable for short clips.<br>
            <a href="https://github.com/mxa/AudioVideoPatches" rel="noreferrer" target="_blank">https://github.com/mxa/AudioVideoPatches</a><br>
            If you have something to contribute there, it's welcome.<br>
            <span><br>
              m.<br>
            </span>
            <div>
              <div><br>
                <br>
                On 2015년 10월 07일 16:23, Jim Ruxton wrote:<br>
                > I am currently using the shell object to run
                mplayer to play video<br>
                > files  that have sound  . It works however I don't
                have much control<br>
                > over the video playback. Just wondering what
                methods other people use?<br>
                > Would I need to strip the soundtrack from the video
                and synchronize them<br>
                > to use Gem?<br>
                > Thanks.<br>
                > Jim<br>
                ><br>
                ><br>
                > _______________________________________________<br>
                > <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>
                mailing list<br>
                > UNSUBSCRIBE and account-management -><br>
                > <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
                <br>
                <br>
                _______________________________________________<br>
                <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>
                mailing list<br>
                UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank"></a><a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>