Am Mi., 8. Apr. 2020 um 04:07 Uhr schrieb Chang, Qi <qx...@psu.edu>:

> I want to read a video and encode it with other FPS such as 30 or 60.
>
> First, I want to know if the default decode FPS is 24.
> Second, how to encode in a different FPS.
>
> Right now, I can decode one frame and encode it into a new video with the 
> same FPS.
> When I only set the time base for AVCodecContext of the encode video with 
> {1,30}, something wired happened.

> I wonder what is a good way to encode in other FPS.

All ways have disadvantages, FFmpeg provides filters
that are supposed to simplify the task.

Perhaps you should first test with the command line utility
to find out which strategy you want to use.

Carl Eugen
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
libav-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to