gstreamer

Videomixer fails on sources rather than Videotestsrc

ε祈祈猫儿з 提交于 2019-12-21 19:49:48
问题 I want to play two different local video files at the same time in a single window. The code below without demux and decoder works fine. static void play_video(){ GMainLoop *loop; GstElement *pipeline,*videomixer; GstElement *src,*sink,*filter,*csp,*videobox; GstElement *src1,*filter1,*csp1,*videobox1; GstElement *srcb,*filterb,*cspb,*videoboxb; GstCaps *filtercaps,*filtercaps1,*filtercapsb; GstPad *pad,*pad1; const char pattern = "snow"; loop = g_main_loop_new(NULL, FALSE); pipeline = gst

In gstreamer adding and removing queue of a tee dynamically

▼魔方 西西 提交于 2019-12-21 19:48:39
问题 I have written gstreamer code for camera live-streaming and recording at the same time. My pipeline looks like that: / [ queue1 | videosink ] v4l2src | tee \ [ queue2 | filesink ] Currently both live streaming and file recording is working together. Now I need to start the pipeline with only one queue i.e. queue1 (live streaming queue), After a while I need to add the recording queue and remove it dynamically too. My working code are given below : pipeline = gst_pipeline_new ("rv_camera"); /

Using Gstreamer or ffmpeg to create rtsp client on Android

我怕爱的太早我们不能终老 提交于 2019-12-21 17:14:05
问题 I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <500 ms. Now I am planning to use Gstreamer or ffmpeg to create an android rtsp client. I just have few doubts Will the Gstreamer or ffmpeg client be able to provide latency <500ms. I read there are some parameters which I can tweak to get very low latency. Just want to confirm. I have very good

Using Gstreamer or ffmpeg to create rtsp client on Android

别说谁变了你拦得住时间么 提交于 2019-12-21 17:09:22
问题 I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <500 ms. Now I am planning to use Gstreamer or ffmpeg to create an android rtsp client. I just have few doubts Will the Gstreamer or ffmpeg client be able to provide latency <500ms. I read there are some parameters which I can tweak to get very low latency. Just want to confirm. I have very good

How to fix gstreamer error in Qt5?

半城伤御伤魂 提交于 2019-12-21 15:44:30
问题 I want to create a small mp3 player as a toy project so started with Qt for the GUI. When I try to play an mp3 file i get this error. Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true'." Error: "Your GStreamer installation is missing a plug-in." I installed gstreamer and it's plugins after googling around sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

GStreamer plugin search path?

故事扮演 提交于 2019-12-21 07:09:03
问题 Can I somehow tell GStreamer to look for plugins in a specified directory? 回答1: Use the GST_PLUGIN_PATH environment variable to point at the directory you want, or programatically just call: GstRegistry *registry; registry = gst_registry_get_default(); gst_registry_add_path(registry, directory); 回答2: You can no longer do this programmatically in gstreamer 1.0. In the above answer, gst_registry_get_default() was replaced with gst_registry_get() and gst_registry_add_path() was removed. You can

Scheduled pause in Gnonlin

房东的猫 提交于 2019-12-21 06:48:59
问题 I am using Gnonlin to play two videos. At one moment, I would like to pause one video and run another. However, I don't want to manually pause the pipeline, as the other video also will be paused. For example: self.video[0].set_property("location", LOCATION_VIDEO1) self.video[0].set_property("start", 0 * gst.SECOND) self.video[0].set_property("duration", 5 * gst.SECOND) self.video[0].set_property("media-start", 0 * gst.SECOND) self.video[0].set_property("media-duration", 5 * gst.SECOND) This

IP camera capture

走远了吗. 提交于 2019-12-21 06:35:31
问题 I am trying to capture the stream of two IP cameras directly connected to a mini PCIe dual gigabit expansion card in a nVidia Jetson TK1. I achieved to capture the stream of both cameras using gstreamer with the next command: gst-launch-0.10 rtspsrc location=rtsp://admin:123456@192.168.0.123:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink rtspsrc location=rtsp://admin:123456@192.168.2.254:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink It displays

IP camera capture

穿精又带淫゛_ 提交于 2019-12-21 06:35:11
问题 I am trying to capture the stream of two IP cameras directly connected to a mini PCIe dual gigabit expansion card in a nVidia Jetson TK1. I achieved to capture the stream of both cameras using gstreamer with the next command: gst-launch-0.10 rtspsrc location=rtsp://admin:123456@192.168.0.123:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink rtspsrc location=rtsp://admin:123456@192.168.2.254:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink It displays

IP camera capture

我与影子孤独终老i 提交于 2019-12-21 06:34:41
问题 I am trying to capture the stream of two IP cameras directly connected to a mini PCIe dual gigabit expansion card in a nVidia Jetson TK1. I achieved to capture the stream of both cameras using gstreamer with the next command: gst-launch-0.10 rtspsrc location=rtsp://admin:123456@192.168.0.123:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink rtspsrc location=rtsp://admin:123456@192.168.2.254:554/mpeg4cif latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink It displays