Audio and video ffplay simple filter

video rotation

ffplay -i test.mp4 -vf transpose=1

video reverse

ffplay test.mp4 -vf hflip
ffplay test.mp4 -vf vflip

Video rotation and inversion

ffplay test.mp4 -vf hflip,transpose=1

Audio variable speed playback

ffplay -i test.mp4 -af atempo=2

Video speed playback

ffplay -i test.mp4 -vf setpts=PTS/2

Audio and video simultaneous speed change

ffplay -i test.mp4 -vf setpts=PTS/2 -af atempo=2

I recommend a Lingsheng Academy project class. I personally think the teacher taught it well. I would like to share it with you:
Lingsheng Platinum Learning Card (including infrastructure/high-performance storage/golang cloud native/audio and video/Linux kernel)
https://xxetb.xet .tech/s/VsFMs

Guess you like

Origin blog.csdn.net/qq_40135848/article/details/132589611