SimpleMobileTools / Simple-Gallery

A premium app for managing and editing your photos, videos, GIFs without ads
https://www.simplemobiletools.com
GNU General Public License v3.0
3.6k stars 757 forks source link

Editing WEBM videos causes output to have incorrect (lower) framerate #3047

Open b02860de585071a2 opened 10 months ago

b02860de585071a2 commented 10 months ago

Android 14, app version 6.28.1 (396) from GitHub releases.


Information:

When trimming a WEBM video (typically VP8/VP9 codec) that is >30fps, the resulting output file will be reduced to 30fps.

This only occurs when the source file is WEBM, regardless of output format.


To reproduce:


Assuming the app uses ffmpeg, this can be mitigated by adding the following to the command line arguments:

-filter:v -fps=source_fps

This filter forces source framerate to be taken into account, which for some reason is not the default behavior only for .webm. There are other solutions available as well.

inson1 commented 9 months ago

@b02860de585071a2 SMT apps were sold to ad company. Fork is here https://github.com/FossifyOrg