[gst-devel] Change Framerate of recorded stream

Wes Miller wmiller at sdr.com
Tue Sep 7 21:19:39 CEST 2010


Hey, I finally got this to work!

It did require one change to the original pipeline.  I added the
ffmpegcolorspace element and voila it worked.

Actually, I did have one other change.  My original mkv file was corrupt.  I
played it through a jpegdec ! jpecenc and re-stored it to a new mkv file and
that file what worked for me.

     gst-launch-0.10      gnlfilesource duration=10000000000000 
media-duration=10000000000000   \
                             location="file:///home/wmiller/2redo.mkv" !
ffmpegcolorspace ! autovideosink


I do still have one problem.  How do I change the playback rate?  I tried
adding rate=0.02 and a rate=75, neither changed the playback rate.

(The original goal here is to take a mjpeg video of, say, 1000 frames, taken
at framerate = 25/1 and throw away 4 out of every 5 frames then to fix the
timestamp info in the saved frames so the video plays back at 5x speed, i.e.
the duration is divided by 5.  Result is highspeed, small filesize,
"thumbnail" video)

Thanks,

Wes



-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Change-Framerate-of-recorded-stream-tp2336869p2530270.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list