Support for jit.qt.movie messages "start" and "stop"
Hi All,
Trying to bring some existing patches into the Max 7 world. I have a music player patch using jit.qt.movie, the patch uses message like "start" and "stop" to start playback and stop playback. It uses "time 0" to postion the playback head. None of these seem to work. "time 0" shows a seek notify error message in the console.
Is there something I missed in the transition to Max 7? The support for the rich set of messages I could send to jit.qt.movie is gone?!
Any pointers will be greatly appreciated,
--Aadjan
please post your patch
The same problem (or misunderstanding). For example I don't know how to restart jit.qt.movie.
and the same reply. i'm not sure what you guys are seeing, but start and stop should certainly work fine in jit.(qt).movie
Hi Rob, thanks for your quick reply. It seems I have no issues with jit.[qt.movie|movie] when using the qt engine. The avf engine behaves differently though, check the attached patch.
I haven't been able to reproduce the seeknotify message in the console in this isolated test - Alas my original project is too large to share on the forums. Let me know if you need it I can share through the dropbox.
Thanks,
--Aadjan
hi TZ. this is simply an issue with the object message menu (and the reference page, basically the same issue). it has to do with the new video-engine loader, and will be fixed for the next update. however those messages still work fine.
the missing messages are:
clear
start
stop
jump
jump_true
frame
frame_true
hi Aadjan. your patch does not give me enough to go on to determine your issue. however there is a different behavior in seeking (time, frame, jump) with the avf engine.
The avf backed jit.movie is asynchronous when seeking (e.g. setting the time attribute or using the frame or jump messages). This means that the frame output immediately following a seek request is not guaranteed to be correct. Users requiring exact frame timing must use the seeknotify message output from the object's dump outlet to trigger frame output.
a basic example of using seeknotify:
Thank you )
My thanks as well. In hindsight I understand the patch is not clear enough. Let me try again: once you load an audio file into both the jit.movie objects. The messages start and stop work for the qt engine version but not for the avf engine version.
Your last post explains why that is, so I can now work around that.
Kind regards,
--Aadjan
hi aadjan. actually no, my post doesn't explain the behavior your are seeing. the missing piece of information was that you are loading audio files, not movie files.
i will take a look at why this isn't behaving as expected.
thanks for the report.