AW: combining two gstreamer pipelines

Thornton, Keith keith.thornton at zeiss.com
Mon Apr 11 06:23:12 UTC 2016


Hi add a tee and a queue to the first pipline before your videoscale. Connect your second pipeline to the tee (also with a queue) instead on the source in the second pipeline.

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von xargon
Gesendet: Montag, 11. April 2016 07:46
An: gstreamer-devel at lists.freedesktop.org
Betreff: combining two gstreamer pipelines

I am very new to gstreamer and been playing with it the last few days. I have created 2 gstreamer pipelines. One displays a scaled live video captured from camera on the screen and the other takes the video in its original format and saves it to a file on the disk after encoding it with the H264 format. The two pipelines are as follows:


# Capture and display scaled camera feed
gst-launch-1.0 -v autovideosrc ! videoscale ! video/x-raw,
width=480,height=270 ! xvimagesink -e --gst-debug-level=3 sync=false

# Save the camera feed in its original format to disk
gst-launch-1.0 -v autovideosrc ! omxh264enc ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! qtmux ! filesink
location=test.mp4 -e

These two pipelines work by themselves and I was wondering how i could combine them into one i.e. show the scaled video on the screen AND record the video in its original format to a file?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/combining-two-gstreamer-pipelines-tp4676815.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list