04-17-2020, 04:53 PM
My eventual goal is to be able to check in a quicktime or some kind of movie file .mov, .avi, .mp4 etc. Then have only the movie (not the thumbnail or preview image) copied over to a preview folder for the specific sequence and then be able to create a full length movie of all the files in that directory.
So basically:
File gets published to the project into the following directory naming: projects/sobject.sequence_code}/{sobject.code}/{process}
projects/D000/D000_SC001/ANIMATION
Movie file is copied from there to a preview folder, into a sub folder for the sequence code. It also has to be able to overwrite any existing file (in case it’s not a versioned up file).
preview/D000/D000_SC001.mov
Then another script can take all of the .movs in that folder and write a .mov for the entire contents of the that folder using ffmpeg.
preview/D000/D000_SC001.mov
preview/D000/D000_SC002.mov
preview/D000/D000_SC003.mov
Combined file would be: preview/D000/D000_ANIMATION.mov (or something like this)
So far the script you helped me with has done most of this with the exception of the sequence code variable and only writing the .mov without the thumbnails.
I’ve tried to add a line that says to ignore .jpg and .png during the copy process but I’m thinking maybe this has to happen when generating the file list.
And then I think I’d have to capture the sequence code when generating the list as well, and include this in the “file_goes_to” line.
So basically:
File gets published to the project into the following directory naming: projects/sobject.sequence_code}/{sobject.code}/{process}
projects/D000/D000_SC001/ANIMATION
Movie file is copied from there to a preview folder, into a sub folder for the sequence code. It also has to be able to overwrite any existing file (in case it’s not a versioned up file).
preview/D000/D000_SC001.mov
Then another script can take all of the .movs in that folder and write a .mov for the entire contents of the that folder using ffmpeg.
preview/D000/D000_SC001.mov
preview/D000/D000_SC002.mov
preview/D000/D000_SC003.mov
Combined file would be: preview/D000/D000_ANIMATION.mov (or something like this)
So far the script you helped me with has done most of this with the exception of the sequence code variable and only writing the .mov without the thumbnails.
I’ve tried to add a line that says to ignore .jpg and .png during the copy process but I’m thinking maybe this has to happen when generating the file list.
And then I think I’d have to capture the sequence code when generating the list as well, and include this in the “file_goes_to” line.