dthpham / sminterpolate

Make motion interpolated and fluid slow motion videos from the command line.
MIT License
1.38k stars 91 forks source link

realtime interpolation #57

Open JIEgOKOJI opened 7 years ago

JIEgOKOJI commented 7 years ago

it's possible to realtime interpolation from dshow capture device like Avermedia live gamer hd ? Tried with ffmpeg,but seem's it too slow

databoose commented 6 years ago

i don't believe so, at least not with this program, it is possible to do realtime interpolation however you might need a very very good graphics card

JIEgOKOJI commented 6 years ago

But modern TV's can do it in real time

alset333 commented 6 years ago

Butterflow doesn't function quite the same, because it's not intended to. While you can enable a preview, its main function is to render to a file, not display the video.

On a TV, there is usually a proprietary hardware/software implementation specific to that brand. While it should be possible to do the same on a powerful computer, finding the software may be difficult. Wikipedia has a list of a few, but they might not be what you're looking for.

I notice you mentioned a "gamer"-branded capture device. It's worth noting that interpolation, even on TVs, is very bad for playing games due to the added latency. This wouldn't be a problem for streaming or recording, but you shouldn't use the processed video while playing.

While it's a bit old at this point, I stumbled across a post on Reddit asking some similar questions. Some of the information there might help.

I'll admit I've wondered some of this myself, but with no real reason for me to do it, I gave up pretty quickly. Better luck to you!

alset333 commented 6 years ago

It's worth noting, any TV or video player can also scale (though typically not interpolate) 720p to fit their screen in realtime, usually assisted by the GPU. Yet converting a file would almost always require rendering with the CPU.

Sometimes just because hardware is capable does not mean software has been written. You're looking at a difference akin to VLC vs HandBrake.