<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div><br></div><div><br></div><div><div>Hi ffmpeg guru,</div><div><br></div><div>I'm writing a media player based on ffmpeg. And I want to play the video with 2x, 4x, 8x speed, how can I do         to implement it programmatically. I set the video stream filter like "setpts=0.5*PTS" in the code, but it didn't seem to work while the audio stream with filter string "atempo=2.0,atempo=2.0" worked well.</div><div><br></div><div>The video filter "setpts=0.5*PTS" cannot complete it by itself or should I have to manually judge and drop frames?</div><div><br></div><div>My player's code is almost the same as ffplay.c.</div><div><br></div><div>Any help is very appreciated. Example code will be better.</div><div><br></div><div></div></div><div><br></div></body></html>