gstreamer

Gstreamer Error: pipeline could not be constructed: no element “v4l2src”

不打扰是莪最后的温柔 提交于 2019-12-04 10:57:25
Am using Ubuntu(14.04) and I am getting this error while trying to use gstreamer. gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000 I have checked the gst-inspect-1.0 v4l2src It say element not found "No such element or plugin 'v4l2src'" What should I do ? From where can I get this element or plugin. I have tried resinstalling entire gstreamer. But am unable to do so. the v4l2src plugin belongs to the gstreamer-plugins-good package; so sudo apt-get install gstreamer1.0-plugins-good should help you out Gstreamer

Where to get live video streaming examples ( GStreamer )? [closed]

徘徊边缘 提交于 2019-12-04 08:35:35
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Where to get live video + audio streaming examples ( GStreamer )? So for example streaming from File or Web camera to some web address This page contains a few samples on how to do RTP streaming with GStreamer. It's not clear from your

How to fix gstreamer error in Qt5?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 08:33:49
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 gstreamer1.0-plugins-ugly gstreamer1.0-libav But I still get the error. How do I fix it? I had the same

Gstreamer pipeline to concat two media containers (video and audio streams)

最后都变了- 提交于 2019-12-04 05:13:10
问题 I am a beginner to gstreamer and struggling with a pipeline for Gstreamer 1.0 to concatenate seamlessly two MP4 media containers, both of them with video and audio streams. It seems to me that using "concat" element is the most convenient way, and I am able to concat either video streams: gst-launch-1.0 concat name=c ! autovideosink filesrc location=1.mp4 ! decodebin ! videoconvert ! c. filesrc location=2.mp4 ! decodebin ! videoconvert ! c. or audio streams: gst-launch-1.0 concat name=c !

How do you play or record audio (to .WAV) on Linux in C++?

三世轮回 提交于 2019-12-04 04:53:09
This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 8 years ago . Learn more . Hello, I've been looking for a way to play and record audio on a Linux (preferably Ubuntu) system. I'm currently working on a front-end to a voice recognition toolkit that'll automate a few steps required to adapt a voice model for PocketSphinx and Julius . Suggestions of alternative means of audio input/output are welcome , as well as a fix to the bug shown below . Here is the current code I've used so far to play a .WAV file: void Engine:

What's the meaning of 'blacklisted' on GStreamer?

血红的双手。 提交于 2019-12-04 03:25:31
I'm trying to cross-compile GStreamer. Version is 1.2.3. Host PC's OS is x86 linux and Target system's OS is MIPSEL linux OS. I succeeded to compile gstreamer and plugins for target device. And gst-launch-1.0 could be executed. So I tried to use basic plugin, libgstvideotestsrc. But it didn't work. So I ran ```gst-inspect-1.0' to inspect plugins then I found the result like below. # gst-inspect-1.0 -b Blacklisted files: libgstinterlace.so libgstfbdevsink.so libgstgeometrictransform.so libgstmultifile.so libgstencodebin.so libgstfestival.so libgstlevel.so libgstdvdspu.so libgstauparse.so

GStreamer plugin search path?

时光总嘲笑我的痴心妄想 提交于 2019-12-04 01:31:24
Can I somehow tell GStreamer to look for plugins in a specified directory? 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); KDawg 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 also set GST_PLUGIN_SYSTEM_PATH to the location of the Plugins. Not sure what the difference is between

Opening a GStreamer pipeline from OpenCV with VideoWriter

守給你的承諾、 提交于 2019-12-03 23:07:40
问题 I am capturing and processing video frames with OpenCV, and I would like to write them as a h265 video file. I am struggling to get a proper Gstreamer pipeline to work from OpenCV. Gstreamer works fine by itself. In particular, I am able to run this command, which encodes video very quickly (thanks to GPU acceleration) and saves it to a mkv file: gst-launch-1.0 videotestsrc num-buffers=90 ! 'video/x-raw, format=(string)I420, width=(int)640, height=(int)480' ! omxh265enc ! matroskamux !

Issues linking against gstreamer libraries ubuntu 11.10

给你一囗甜甜゛ 提交于 2019-12-03 16:56:27
So I am starting a project that is going to make use of the gstreamer libraries. I am running the test project from the gstreamer documentation and am getting the following error.This program worked properly on archlinux but is erroring out on ubuntu gcc `pkg-config --cflags --libs gstreamer-0.10` main.c -o player /tmp/cciFhGCe.o: In function `main': main.c:(.text+0x1e): undefined reference to `gst_init' main.c:(.text+0x36): undefined reference to `gst_version' collect2: ld returned 1 exit status make: *** [player] Error 1 My code is the following which I got from the gstreamer documentation

Bizarre Intermittent Error on Video (GStreamer)

隐身守侯 提交于 2019-12-03 16:19:16
I have a project that runs Python 2.7, PyGTK 2.24, and the most recent version of PyGST. I am getting a weird intermittent error in the following code. With the first, longer error, the video will play just fine, and the error will only appear AFTER I close the video window. The second prevents the window from opening at all. import pygtk pygtk.require('2.0') import gtk, pango import pygst pygst.require('0.10') import gst import Trailcrest import os, sys class Video: def __init__(self): def on_message(bus, message): if message.type == gst.MESSAGE_EOS: # End of Stream player.set_state(gst.STATE