Is it possible to interpolate between 2 input still-frames (000.jpg, 001.jpg) and slowmo=16.0 using the ffmpeg TVAI command line?
I could put them into an uncompressed video, but would prefer not to.
Is it possible to interpolate between 2 input still-frames (000.jpg, 001.jpg) and slowmo=16.0 using the ffmpeg TVAI command line?
I could put them into an uncompressed video, but would prefer not to.
The app and models are not designed to work with only two images, the models need more frames to run a process.
If you really really really want to get the interpolated images from between just to images, you can copy image 1 like 4 times and same with image 2. So the images would be in this pattern: AAAAABBBBB. Name them 000000.jpg to 000009.jpg.
Open the first image in TVAI (000000.jpg).
Set the interpolation model to this:
Set the output to images. I’m guessing jpg.
See what comes out. It will make tones of duplicate images, but in the middle will be the ones you want.
If it fails, just add more duplicate images to the ends of the image sequence.
The command for this is more simple. Once you have the image sequence setup: ffmpeg.exe -hide_banner -stats_period 2.0 -nostdin -start_number 0 -i "E:/Dump/test/%06d.jpg" -filter_complex tvai_fi=model=apo-8:slowmo=16:rdt=-0.000001:device=0:vram=1:instances=1 -pix_fmt rgb24 -start_number 0 "E:\Dump/test_apo8/%06d.jpg"
Just change the in path to the folder with the images, and the out path to an empty folder.
I’m just thinking of doing this once to two images here. Doing the whole process with a script is not out of the question.
that is a good idea, thanks a lot!