gstreamer-1.0

How to play two different videos in two different displays simultaneously using gstreamer

拜拜、爱过 提交于 2020-03-03 06:59:29
问题 I am using Raspberry Pi 4 Model B which has 2 HDMI ports. Gstreamer-1.0 I have two videos saved in memory card. I want to drive two videos to two different HDMI port and play videos in two different Displays simultaneously. I would like to know the Gstreamer pipeline to access the HDMI0 and HDMI1 ports and also play two different videos in different displays simultaneously. 来源: https://stackoverflow.com/questions/57865741/how-to-play-two-different-videos-in-two-different-displays

GStreamer-sharp failed to create pipeline

喜夏-厌秋 提交于 2020-01-25 06:53:15
问题 I try to display RTSP stream using Gstreamer in my WPF application. So I did so far: installed GStreamer into loal folder F:/gstreamer Created new WPF application Added glib-sharp and gstreamer-sharp as dependencies. The code below I use to init the library: Gst.Application.Init(); // (1) mainLoop = new GLib.MainLoop(); mainGLibThread = new System.Threading.Thread(mainLoop.Run); mainGLibThread.Start(); Element uriDecodeBin = ElementFactory.Make("playbin", "uriDecodeBin0"); // (2) Unable to

gst_parse_launch differs output from command line gst_launch

拟墨画扇 提交于 2020-01-06 05:43:07
问题 I have a pipeline like this, which works with gst-launch-1.0 gst-launch-1.0 v4l2src device='/dev/video0' ! 'video/x-raw,format=(string)YUY2,width=(int)640,height=(int)480' ! nvvidconv ! 'video/x-raw(memory:NVMM),format=(string)NV12,width=(int)640,height=(int)480' ! nvvidconv ! 'video/x-raw,format=(string)NV12,width=(int)640,height=(int)480' ! nvvideoconvert ! 'video/x-raw(memory:NVMM),format=(string)NV12,width=(int)640,height=(int)480' ! mux.sink_0 nvstreammux live-source=1 name=mux batch

gstreamer with multiple cameras: how can I split the pipeline based on the camera identifier?

↘锁芯ラ 提交于 2019-12-24 08:59:49
问题 I am trying to build a GStreamer pipeline which interleaves images from multiple cameras into a single data flow which can be passed through a neural network and then split into separate branches for sinking. I am successfully using the appsrc plugin and the Basler Pylon 5 - USB 3.0 API to create the interleaved feed. However, before I go through the work to write the neural network GStreamer element, I want to get the splitting working. Currently, I am thinking of tagging the images with an

gst-launch-1.0 videotestsrc ! autovideosink doesn't work (va errors)

那年仲夏 提交于 2019-12-24 07:16:18
问题 I have ubuntu 16.04. I've tried to install gstreamer by this tutorial: https://gstreamer.freedesktop.org/documentation/installing/on-linux.html but it didn't work for me (can not find packages). So i tried to use this: list=$(apt-cache --names-only search ^gstreamer1.0-* | awk '{ print $1 }' | grep -v gstreamer1.0-hybris) sudo apt-get install $list after installing gstreamer I've tested how it works by: gst-launch-1.0 videotestsrc ! autovideosink and got this log: Setting pipeline to PAUSED .

Gstreamer-1.0: mux raw video in a mp4 container

為{幸葍}努か 提交于 2019-12-13 07:04:42
问题 I have a raw video that I can play through gstreamer: gst-launch-1.0 ... autovideoconvert ! autovideosink I can encode this video: gst-launch-1.0 ... ! autovideoconvert ! x264enc ! h264parse ! mp4mux ! filesink location=a.mp4 I would like now to put this raw video in a mp4 container "lossless", without any compression. How can I do that? 回答1: You answered in your question. Don't do compression gst-launch-1.0 ... ! autovideoconvert ! mp4mux ! filesink location=a.mp4 But you know, without

which client ports are used by rtspsrc if it not specified on the port-range property

霸气de小男生 提交于 2019-12-08 03:20:16
问题 I have a request from the network guy wich RTSP client ports are used by the rtspsrc, we didn't set the port-range property on the rtspsrc element. Can anybody tell me which ports are used the rtspsrc if this property not set? (TCP/UDP). Is there any min max by default or is it the whole range from 1 - 65535. Thank you guys, Br Christoph 回答1: I believe this is just the OS specific, dynamic port range. For example on Linux this would be: cat /proc/sys/net/ipv4/ip_local_port_range 32768 60999 I