Ffmpeg-python: -re before -i

Created on 9 Mar 2020  路  4Comments  路  Source: kkroening/ffmpeg-python

Been through all the documentation and can't quite figure out how to reproduce a command like this:

ffmpeg -re -i inputfile.mp4 -codec copy -f flv rtmp://username:password@[wowza-address]:1935/live/myStream

the -re and flv pieces in particular

Most helpful comment

just set "re=None" for input stream

All 4 comments

just set "re=None" for input stream

so -n and -y options for overwriting work the same? like
stream = ffmpeg.input(image, y=None)
?

so -n and -y options for overwriting work the same? like
stream = ffmpeg.input(image, y=None)
?

no. you can ffmpeg.input('in.mp4').output('out.mp4').run(overwrite_output=true)

no. you can ffmpeg.input('in.mp4').output('out.mp4').run(overwrite_output=true)

This works for -y but not for -n.

Edit: Although n=None does seem to work.

Was this page helpful?
0 / 5 - 0 ratings