A post download script which reads a video file and then adjusts the frameEnd accordingly #860
JamesBotterill
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A small postdownload module that will review metadata a video file and adjust the frameEnd point of the job.template accordingly.
Proposed inputs:
{
file : 'video.mp4', // the name of the file that needs to be analysed
framerate : 30 //This is the framerate of the composition,
padding : 120 //this is padding based on other elements in the project like a intro Default is 0
}
Was thinking of passing it through ffmpeg to get the data.
The one thing I think i'd need is to get the job.workpath exposed, or is this available to modules and is undocumented?
Beta Was this translation helpful? Give feedback.
All reactions