wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.99k stars 1.51k forks source link

Are there any way to skip decoding some frames instead of decoding all frames when playing a video? #1414

Open vudaoanhtuan opened 2 years ago

vudaoanhtuan commented 2 years ago

I have some videos at 60fps that need to play at 2x or 4x speed on low-end computer, so I want to skip decoding some frames to reduce CPU usage, ie: if I play video at 4x speed, I want to decoding one frame every 4 frames and skip others. I will be grateful for any help you can provide!