hzwer / Practical-RIFE

More practical frame interpolation approach.
MIT License
631 stars 69 forks source link

FFMPEG arguments? #65

Open 65MDVK opened 8 months ago

65MDVK commented 8 months ago

I tried to find where to put ffmpeg arguments, such as -qp 0, to get a lossless output, didn't manage it. Trying video interpolation on google colab.

Hikari2w2 commented 5 months ago

Bro i also have the same problem, i want to know how to change output paraments to get a good output, since i hate I'm getting MPEG4 codec with low bitrate

AIManifest commented 5 months ago

For the time being, based on thousands of runs using RIFE, and based on the documentation, you would be better off to enable the --png option for the call python inference_video.py. You can then use FFmpeg to compile the output frames with whatever FFmpeg options you want, but as for the video compilation, Practical-RIFE uses cv2 to write the frames to the video.