gstreamer

Stream webcam video with gstreamer 1.0 over UDP to PC

浪子不回头ぞ 提交于 2019-12-03 08:57:44
Im trying to stream video from a Raspberry Pi (on Raspbian) to a Windows 7 PC like in this video: https://www.youtube.com/watch?v=lNvYanDLHZA I have a Logitech C270 connected to the Raspberry Pi, and have managed to stream webcam video over TCP using: gst-launch v4l2src device=/dev/video0 ! \ 'video/x-raw-yuv,width=640,height=480' ! \ x264enc pass=qual quantizer=20 tune=zerolatency ! \ rtph264pay ! tcpsink host=$pi_ip port=5000 from my Pi. Receive this using VLC works, but with a 3 sec delay. I want to do this over UDP to get a shorter delay (correct me if I'm wrong). But cannot for the life

python gstreamer for windows

匿名 (未验证) 提交于 2019-12-03 08:52:47
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to use Python bindings for GStreamer on windows. But looking at the INSTALL file, the gstreamer does it in the unix way. (make make install) . I don't want to install cygwin or other windowsunix environments. Is there a GPL binary distribution of GStreamer available somewhere? (or a script that can just install it using python setup.py install) thanks UPDATE: I am using Python 2.6 (or higher). The current packages are only available for Python 2.4 or 2.5 回答1: I will answer my own question. Found this link GStreamer WinBuilds that has

gstreamer flvmux and rtmp error

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I trying to stream rtmp from rasberrypi, the omx hardware encoder worked really nice, by the way, so I'm running: And there is an error: Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstAudioSrcClock ERROR: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2812): gst_base_src_loop (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: streaming task paused, reason not-negotiated (-4) Execution ended after

Gstreamer Mac OS X udpsink error

萝らか妹 提交于 2019-12-03 08:47:06
I’m trying to stream audio in Mac OS X but I keep getting this error: gst-launch osxaudiosrc ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! udpsink port=10001 host=192.168.2.10 Setting pipeline to PAUSED … ERROR: Pipeline doesn’t want to pause. ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource. Additional debug info: gstmultiudpsink.c(804): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not set TTL socket option (22): Invalid argument Setting pipeline to NULL … Freeing pipeline … This

Missing plugin for GStreamer for Android SDK

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I changed the stream url in the included Tutorial 5 (a basic media player) to a h.264/mp3 media stream (from its original ogv stream) and it started complaining about some missing plugins. After doing some googling I found Prajnashi's gst-ffmpeg plugin for Android https://github.com/prajnashi/gst-ffmpeg but it is certainly not suitable for the SDK. If the SDK does not have the required plugin how do I go about resolving this? I am new to GStreamer and have no idea how to compile any of the existing plugins for Android. 回答1: You just need to

Calling Gstreamer inside openCV

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to call Gstremaer inside an openCV code (opening a video camera essentially). As I looked through the source code, modules/highgui/src/cap_gstreamer.cpp seems to be the file I'm looking for. I compiled OpenCV with Gstreamer flag. GStreamer: -- base: YES (ver 1.2.3) -- video: YES (ver 1.2.3) -- app: YES (ver 1.2.3) -- riff: YES (ver 1.2.3) -- pbutils: YES (ver 1.2.3) but I'm not able to call a Gstreamer-related functions (e.g. cvCreateCapture_GStreamer which is defined inside cap_gstreamer.cpp ) cap_gstreamer.cpp was built successfully

Installing gstreamer 1.0 on windows for python 2.7.

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've been trying to install gstreamer 1.0 on windows to use as a python 2.7 module. I installed the sdk from here http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows which allows me to import pygst , but it only allows me to use gstreamer 0.1 (If I try pygst.require('1.0') I get a pygst.RequiredVersionError only version '0.10' is available). I looked all over for a gstreamer 1.0 version of the sdk with no luck, so I'm hoping I can maybe alter the 0.1 sdk for my needs. I've downloaded gstreamer 1.0 from here http://gstreamer

Receiving video stream from an IP camera on android

被刻印的时光 ゝ 提交于 2019-12-03 06:25:33
I have an IP camera which is streaming video in MJPEG format. Now my aim is to receive it and display it in my own custom android app. For this I have three programming alternatives on android platform : Using inbuilt Anrdroid MediaPlayer class Using FFMPEG library in native C and accessing it through JNI Using GStreamer port on android to receive the stream So please suggest a better solution? I have no experience with FFMPEG or GStreamer. So what is the feasibility of doing this? Use gstreamer for it. I have used gstreamer at beagleboard which has 1GHz processor for taking image from 2

Convert video to WebM using GStreamer

只谈情不闲聊 提交于 2019-12-03 06:20:55
问题 Documentation for GStreamer is confusing. This is still no excuse for resorting to StackOverflow.com , but still: What is the GStreamer command line to convert any video file (from any format) to WebM (+WebM audio)? This is the only documentation with examples I could find. I'm stuck somewhere at gst-launch-0.10 webmmux name=mux ! filesrc location=oldfile.ext ! filesink location=newfile.webm ! name=demux ! demux. ! ffmpegcolorspace ! vp8enc ! queue ! mux.video_0 ! demux. ! progressreport !

Gstreamer of python's gst.LinkError problem

泄露秘密 提交于 2019-12-03 04:33:30
问题 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(