opencv视频反转
One of my favorite media utilities is ffmpeg. This command line utility allows us to do some pretty amazing stuff like;
我最喜欢的媒体实用程序之一是ffmpeg。 这个命令行工具使我们可以做一些令人惊奇的事情,例如:
Every once in a while I see a meme or funny video that reverses a video for effect. Since ffmpeg does just about everything I can imagine, I turned to it.
每隔一段时间,我会看到一个模因或有趣的视频,该视频会反转视频以产生效果。 由于ffmpeg可以完成我能想象的一切,所以我转向了它。
To reverse a video, use the following ffmpeg command:
要反转视频,请使用以下ffmpeg命令:
ffmpeg -i my-video.mp4 -vf reverse my-video.mp4
Remember that you can simply change the video format via the output video's file extension, so you could export to anything from a webm to an animated GIF!
请记住,您可以通过输出视频的文件扩展名简单地更改视频格式,以便可以将任何内容从webm导出到GIF动画!
opencv视频反转