gstreamer

Loading shared libs that depend on other shared libs

淺唱寂寞╮ 提交于 2019-11-27 12:28:54
Problem: I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android NDK Bundle libs compiled for android-8 platform) . I made new folder libs/armeabi in project root folder and put it there. Also, I have put all other libs that came with it (158 of them) in the same folder. If I put this in my main activity code: static{ System.loadLibrary("gstreamer-0.10"); } And build/install/run my app on Android-8 emulator, it throws this error: 06-15 21:54:00.835: E/AndroidRuntime(402): Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]

GStreamer rtp stream to vlc

余生颓废 提交于 2019-11-27 11:49:04
I'm having some trouble figuring out how to create a simple rtp stream with gstreamer and display it on vlc. I've installed GStreamer 0.10.30 and VLC 1.1.3. My only requirement is to use MPEG4 or H.264 codecs. Right now, I can stream the GStreamer videotestsrc through this simple pipeline: gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink host=127.0.0.1 port=5000 which outputs the "caps" needed by the client to receive the stream: /GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V

How to open a GStreamer pipeline from OpenCV with VideoWriter

风流意气都作罢 提交于 2019-11-27 04:34:32
I am capturing video frames with OpenCV VideoCapture. The capturing works fine as I am able to use the frames like this: cv::VideoCapture cap("v4l2src device=/dev/video1 ! videoscale ! videorate ! video/x-raw, width=640, height=360, framerate=30/1 ! videoconvert ! appsink"); cv::imshow("feed", frame); I would also like to send the stream over the network and here is where I am stuck. Somehow I am failing in the appsrc pipeline part. I want to encode the stream to jpeg and send it vie udp. This is what I got: cv::VideoWriter writer writer.open("appsrc ! videoconvert ! jpegenc ! jpegparse !

Cannot Import GST in Python

耗尽温柔 提交于 2019-11-27 03:49:30
问题 I'm in a quandary. I'm following the following tutorial (specifically, 6.4.2) http://majorsilence.com/pygtk_audio_and_video_playback_gstreamer I'm running Python 2.7, PyGTK 2.24, and GStreamer WinBuilds 10.7 (the main installer and the SDK). When I try and compile the program, I get the following error: Traceback (most recent call last): File "", line 1, in import gst File "C:\Program Files\OSSBuild\GStreamer\v0.10.6\lib\site-packages\gst-0.10\gst__init__.py", line 193, in from _gst import *

How to build gstreamer-sharp with monodevelop/xamarin?

为君一笑 提交于 2019-11-27 02:33:21
问题 i'm developer of AudioCuesheetEditor, an application for editing audio cuesheets. The new Version should be able to play back sound, so I would like to use gstreamer as backend. I investigated a bit in gstreamer and found out, that I need to use version 1.x with gstreamer-sharp 0.99.x binding. No problem, downloaded gstreamer-sharp 0.99.0, opened the solution with monodevelop (on linux) or xamarin (on windows) and tried to build the dll, but that didn't work. I get the error "namespace Gst

Webcam streaming using gstreamer over UDP

依然范特西╮ 提交于 2019-11-27 01:02:48
问题 Here is what I'm trying: gst-launch -v udpsrc port=1234 ! fakesink dump=1 I test with: gst-launch -v audiotestsrc ! udpsink host=127.0.0.1 port=1234 And everything works fine, I can see the packages arriving from the audiotestsrc Now lets test with the webcam source: gst-launch -v v4l2src device=/dev/video0 ! queue ! videoscale method=1 ! "video/x-raw-yuv,width=320,height=240" ! queue ! videorate ! "video/x-raw-yuv,framerate=(fraction)15/1" ! queue ! udpsink host=127.0.0.1 port=1234 And

GStreamer - Webcam stream from Raspberry to VLC-PC

安稳与你 提交于 2019-11-26 23:17:45
问题 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

Python extract wav from video file

一笑奈何 提交于 2019-11-26 19:37:20
问题 Related: How to extract audio from a video file using python? Extract audio from video as wav How to rip the audio from a video? My question is how could I extract wav audio track from video file, say video.avi ? I read many articles and everywhere people suggest to use (from Python) ffmpeg as a subprocess (because there are no reliable python bindings to ffmpeg - the only hope was PyFFmpeg but i found it is unmaintaned now). I don't know if it is right solution and i am looking for good one.

How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?

天大地大妈咪最大 提交于 2019-11-26 19:15:53
问题 After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 out there. You can take a look here. Based on Case 1 there, I started to develop an Application, that should be able to get an H264-RTP-UDP-Stream from GStreamer, sink it into an 'appsink'-element to get direct access to the NAL Units and do the conversion to create CMSampleBuffers, which my

gstreamer v4l2预览双摄像头

一世执手 提交于 2019-11-26 17:04:40
gstreamer预览双摄像头 PC环境: Ubuntu16.04 板子环境: RK3399 linaro-alip 4.4.103 aarch64 Debian 1.安装gstreamer环境 按照网上或其他文档安装或多或少有错,经测试以下步骤能适用 gst-launch-1.0 --version #查看版本,低于是1.14的一定要升级到 1.14 移除原先相关的 Gstreamer。 apt purge gstreamer1.0-* apt purge libgstreamer* 添加 Gstreamer 最新版本的源。 vi /etc/apt/sources.list .添加下面一行到 sources.list 最后一行,保存退出。 deb http://ftp.de.debian.org/debian buster main 更新 apt update 安装 Gstreamer 相关软件 apt install gstreamer1.0-plugins-* apt install gstreamer1.0-libav apt install libgstreamer1.0* apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev