gstreamer

Unable to open gstreamer pipeline using opencv VideoCapture on Jetson TK1

蹲街弑〆低调 提交于 2019-12-08 07:16:46
问题 I wrote a program that reads frames from a gstreamer pipeline, processes them with opencv libraries and then writes back to the gstreamer pipeline. Code snippet: cv::VideoCapture cap("v4l2src ! video/x-raw, framerate=30/1, width=640, height=480, format=RGB ! videoconvert ! appsink"); if (!cap.isOpened()) { printf("=ERR= can't create video capture\n"); return -1; } cv::VideoWriter writer; writer.open("appsrc ! videoconvert ! x264enc noise-reduction=10000 tune=zerolatency byte-stream=true

Can't find pocketsphinx gstreamer plugin

試著忘記壹切 提交于 2019-12-08 06:42:29
I tried to install pocketsphinx by brew instal cmu-pocketsphinx and make install (followed instructions here: http://cmusphinx.sourceforge.net/wiki/gstreamer ) the pocketsphinx_continuous works properly, but I can't find a executable pocketsphinx for gst-inspect pocketsphinx could anyone tell me where to find it, please? Many many thanks pocketsphinx install log: http://pastebin.com/48QU0qjg You need to check if plugin pocketsphinx.so is installed in /usr/local/lib/gstreamer-<version> If plugin is there you need to export GST_PLUGIN_PATH environment variable to update gstreamer search path. If

Could not join Multicast group : No such Device

六月ゝ 毕业季﹏ 提交于 2019-12-08 05:47:31
问题 I would like to stream camera data over UDP multicast using gstreamer. For that i used below pipeline, gst-launch-1.0 v4l2src ! videoconvert ! video/x-raw,width=720,height=576,framerate=25/1 ! x264enc ! mpegtsmux ! rtpmp2tpay ! udpsink host=224.1.1.1 port=9090 auto-multicast=true sync=true async=false qos=true But, I am getting below error, could not get/set settings from/on resource : gstmultiudpsink.c(948): gst_multiudpsink_configure_client (): Could not join Multicast group : No such

GStreamer stream audio and video via UDP to be able to playback on VLC

为君一笑 提交于 2019-12-08 05:44:32
问题 I am trying to stream audio and video via Gstreamer via UDP but playback on VLC only returns video without audio. Currently I am using a sample of Big Buck Bunny and have confirmed that it does have audio. I am planning to use Snowmix to feed media to Gstreamer output in the future. Streaming from file source via UDP to playback on VLC I currently perform by: gst-launch-1.0 -v uridecodebin uri=file:///home/me/files/Snowmix-0.5.1/test/big_buck_bunny_720p_H264_AAC_25fps_3400K.MP4 ! queue !

cut parts of a video using gstreamer/Python (gnonlin?)

那年仲夏 提交于 2019-12-08 05:34:29
问题 I have a video file and I'd like to cut out some scenes (either identified by a time position or a frame). As far as I understand that should be possible with gnonlin but so far I wasn't able to find a sample how to that (ideally using Python). I don't want to modify the video/audio parts if possible (but conversion to mp4/webm would be acceptable). Am I correct that gnonlin is the right component in the gstreamer universe to do that? Also I'd be glad for some pointers/recipes how to approach

Combine multiple image files using videomixer [GStreamer]

怎甘沉沦 提交于 2019-12-08 05:02:29
问题 I want to combine multiple image files from the internet with Gstreamer 0.10 using a videomixer. I wrote the command line below : gst-launch videomixer name=mixer ! xvimagesink \ uridecodebin uri=http://www.geocyclab.fr/wp-content/uploads/2011/10/linux_crystalized_tux.jpg ! \ videoscale ! video/x-raw-yuv,width=200,height=200 ! \ ffmpegcolorspace ! \ imagefreeze ! \ videobox border-alpha=0 top=0 left=0 ! mixer. \ uridecodebin uri=http://www.thetechherald.com/media/images/201148/Security

What is the sequence to be followed to play a song using gstreramer?

别来无恙 提交于 2019-12-08 04:23:59
问题 I am building a music player based on gstreamer-0.10. I am able to play the successfully , but I have issues when I change the state of the pipeline. I have posted the code to initialize and start the pipeline below : void start_gstreamer() { gst_init(0,NULL);//call to initialise gstreamer time_val=0;//set to default value volume = 1.0;//set volume to default value player = gst_element_factory_make ("playbin2", "player");//get pipeline equalizer = gst_element_factory_make ("equalizer-10bands"

Can't find pocketsphinx gstreamer plugin

情到浓时终转凉″ 提交于 2019-12-08 03:36:42
问题 I tried to install pocketsphinx by brew instal cmu-pocketsphinx and make install (followed instructions here: http://cmusphinx.sourceforge.net/wiki/gstreamer) the pocketsphinx_continuous works properly, but I can't find a executable pocketsphinx for gst-inspect pocketsphinx could anyone tell me where to find it, please? Many many thanks pocketsphinx install log: http://pastebin.com/48QU0qjg 回答1: You need to check if plugin pocketsphinx.so is installed in /usr/local/lib/gstreamer-<version> If

Sending EoS to filesink while removing branch from tee

末鹿安然 提交于 2019-12-08 03:30:08
问题 I have written a code for v4l2src display and recording at the same time. My pipeline looks like : / [queue] ! [videosink] v4l2src ! tee ! \ [queue] ! [filesink] Currently I am able to display + record together, and also dynamically start and stop the record branch at will (using ctrl+c sigint handler for start/stop). I used @thiagoss' advice in this answer, and parts of this article. Question : The only problem I am facing is sending EoS to filesink branch upon unlinking. To what element do

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