|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Sync with 2 videos and quicktime appelscript Hello, I try to sync with two videos applescript quicktime. Both videos have the same duration, the first plays on the screen 1 the second on the screen 2. With this script, the video runs fine, but there is a slight delay. Do you know how to obtain a perfect synchronization. Film1 set to "/ Volumes / VolumeRaid / encoding / EXPO / DAVIS/MOV/MilesDavisCS1 MILES - copie.mov" Film2 set to "/ Volumes / VolumeRaid / encoding / EXPO / MILES DAVIS/MOV/MilesDavisCS1.mov" tell application "QuickTime Player" open Film1 open Film2 activate present document 1 scale screen display 1 2 present document scale screen display 2 rewind 1 document document rewind 2 stop start end tell Thank you |
#2
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript I replace it with this (change of place of stop) Code: Quote:
|
#3
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript Yes that's exactly it and it seems logical. Thank you Another question, to go a little further, will you know if it's possible to create a command that allows videos to be synchronized to the image and almost throughout the film. Indeed, the current script synchronizes the start but I am afraid that after three hours of film loop is no longer synchronized. The idea would be to define a film as a master, the second as slave. So, how about laying on the master, the slave would also pose .Maybe it is too advanced functions for appelscript? and secondly is it possible to launch the appelscript before the start of the session ? Thank you again |
#4
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript is that the videos are identical? because in this case a video would be much simpler not? |
#5
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript you can add this in your script: set looping of document 1 to yes looping set of document 2 to yes you can put it where you want in your script after the film open 2 However, I do not put after the start (story to avoid a gap - although unlikely) |
#6
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript What you can do is a loop in your script, so that your sync level of the rest of the first startup (who is perhaps not perfectly synchronized as recalled - but the gap should not be seen, especially if Videos are not the same) You remove what I have proposed in my last post and you replace the "start" by Code: Quote:
looping the documents as I had proposed to you automatically create a gap in time: your videos, even if it is ostensibly the same time, are almost certainly slightly different length (except a calibrated exactly the same number of images - and yet I can not say that even then you did not shift over time) |
#7
| |||
| |||
Re: Sync with 2 videos and quicktime appelscript start or stop will do nothing if you do not specify a document or all documents. EX: Code: Quote:
Here is a script that synchronizes two sequences with a gap of less than one tenth of a second, I tested here with less than five hundredths of seconds. Code: Quote:
The master sequence is the film of the variable in the script Film1 So, if the user pauses the master sequence, the script will pause the movie after his next audit, for the same reading If the user (forward or backward) the position of one of two films, the script will synchronize after verification of its next time readers. This script works with an idle, so you must save it as a "Software" and check the option "Stay in the background." Add the application (the script) in the automatic opening at the opening of your session. (Preferences -> Accounts) Edit: The script does only 1% on the CPU here. |
![]() |
|
Tags: appelscript, quicktime, sync, videos |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Videos taken from iphone 4s camera will not play in Quicktime | Hache hi | Windows Software | 4 | 13-07-2013 11:28 AM |
How to merge videos in Quicktime | Jacques25 | Windows Software | 5 | 08-03-2010 01:54 PM |
Unable to play flv videos with Quicktime Pro | Abrianna | Windows Software | 5 | 19-02-2010 06:19 PM |
Quicktime player can't stream videos | Xola | Windows Software | 4 | 16-02-2010 06:00 PM |
importing quicktime videos to movie maker? | moxiee | Windows XP Support | 1 | 28-01-2008 03:13 AM |