[gst-devel] Change Framerate of recorded stream

Wes Miller wmiller at sdr.com
Mon Aug 30 19:18:34 CEST 2010


I must have something really wrong, guys.

I downloaded and installed all new gstreamer and plugins-good and gnonlin. 
Still no joy.

I recorded an mjpeg stream to a matroska file using a simnple pipe:

gst-launch -e -v souphttpsrc
location="http://10.253.5.90/axis-cgi/mjpg/video.cgi?camera=1"
do-timestamp=true is_live=true \
! multipartdemux ! image/jpeg,width=640,height=480  ! queue2 \
! matroskamux ! filesink location="test.mkv"

Used ctrl-c to end recording.

Then I tried to play test.mkv through your pipeline and I still get no
video.  I do get errors from matroskademux:  

ERROR: from element
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0:
GStreamer encountered a general stream error.
Additional debug info:
matroska-demux.c(5640): gst_matroska_demux_loop ():
/GstPipeline:pipeline0/GnlFileSource:gnlfilesource0/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin20/GstMatroskaDemux:matroskademux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.

Looks like I am stuck finding another way to do this.  I can playback
test.mkv and my other files using a straight pipeline    filesrc !
mat4roskademux ! jpegdec ! ffmpegcolorspace ! autovideosink
but gnl just hates me.  

So, If I want to edit my frames by hand, how do I edit the caps in the
individual buffrs?  

Wes


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




More information about the gstreamer-devel mailing list