Is there a way to pause a video file being played back through GEM? (OS X)
I'm currently using a Playstation controller to trigger video playback, which I am stopping/starting by routing a signal to a toggle controlling the "auto $1" playback message. (This is all the same as in the GEM help files.) But doing this causes the video to go back to the beginning each time, rather than pause it.
Thanks, Jonathan
Hi,
pix_movie and pix_film have a right inlet to play frames manually. So a counter and a metro at 25fps could do the job by simply pausing the counter. You need no auto 1 message then. Not sure if turning the gemhead off with a toggle will pause playback as well, or just disable rendering, but give it a try (if you want a black screen instead of a still movie frame).
regrds
P8r
Jonathan Goodwin wrote:
Is there a way to pause a video file being played back through GEM? (OS X)
I'm currently using a Playstation controller to trigger video playback, which I am stopping/starting by routing a signal to a toggle controlling the "auto $1" playback message. (This is all the same as in the GEM help files.) But doing this causes the video to go back to the beginning each time, rather than pause it.
Thanks, Jonathan
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Peter Plessas wrote:
Hi,
pix_movie and pix_film have a right inlet to play frames manually. So a counter and a metro at 25fps could do the job by simply pausing the
even better than e [metro] would be to derive the frame-clock from the gem-objects itself. like in
[gemhead] | [t a b] | +--->[counter] | [pix_film] |
Not sure if turning the gemhead off with a toggle will pause playback as well, or just disable rendering, but give it a try (if you want a black screen instead of a still movie frame).
i think on os-x thils will just disable rendering.
additionally i think that playback with the [counter] will not perform as good as with "auto" (on osX)
mfg.asdr. IOhannes
Jonathan Goodwin wrote:
Is there a way to pause a video file being played back through GEM? (OS X)
I'm currently using a Playstation controller to trigger video playback, which I am stopping/starting by routing a signal to a toggle controlling the "auto $1" playback message. (This is all the same as in the GEM help files.)
ah, and you could try a [speed 0( message to hold the video (and [speed 1( to proceed.
mfg.adsr IOhannes
On 1/23/06, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Jonathan Goodwin wrote:
Is there a way to pause a video file being played back through GEM? (OS X)
I'm currently using a Playstation controller to trigger video playback, which I am stopping/starting by routing a signal to a toggle controlling the "auto $1" playback message. (This is all the same as in the GEM help files.)
ah, and you could try a [speed 0( message to hold the video (and [speed 1( to proceed.
the message is [rate $1(
Should I be sending this [rate 1$( message to the left inlet of the [pix_movie] object?
As when I try this, it causes the video to pause but then I can't make it restart without destroying the Gem window, deleting the two rate 1/0 buttons and then re-starting the patch?
Jonathan
On 23/1/06 16:02, "chris clepper" cgc@humboldtblvd.com wrote:
On 1/23/06, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Jonathan Goodwin wrote:
Is there a way to pause a video file being played back through GEM? (OS X)
I'm currently using a Playstation controller to trigger video playback, which I am stopping/starting by routing a signal to a toggle controlling the "auto $1" playback message. (This is all the same as in the GEM help files.)
ah, and you could try a [speed 0( message to hold the video (and [speed 1( to proceed.
the message is [rate $1(
On 1/23/06, Jonathan Goodwin jonathan@jgoodwin.co.uk wrote:
Should I be sending this [rate 1$( message to the left inlet of the [pix_movie] object?
As when I try this, it causes the video to pause but then I can't make it restart without destroying the Gem window, deleting the two rate 1/0 buttons and then re-starting the patch?
Does pix_film do the same thing? Also, try using 'auto 0' to pause. I have fixed up the pause function since the release of 0.90 - it's a bit tricky with QT handling the playback via 'auto' and 'rate'.
Hi all,
Thanks for all the advice, I can now confirm the following solution appears to be working:
Sending a message of [rate 0( or [rate 1( to the [pix_movie] object will pause or play the video respectively without re-starting the clip
I have also maintained the [auto 1$( message to the [pix_movie] object so that the video will auto start on it's first play, with no initially visible problems.
Jonathan
On 23/1/06 21:45, "chris clepper" cgc@humboldtblvd.com wrote:
On 1/23/06, Jonathan Goodwin jonathan@jgoodwin.co.uk wrote:
Should I be sending this [rate 1$( message to the left inlet of the [pix_movie] object?
As when I try this, it causes the video to pause but then I can't make it restart without destroying the Gem window, deleting the two rate 1/0 buttons and then re-starting the patch?
Does pix_film do the same thing? Also, try using 'auto 0' to pause. I have fixed up the pause function since the release of 0.90 - it's a bit tricky with QT handling the playback via 'auto' and 'rate'.