-
Reading Source File Frame Rate
Hi,
I’m not a programmer, but I am assisting my programmers.
When using FFmpeg to convert files uploaded to my server to various formats, I’d like to keep the original frame rate rather than imposing one.
Without going into too much detail, there’s a good reason I upload various formats, and require ffmpeg to convert them to other formats “on the fly”.
Sometimes I may choose to convert a 12fps video, at other times a 29.97fps video.
As you can imagine, having all videos converted by ffmpeg playback at any one size fits all speed is not desirable for several reasons.
Is there a line of code that would allow ffmpeg to read the original frame rate from the source file and then use that when converting to various formats?
Any help would be much appreciated!