In this video, Len shows you how to increase the FPS of your video. The example of 15 fps to 60 fps is used here. Below are the links and commands used:
NEW VIDEO: [ Ссылка ]
RIFE: [ Ссылка ]
Conda Video: [ Ссылка ]
Command Prompt Video: [ Ссылка ]
__________________________________________
Commands:
conda create -n RIFEInt python=3.6
conda install pytorch torchvision torchaudio cpuonly -c pytorch
pip install -r requirements.txt
pip install ffmpeg
#15 FPS → 60 FPS
python inference_video.py --exp=2 --video=Surf_15.mp4
#Extract Audio from Original Video
ffmpeg -i VideoWithAudio.mp4 Audio.wav
#Strip Audio from Interpolated Video
ffmpeg -i InterpolatedVideo.mp4 -c copy -an VideoOnly.mp4
#Add Audio to Interpolated Video
ffmpeg -i VideoOnly.mp4 -i Audio.wav FinalVideo.mp4
__________________________________________
VideoWithAudio, InterpolatedVideo and VideoOnly are placeholder names. Please change them as needed.
Ещё видео!