gstreamer

Streaming RTP/RTSP: sync/timestamp problems

拈花ヽ惹草 提交于 2019-12-03 02:14:59
I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, except for one problem: the video will lag on startup, stutter every few seconds, and has a ~4-second delay. This is bad. Our setup is to encode with x264 (w/ zerolatency & ultrafast) and packed into RTSP/RTP with libavformat from ffmpeg 0.6.5. For testing, I'm receiving the stream with a GStreamer pipeline with gst-launch when connecting to an RTSP server. However , I've been able to reproduce the

Gstreamer tcpserversink v0.10 vs 1.0 and HTML5 video tag

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am embedding a HTML5 video tag in my site, the source being a gstreamer stream. I have a pipeline working on gst 0.10: gst - launch - 0.10 - v videotestsrc ! theoraenc ! oggmux ! queue ! tcpserversink port = 8080 sync - method = 2 I can connect to this stream via vlc like so: vlc tcp : //localhost:8080 And I can also use the URL in a HTML5 video tag and the video is displayed as expected. Now I try to adapt this for gst 1.0: gst - launch - 1.0 - v videotestsrc ! theoraenc ! oggmux ! queue ! tcpserversink port = 8080 sync - method

gstreamer python bindings for windows

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am looking into gstreamer as a means to choose a video device from a list to feed it to an opencv script. I absolutely do not understand how to use gstreamer with python in windows. I installed the Windows gstreamer 1.07 binaries from the gstreamer official website . However, I could not import the pygst and gst modules in python. >>> import pygst Traceback ( most recent call last ): File " " , line 1 , in import pygst ImportError : No module named pygst >>> #0> I checked the gstreamer installation, and there seems to be no pygst

OpenCV 3.0 Trouble with Installation

匿名 (未验证) 提交于 2019-12-03 01:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I need OpenCV3.0 since it supports some new functions which I need. I used the following code for installation (I had successfully installed OpenCV 2.4.9 using this code. But for OpenCV 3.0, while doing the cmake section, some error pops up due to mismatch of MD5 checksum) mkdir OpenCV cd OpenCV echo "Removing any pre-installed ffmpeg and x264" sudo apt - get - qq remove ffmpeg x264 libx264 - dev echo "Installing Dependenices" sudo apt - get - qq install libopencv - dev build - essential checkinstall cmake pkg - config yasm libjpeg

GStreamer - Webcam stream from Raspberry to VLC-PC

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to stream webcam video from a Raspberry to a VLC player using gstreamer 1.0. Right now i got the following command for the Raspberry: gst-launch-1.0 -vv -e v4l2src device=/dev/video0 \ ! videoscale \ ! "video/x-raw,width=352,height=288,framerate=10/1" \ ! queue \ ! x264enc \ ! h264parse \ ! rtph264pay config-interval=10 pt=96 \ ! udpsink host=239.255.12.42 port=5004 And the following sdp file to play the stream with vlc: c=IN IP4 239.255.12.42 m=video 5004 RTP/AVP 96 a=rtpmap:96 H264/90000 When i run the gst-launch-1.0 command i

WebRTC to Gstreamer Bridge

匿名 (未验证) 提交于 2019-12-03 01:44:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to stream audio from a browser to a gstreamer pipeline on a server. I'm currently using Kurento, and modifying the Hello World example to try to connect an RTP Endpoint to the pipeline -- but am having trouble. I know the media is getting there because when I swap in a Recording Endpoint, I get a valid recording. The Kurento Node JS is: pipeline.create("RtpEndpoint", {}, function(error, rtpEndpoint) { if (error) { console.log("Recorder problem"); return sendError(res, 500, error); } console.log("Creating WebRtcEndpoint"); pipeline

How to fix Gstreamer to capture microphone audio and buffer or dump as raw file, when i am talking it does not save anything

匿名 (未验证) 提交于 2019-12-03 01:40:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to capture the microphone audio and save it as a file. But its not working, i can only play the file while assign. How can i enable the microphone and buffer it or save or dump as raw .odd/vorbis ? #include <gst/gst.h> #include <glib.h> static gboolean bus_call ( GstBus * bus , GstMessage * msg , gpointer data ) { GMainLoop * loop = ( GMainLoop *) data ; switch ( GST_MESSAGE_TYPE ( msg )) { case GST_MESSAGE_EOS : g_print ( "End of stream\n" ); g_main_loop_quit ( loop ); break ; case GST_MESSAGE_ERROR : { gchar * debug ;

gstreamer appsrc test application

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to learn gstreamer appsrc plugin to play AV from a transport stream demultiplexer that I wrote (I know plugins are already available, I wanted to do it myself to learn). I have extracted audio and video elementary streams from the MPEG transport stream; now I have to push it to the appsrc plugin and play it using a gst pipeline (this part is not yet clear to me: as to which plugins to use - any tips will be highly appreciated). I found a sample code on using appsrc , but when I run that, there is no output. I verified that start

Can I use the Gstreamer API to merge 2 videos?

前提是你 提交于 2019-12-03 01:38:42
I'd like to write a simple linux CLI application that can take 2 video sources (1 of a presenter talking and 1 with their slides and no audio) and merge them. I'd like the entire output video to be the two original videos, side by side. Failing that, my second best option would be a "picture in picture" style video, with the presenter in a small frame in the corner. From a few hours research, GStreamer looks like it might be able to do this. Can anyone confirm it before I spend more time trying it out? If it can't, are there other APIs out there that I might be able to use? Here is a simple

Problems trying to build opencv in python: “― Configuring incomplete, errors occurred”

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to install openCV in python I have the same problem as mentioned in those several github and stackoverflow pages but I'm still stuck: [github openCV issue #8382][1] [github openCV issue #6027][2] [github openCV issue #6066][3] is it because the version of openCV and opencv_contrib do not match as mentionned here: [stackoverflow link][4] Here is an ouput of the terminal: mymacs-MacBook-Pro:build mymac$ cmake -D CMAKE_BUILD_TYPE=RELEASE \ > -D CMAKE_INSTALL_PREFIX=/usr/local \ > -D INSTALL_C_EXAMPLES=OFF \ > -D INSTALL_PYTHON