opencv: new plugin to make smooth slowmotion
Submitted by Mathieu Duponchelle
The plugin uses code from slowmovideo, porting it from QT and its own internal decoding "framework" based on ffmpeg to gstreamer.
the code is available there :
and is up for trial / review, one issue I am aware of and will fix is the fact that it should be in bad/ext/opencv.
example launch line:
gst-launch-1.0 -e uridecodebin uri=file:///any/file ! videoconvert ! videorate rate=0.1 ! video/x-raw, format=RGB ! slowmo ! videoconvert ! theoraenc ! oggmux ! filesink location=somewhere.ogv
The videoconversion is necessary, as the code will only accept either RGB or BGR for now.
The videorate is also necessary, with a patch from that comment:
Please do the review here, as github throws away commit comments when pushing non fast forward.
There's plenty of room for optimization and cleanup, contributions are more than welcome :)