FFMPEG Reverse Video - Audio and multitrack

Published: 11 June 2019
on channel: Linux Leech
2,934
60

FFMPEG Reverse Video - Audio and multitrack
How to Reverse a video with or without audio and video with multi track audio using FFMPEG.

In this video we go over how to reverse a video independent of the audio so the audio will play normally while the video is reversed. We then move on to reversing the audio as well. Finally we get to working with a video file that contains multiple audio tracks.

Using a complex filtergraph (filter_complex) we reverse the video and one of the audio streams then map the output to a new file that contains the reversed video stream, the reversed second audio stream and the original first audio stream that has not been reversed. Resulting in an output file that has reversed video, the first audio track playing as normal and the second audio track playing in reverse.

The hardware accelerated encoder used (h264_nvenc) in this video requires a current nvidia GPU that supports nvenc and was chosen as it is significantly faster at encoding video compared to libx264. Also ffmpeg needs to be compiled with nvenc support in order to use this encoder.

If your machine does not have this hardware and/or your ffmpeg install is not compiled with support for this hardware you can use any other encoder that you do have to encode your reversed video. This video will show you how to view the encoders that you have available in your ffmpeg install    • FFMPEG Encoder Settings - How to View...  
You could also not explicitly set an encoder, as ffmpeg does have defaults that it will fall back to.

Subscribe: https://www.youtube.com/user/linuxlee...

Blog: http://www.linuxleech.com
Twitter:   / linuxleech  
Facebook:   / linuxleech  


Watch video FFMPEG Reverse Video - Audio and multitrack online without registration, duration hours minute second in high quality. This video was added by user Linux Leech 11 June 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,934 once and liked it 60 people.