Improve performance desktop recording
Nicolas Dufresne
nicolas.dufresne at collabora.com
Sun Nov 22 07:28:17 PST 2015
Some hints, videobox is very slow, try not using it if possible, you
can replace with videocrop in some cases. You could replace videomixer
with compositor, which is better designed for live. Use the pad
properties on the compositor to place the incoming video in your
composition.
If you have GL, you could try and do the composition using glvideomixer
and other GL elements.
good luck,
Nicolas
Le dimanche 22 novembre 2015 à 01:50 -0800, iiddnn a écrit :
> How can I improve the performance of a desktop recording with
> integrated
> webcam stream?
> I tried the pipeline below, and it works, but the performance is very
> bad.
> Records only a fraction of the frame from the webcam stream. thx
>
> ####
> gst-launch-1.0 --gst-debug=3 \
> videomixer name=mix \
> ! videoconvert \
> ! queue \
> ! videorate \
> ! vp8enc min_quantizer=10 max_quantizer=10 cpu-used=2
> deadline=1000000
> threads=2 \
> ! queue \
> ! mux. pulsesrc \
> ! queue \
> ! audioconvert \
> ! vorbisenc \
> ! queue \
> ! mux. webmmux name=mux \
> ! filesink location=screencast.webm ximagesrc \
> ! mix. v4l2src do-timestamp=true \
> ! video/x-raw,format=YUY2,width=640, height=480, interlaced=false,
> pixel-aspect-ratio=1/1, framerate=30/1 \
> ! videobox border-alpha=0 top=-20 left=-25 \
> ! mix.
> ####
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble
> .com/Improve-performance-desktop-recording-tp4674594.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151122/e5da6807/attachment.sig>
More information about the gstreamer-devel
mailing list