[gstreamer-bugs] [Bug 525922] The recording pipeline stop is so slow
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Jun 27 19:32:01 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=525922
GStreamer | gstreamer (core) | Ver: 0.10.17
Wang Diancheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Comment #1 from Wang Diancheng 2008-06-28 02:31 UTC -------
sorry, I use a videorate element in pipeline, It is OK now. following is
current pipeline, but I patched videorate make it support image/jpeg, maybe
someone need it, I also attach it here.
pipeline:
gst-launch v4l2src queue-size=2 !
image/jpeg,width=640,height=480 ! tee name=vsrc vsrc. ! queue
! jpegdec ! ffmpegcolorspace ! timeoverlay ! gconfvideosink
vsrc. ! videorate ! queue ! muxer. avimux name=muxer ! filesink
location=x.avi alsasrc !
'audio/x-raw-int,rate=8000,channels=1,width=8,signed=false' !
audiorate ! queue ! muxer.
videorate patch:
--- gst-plugins-base-0.10.19/gst/videorate/gstvideorate.c 2007-08-10
18:08:05.000000000
+0800
+++ gst-plugins-base-0.10.19.new/gst/videorate/gstvideorate.c 2008-06-12
14:06:40.000000000
+0800
@@ -120,14 +120,14 @@
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
+ GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; image/jpeg")
);
static GstStaticPadTemplate gst_video_rate_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
+ GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; image/jpeg")
);
static void gst_video_rate_swap_prev (GstVideoRate * videorate,
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=525922.
More information about the Gstreamer-bugs
mailing list