Slow down avi file

Thabelo Mmbengeni thabelo at gmail.com
Fri Oct 14 03:29:35 PDT 2011


I have the following pipeline and now I want to play video in slow motion,
while not reducing frame-rate. I was thinking pause(time) and resume after
each frame but i found no element that does that.

 gst-launch -e \
   videomixer name=mix sink_0::zorder=0 sink_0::sync=false\
          sink_1::xpos=0 sink_1::ypos=0 sink_1::alpha=1 sink_1::zorder=3 ! \
    ffmpegcolorspace ! xvimagesink \
videotestsrc pattern="3" ! video/x-raw-yuv, framerate=1/1, width=640,
height=480 ! mix.sink_0 \
filesrc location=video.avi ! avidemux ! queue  ! decodebin ! videoscale ! \
textoverlay text="video.avi" valign=top halign=left shaded-background=true
 font-desc="Sans 15" ! \
textoverlay text="playing now" valign=top halign=right
shaded-background=true  font-desc="Sans 15" ! \
ffmpegcolorspace ! video/x-raw-yuv, width=640, height=480 ! videorate !
video/x-raw-yuv,framerate=15/1 ! mix.sink_1

-- 
Regards

Thabelo Mmbengeni (TMT Services Cape Town HO, Engineering dep)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111014/43858871/attachment.html>


More information about the gstreamer-devel mailing list