[FFmpeg-devel] Specifying MOV_TIMESCALE from a command-line switch

Kaplan, John jkaplan2 at pandora.com
Thu May 21 19:28:54 EEST 2020


>> Has anybody proposed a patch to allow people to set that MOV_TIMESCALE variable from the command line?
>> It seems that would be an easy patch to do and could be used to fix this and numerous other requests for different movie timescales.
>> I looked for discussion on this and didn't find mention in bugs, but found this thread:
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ffmpeg-2Darchive.org_Quicktime-2DSpecify-2Da-2DMovie-2DHeader-2Dtimescale-2Dof-2D24000-2Dtt4683020.html-23none&d=DwIGaQ&c=gFTBenQ7Vj71sUi1A4CkFnmPzqwDo07QsHw-JRepxyw&r=i_WAJaOy8vrtjOFMFjd3LWqJsLBEpPDcwb8xZYhypuo&m=_30m0iw_DJYUOid66LGZjqDwjcq60rEYogk5aDA2We4&s=KPX1Vh0uvrJKlna6CKexnb3eViSgjz3R186djFemY1Q&e= 
>> ..not sure if this has been discussed elsewhere and I missed it.
>> I'd be willing to do the work if the team agrees this is a good idea, or if there is another proposal that would have the same result.

>https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.ffmpeg.org_project_ffmpeg_list_-3Fseries-3D975&d=DwIGaQ&c=gFTBenQ7Vj71sUi1A4CkFnmPzqwDo07QsHw-JRepxyw&r=i_WAJaOy8vrtjOFMFjd3LWqJsLBEpPDcwb8xZYhypuo&m=_30m0iw_DJYUOid66LGZjqDwjcq60rEYogk5aDA2We4&s=IgzDJaL9Apxmn9n9_TQctHb88KfG4Y15ax0oq5m7XPc&e= 

>There is even some code which automatically determines time scale, but it 
>seems to limit it to 10000? Shouldn't we simply set the MOV timescale as 
>the least common multiple of the track timescales?
>Regards,
>Marton

Thanks for the response, Marton.
The LCM of track timescales would work for our purposes, or one of the patches you referenced that Kevin Wheatley proposed.
I'm not sure of the patch process. Is this a current work in progress?
Any way I can help it to get to release?

Thanks,
John



More information about the ffmpeg-devel mailing list