[Bug 708545] New: New plugin that uses openCv calcOpticalFlowFarneback to make smooth slowmotion.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Sep 21 10:39:53 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=708545
  GStreamer | gst-plugins-bad | git

           Summary: New plugin that uses openCv calcOpticalFlowFarneback
                    to make smooth slowmotion.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mathieu.duponchelle at epitech.eu
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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 :
https://github.com/MathieuDuponchelle/gst-plugins-base/commits/slowmotion

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:

https://bugzilla.gnome.org/show_bug.cgi?id=699077#c25

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 :)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list