gstreamer

Stream multicast media use Gstreamer and VLC

跟風遠走 提交于 2019-12-11 09:57:34
问题 I am writing an application streaming media file ( H264, fortmat I use now is *.MP4 ). I use Gstreamer with pipeline : gst-launch-1.0 filesrc location=/big_buck_bunny_720p_h264.mp4 ! qtdemux name=d d. ! h264parse ! rtph264pay config-interval=3 pt=96 mtu=1024 ! udpsink host=224.1.1.1 port=5000 And I use the following SDP file to receive stream: c=IN IP4 224.1.1.1 m=video 5000 RTP/AVP 96 a=rtpmap:96 H264/90000 In PC I can receive the stream and it playback normally. But now I want to receive

How to set the property of sink pad of element in gstreamer?

徘徊边缘 提交于 2019-12-11 09:32:50
问题 How to set the property of sink pad in program for example: sin_00::outWidth=1280 sin_00::outHeight=720 in this way pipeline was run using gst-launch-0.10 ..... And to set this property Ive used gst_pad_set_property() API but its not working it shows following error : 3_video_temp.c: In function 'main': 3_video_temp.c:551: warning: implicit declaration of function 'gst_pad_set_property' /tmp/cc2zDbzt.o: In function `main': /home/project/compWorkspace/Edubeam/3_video_temp.c:551: undefined

draw graph of encoded bit rate of video vs play location

China☆狼群 提交于 2019-12-11 08:55:29
问题 I am trying to measure the variation in the bandwidth required when a video is played over the network. For this purpose, i need to make a graph of the bandwidth required to play the video continuously at any time during the video. I tried processing the video with gstreamer but it gives me the bit rate of the decoded[not encoded] video which is more or less constant. Is there a way to get the encoded bit rate of a video over time? 回答1: Since i got no answers here, i will post the solution

Android NDK Linker (GStreamer) - invalid linker name -fuse-ld=gold

大兔子大兔子 提交于 2019-12-11 08:40:32
问题 Trying to setup GStreamer for Android using Android Studio on Windows. I'm mostly following the tutorial from their site as best I can, as well as looking at this (plus whatever I can find that helps). I get an: Error:error: invalid linker name in argument '-fuse-ld=gold' My Android.mk: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := app LOCAL_SRC_FILES := app-1.c LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -landroid include $(BUILD_SHARED_LIBRARY) ifndef

How to record audio in gstreamer for pre-defined time?

谁都会走 提交于 2019-12-11 08:25:40
问题 I have python gstreamer - 1.0 code that records audio using "autoaudiosrc" element. My question is to stop the pipeline after few 'predefined' seconds and preferably I want to add it in gstelement format . The current pipeline used to record : gst-launch-1.0 autoaudiosrc num-buffers=100 ! audioconvert ! vorbisenc ! oggmux ! filesink location="sit.ogg" corresponding python code import sys, os import gi gi.require_version('Gst', '1.0') from gi.repository import GObject, Gst, Gtk GObject.threads

GStreamer Xcode 10.1 gst/gst.h not found

时间秒杀一切 提交于 2019-12-11 06:37:58
问题 GStreamer gst.h file is not found error is coming in Xcode 10.1. Has anyone been able to find a solution for it??? This error even comes if I use Objective-C as primary language for iOS Project. 回答1: It looks like the Xcode changed the path setting mechanism. Home dir ~/ not working now, use $(HOME) indeed. Just change the project settings (Project ->TARGETS ->Build Settings) Change both Framework Search Paths & Header Search Paths prefix ~/ to $(HOME), after that, it now will be: Framework

GStreamer linking error

…衆ロ難τιáo~ 提交于 2019-12-11 06:09:14
问题 I'm trying to build the source code of https://github.com/iiordanov/remote-desktop-clients/tree/master/eclipse_projects/Opaque. Now there's an error while building the gstreamer library: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. > Build command failed. Error while executing 'D:\Entwicklung\Android\ndk-bundle\ndk-build.cmd' with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\Entwicklung\Android-Projekte\app

gstreamer ubuntu gscam How to separate my camra left and right images

末鹿安然 提交于 2019-12-11 06:03:55
问题 This is my camera picture: My camera is special (Not a pure binocular camera), has one usb interface but two device numbersthe. device:/dev/video0 is about left and right camera images, device:/dev/video1 is the depth of the image combined with left and right cameras, I used gscam (gstream) driven out / dev / video0 is this case:The left and right camera images are in a window inside: How to separate them? divided into two windows, let the left and right camera images are displayed separately

GStreamer Launch RTSP Server for ReStreaming IP Camera H264

耗尽温柔 提交于 2019-12-11 05:18:38
问题 I am going to use multiple clients on different computers to be able to view video of an IP Camera stream url. Because the Ip camera has limitations on the number of connected clients, I want to setup a streamer for this purpose. I googled and tried GStreamer with different command line options but not yet successful. Here is a test command line: gst-launch-1.0 rtspsrc location="rtsp://root:root@192.168.1.1/axis-media/media.amp?videocodec=h264&resolution=320x240&fps=10&compression=50" latency

Pocketsphinx + Gstreamer Race Condition? Pocketsphinx can't listen to audio + record from it at the same time in Python script?

一世执手 提交于 2019-12-11 04:57:38
问题 Overview: So this is a follow up to my last problem (here). I will be posting a full answer on that very soon. I'm able to get pocketsphinx to recognize audio input from my PS3 Eye in Python via Gstreamer. By specifying the correct alsa device ( hw:1 in my case ). ISSUE: My next issue seems to involve a tiny race condition involving my Microphone already being in use and needing to be able to record something. Imagine the following: I start up my python daemon, and it's currently listening. I