Ffmpeg-python: read input at native frame rate (-re)

Created on 13 Mar 2019  路  2Comments  路  Source: kkroening/ffmpeg-python

Is there a way to specify the -re option (read input at native frame rate) that usually comes before the input option?

answered question

Most helpful comment

@creimers Have seen authors answer somewhere in issues earlier, it works for me:
cmd = ffmpeg.input(input_name, re=None).output(final_name, c='copy')
print(cmd.compile())

All 2 comments

@creimers Have seen authors answer somewhere in issues earlier, it works for me:
cmd = ffmpeg.input(input_name, re=None).output(final_name, c='copy')
print(cmd.compile())

Relates to #218 (marked as enhancement to update docs and support =True as well).

Was this page helpful?
0 / 5 - 0 ratings