gstreamer

How do I view gstreamer debug output?

纵饮孤独 提交于 2019-12-03 04:22:58
问题 How to view the output of functions like GST_CAT_INFO, GST_DEBUG etc? Do I need to compile gstreamer myself with debug level set or it can be done at application level? 回答1: Debugging messages can be printed in stderr by using the GST_DEBUG environment variable (if gstreamer has been compiled with --enable-gst-debug, which is default). For example: GST_DEBUG=audiotestsrc:5 gst-launch audiotestsrc ! fakesink will log everything (5) from the audiotestsrc element. You can change your program

Why can I stream h264 encoded video from webcam to BOTH display and file, but NOT raw video?

…衆ロ難τιáo~ 提交于 2019-12-03 03:58:23
I want to stream raw video from a Logitech C920 webcam and while both displaying and saving the video to file using GStreamer 1.0. This works if I stream h264 encoded video from the camera (the camera provides hardware encoded h264), but it fails if I stream raw video from the camera. However, if I only display, or only save to file, streaming raw video works. Why does it work with a h264 video stream but not with a raw video stream? h264 encoded video stream from camera to BOTH display and file (WORKS): gst-launch-1.0 -v v4l2src device=/dev/video0 \ ! video/x-h264,width=640,height=480

I want to perform HLS (HTTP Live Streaming) using Gstreamer

我们两清 提交于 2019-12-03 03:41:21
I would like to stream web cam video to http web page. I know how to read from web cam and archive it to file. But how to stream via web. What is the pipeline for that? Use hlssink element from gst-plugins-bad : gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux ! hlssink It will generate playlist and segments files. You need to provide HTTP access to these files, you can use any webserver, nginx or Apache , for example. You can tweak hlssink 's parameters to specify target location, segments count, etc. All options can be listed with: gst-inspect-1.0 hlssink If you need better low

Solutions to stream from a decklink card to browsers (Gstreamer -> TCP MJPEG -> ?)

牧云@^-^@ 提交于 2019-12-03 03:41:00
I need to live stream from a decklink card to a browser. I also must be able to do it with a very poor network link (128kbits/s...), so I need to be able to stream at a very low fps (1 fps is fine) and a very low image quality. At the moment I'm using GStreamer to get the video from the card, to transcode it to MJPEG, and to stream it with TCP. This part is perfectly working, but now I need to tube this tcp stream to an HTTP stream. I can do this with VLC and it works well at a "normal" framerate (15 fps -> 0.5 sec of latency). But if I feed VLC with a 1 fps stream, it introduces a latency of

Video Processing Library for Java

让人想犯罪 __ 提交于 2019-12-03 03:19:57
I want to extract frames from a video and apply some filters on it such as gabor/hough etc. Which Java library would be perfect for handling all kinds of video encodings? I have been looking at GStreamer, JMF, Xuggler etc. but am unable to decide which one would be the best. I'm also looking to edit the frames and make the video with the new frames. If you're looking to do low level operations such as extracting frames and manipulating them, then Xuggler would be the best choice, because the APIs are geared around this low level. It works on ffmpeg so can handle all types of video encodings.

IP camera capture

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 one window per camera, but gives this output just

Installing Gstreamer-1.0 on Mac OS X Mavericks

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to install Gstreamer-1.0 on Mac OS X Mavericks. So I already install gstreamer-1.0-1.6.0-x86_64.pkg and gstreamer-1.0-devel-1.6.0-x86_64.pkg from here . After that I tried to run something like this: gst-launch-1.0 fakesrc ! fakesink But got error: -bash: gst-launch-1.0: command not found So how I can install and use Gstreamer-1.0 on Mac OS X Mavericks? 回答1: From https://stackoverflow.com/a/30873313/1162305 Try installing them with the following commands from your terminal: brew install gstreamer gst-plugins-base gst-plugins-good gst

Gstreamer of python's gst.LinkError problem

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am wiring a gstreamer application with Python. And I get a LinkError with following code: import pygst pygst.require('0.10') import gst import pygtk pygtk.require('2.0') import gtk # this is very important, without this, callbacks from gstreamer thread # will messed our program up gtk.gdk.threads_init() def main(): pipeline = gst.Pipeline('pipleline') filesrc = gst.element_factory_make("filesrc", "filesrc") filesrc.set_property('location', 'C:/a.mp3') decode = gst.element_factory_make("decodebin", "decode") convert = gst.element_factory

Opencv installation error ubuntu 14.04

匿名 (未验证) 提交于 2019-12-03 02:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to build OpenCV on Ubuntu 14.04 for ARM using this guide . I have tried to install every package, but it is providing me these error on CMAKE. checking for module 'gstreamer-base-1.0' package 'gstreamer-base-1.0' not found checking for module 'gstreamer-video-1.0' package 'gstreamer-video-1.0' not found checking for module 'gstreamer-app-1.0' package 'gstreamer-app-1.0' not found checking for module 'gstreamer-riff-1.0' package 'gstreamer-riff-1.0' not found checking for module 'gstreamer-pbutils-1.0' package 'gstreamer-pbutils-1

GStreamer: how to connect dynamic pads

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to use GStreamer to play MP4 video from a file. I have managed to play the file using playbin2 and from the command prompt using: gst-launch filesrc location=bbb.mp4 ! decodebin2 ! autovideosink I am expecting in the future that I will need to create more complicated pipelines and hence why I'm attempting to 'program' the pipeline. In my program I am attempting to replicate the pipeline above, however I have an issue which I suspect is related to connecting the dynamic or "sometimes" source pad of decodebin2 to the autovideo sink.