timeout not working

Gilson Oguime oguime at gmail.com
Sat Feb 22 08:37:56 PST 2014


I can encode the video stream from a foscam ip camera using this script on
a Raspberry Pi:

/usr/bin/gst-launch-1.0 souphttpsrc
location="http://x.x.x.x:y/videostream.asf\?user=xxxxx\&pwd=xxxxx"
! decodebin ! videoconvert ! omxh264enc ! "video/x-h264,profile=high" !
h264parse ! matroskamux ! filesink location=/home/pi/camera/video.mkv 2>
/dev/null 1> /dev/null

I would like to limit the recording time to 10 seconds, but adding
timeout=10 has no effect.

Am I missing anything? Is there any other way of stopping encoding after a
defined interval?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140222/498ae239/attachment.html>


More information about the gstreamer-devel mailing list