leandromoreira / ffmpeg-libav-tutorial

FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡°πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡»πŸ‡³ πŸ‡§πŸ‡·
https://github.com/leandromoreira/ffmpeg-libav-tutorial
BSD 3-Clause "New" or "Revised" License
9.82k stars 941 forks source link

ffmpeg -i <filename> -filter:v fps=fps=30 <filename> #72

Closed niektuytel closed 3 years ago

niektuytel commented 3 years ago

dear,

the given command in the title should create a new file with a proper frame rate, how ever my question is is this also possible with c++, and what i have to use re-muxing ? or more thinking about muxing?

thanks in advance for helping, (would be awesome if you give some sample code, :) )

kind regards,

Niek

leandromoreira commented 3 years ago

Hi there @niektuytel you need to transcode, the third part of this tutorial explains a simple example.

niektuytel commented 3 years ago

thanks, it is working now