FFMPEG Video Filters and 'Frame Rate Override' - v0.12.0 Alpha 134 #956
-
I am using custom FFMPEG video filters that modify the video output frame rate, and testing/reviewing the result via local recording. Doing an actual frame count externally via FFMPEG and some math, the result appears to be what I actually set for 'Framerate Override'. I assume this is due to some sort of limitations in OBS plugins, specifically something like OBS must handle file creation (stream headers/metadata), and is probably what was described by "... quite literally breaking several specifications..." on the release page. Either way, I was still initially confused when VLC (not a great test, I know) reported the file as the original OBS framerate. This is a fantastic option/feature - Please do not remove it if someone gets noisy about it later! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Sorry I do not think is actually working as I had thought. Maybe I misunderstood the intended use of this input option?
I've tried a variety of different escapings and such with no success. I referenced the code around here to get some guidance: As far as running FFMPEG on the command line, splitting parameter KV sets on spaces does not align with my understanding of FFMPEG parameter usage. Here is an example of a filter graph parameter I was trying to use: If this should be doable, but the argument parsing needs a change, I can make a pull request, but I assume I misunderstand how this option can actually be used. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
As explained in the wiki, StreamFX only integrates Encoders. Therefore you can't expect it to do anything that isn't encoding - it's not FFmpeg, just the encoders in FFmpeg.
As explained in the wiki, the default setting will not skip any frames.
As explained in the wiki and the release notes, the behavior is expected.
The use of the "long description" feature in OBS Studio was removed several versions ago, due to there being no easy way to update these in all languages. The wiki is now used for all documentation purposes, as StreamFX is designed and meant for power users.
As you can probably already imagine, StreamFX is not FFmpeg, and does not aim to be FFmpeg. The wiki has an exact description of how to use the
It is not possible to use features that don't exist in StreamFX. Surprisingly, you're not the first one to do this, and I don't understand how this mistake keeps being repeated. StreamFX has never advertised, documented, or instructed people to do this, yet it is still something people do. :( |
Beta Was this translation helpful? Give feedback.
As explained in the wiki, StreamFX only integrates Encoders. Therefore you can't expect it to do anything that isn't encoding - it's not FFmpeg, just the encoders in FFmpeg.
As explained in the wiki, the default setting will not skip any frames.