Skip to content
Discussion options

You must be logged in to vote

@buggyyang - Glad you found it useful, and I moved this conversation to Discussions as it is not an ffmpegio issue.

I assume the -r in ffmpegio here performs differently to ffmpeg command-line?

Yes and no. Yes, they are different but no because you are invoking the difference.

When calling FFmpeg, the option order matters.

With ffmpeg -r 24 -i test_video.mp4 -, you're forcing the input to have 24 fps, i.e., play back in slow-mo as you described, because -r here is an input stream option.

If you want to change the framerate, you need to use the output -r option: ffmpeg -i test_video.mp4 -r 24 -

In ffmpegio, if you give an ffmpeg option name (minus the leading dash -) as your keyword argu…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by buggyyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #49 on August 07, 2024 11:02.