gstreamer

List device-names available for video capture from ksvideosrc in gstreamer 1.0

坚强是说给别人听的谎言 提交于 2019-12-06 05:13:40
问题 I am trying to query a list of available video capture devices (webcams) on windows using gstreamer 1.0 in c++. I am using ksvideosrc as source and i am able to capture the video input but i can't query a list of available devices (and their caps). On gstreamer 0.10 it has been possible through GstPropertyProbe which is removed in gstreamer 1.0. The documentation suggests using GstDeviceMonitor. But i have no luck using that either. Has anyone succeeded in acquiring a list of device names? Or

Gstreamer multifilesink wav files splitting

风格不统一 提交于 2019-12-06 04:33:32
I have problem with recording streams using gstreamer. I have to write audio and video separately and cut in when signal arrived. I have correctly working video, but still have problems with wav files. Even simple pipeline in gst-launch don't work correctly. I have wave file and I am trying to split it using multifilesink: gst-launch filesrc location=test.wav ! multifilesink location=test2%d.wav next-file=4 max-file-size=512000 But final wav files are corrupted while the same pipeline with ts files is working ok: gst-launch-1.0 filesrc location=test.ts ! multifilesink location=test2%d.ts next

H264 RTP stream with gstreamer-1.0

自作多情 提交于 2019-12-06 04:26:32
I try to make a H264 RTP stream from a Raspberry Pi 3 with a camera module to a video tag. Using the following code to start the stream raspivid -t 0 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | \ gst-launch-1.0 -v fdsrc \ ! h264parse \ ! rtph264pay \ ! gdppay \ ! udpsink host="192.168.0.11" port=5000 Then I provide a simple webpage with a video tag: <video id="videoTag" src="h264.sdp" autoplay> <p class="warning">Your browser does not support the video tag.</p> </video> The src references the following SDP file: v=0 m=video 5000 RTP/AVP 96 c=IN IP4 192.168.0.51 a=rtpmap:96 H264/90000 When I

Where to get live video streaming examples ( GStreamer )? [closed]

孤街醉人 提交于 2019-12-06 02:26:36
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Where to get live video + audio streaming examples ( GStreamer )? So for example streaming from File or Web camera to some web address

.so with numerals after that, how to match them in find_library in cmake ? Error in linking shared objects which are found as sub-dependencies

£可爱£侵袭症+ 提交于 2019-12-06 02:00:24
Given ls -lrt /usr/lib/libvpx* results lrwxrwxrwx 1 root root 15 Feb 9 2012 /usr/lib/libvpx.so.1.0 ->libvpx.so.1.0.0 lrwxrwxrwx 1 root root 15 Feb 9 2012 /usr/lib/libvpx.so.1 -> libvpx.so.1.0.0 -rw-r--r-- 1 root root 646120 Feb 9 2012 /usr/lib/libvpx.so.1.0.0 ls -lrt /usr/lib/libschroedinger* results lrwxrwxrwx 1 root root 29 Feb 8 2012 /usr/lib/libschroedinger-1.0.so.0 ->libschroedinger-1.0.so.0.11.0 -rw-r--r-- 1 root root 774044 Feb 8 2012 /usr/lib/libschroedinger-1.0.so.0.11.0 ls -lrt /usr/lib/libgsm* results lrwxrwxrwx 1 root root 16 Nov 5 2009 /usr/lib/libgsm.so.1 -> libgsm.so.1.0.12 -rw

gStreamer Video Recording Memory Leak

有些话、适合烂在心里 提交于 2019-12-06 00:22:43
HI I am trying to record rtsp stream coming from camera(H264 format). I am using following gst command to do recording in MPEG4 Format gst-launch -e rtspsrc location=rtsp://10.17.8.136/mediainput/h264 latency=100 ! decodebin ! ffenc_mpeg4 ! avimux ! filesink location=test.mp4 and H264 format gst-launch-0.10 -e rtspsrc location="rtsp://10.17.8.136/mediainput/h264" latency=100 ! rtph264depay byte-stream=false ! capsfilter caps="video/x-h264,width=1920,height=1080,framerate=(fraction)25/1" ! mp4mux ! filesink location=testh264.mp4 Both are doing recording but i have observed that There is RAM

PyQt5 - Can't play video using QVideoWidget

我们两清 提交于 2019-12-06 00:12:24
from PyQt5.QtWidgets import * from PyQt5.QtMultimedia import * from PyQt5.QtMultimediaWidgets import * from PyQt5.QtCore import * import sys app = QApplication(sys.argv) w = QVideoWidget() w.resize(300, 300) w.move(0, 0) w.show() player = QMediaPlayer() player.setMedia(QMediaContent(QUrl.fromLocalFile("/home/doflamingo /Documents/Nisemono/got.avi"))) player.setVideoOutput(w) player.play() sys.exit(app.exec_()) This very simple code give the following output on ArchLinux : GStreamer; Unable to pause - "file:///home/doflamingo/Documents/Nisemono/got.avi" GStreamer; Unable to pause - "file://

Fedora 17 安装后配置

有些话、适合烂在心里 提交于 2019-12-05 23:24:19
2012-5-29 最新版本的fedora17正式版发布了,所有下载方式: http://fedoraproject.org/zh_CN/get-fedora-all 此篇文章由之前"Fedora16安装后配置"改动过来的,再配上个人的使用经历,供fedora爱好者共同参考学习, 其实安装后的配置都差不多的。 1.设置sudo (个人使用习惯, 用 su -c '命令', 也可,跳过) 使用visudo命令或 vi /etc/sudoers ## Allow root to run any commands anywhere root ALL=(ALL) ALL 添加下面内容,goface替换成你的用户名 ‘goface’ ALL=(ALL) ALL 2.更新系统和软件 #yum check-update #yum update 新安装成功后的系统,首先update一下,新安装系统马上有更新的,说明更新的内容修正了系统合成后软件出现的问题, 个人认为很重要的更新,我的电脑安装完好,发现背景亮度无法调节,更新完好修正。 3.安装系统高级配置工具 # yum install gnome-tweak-tool gnome-tweak-tool 当然要装喽 fedora gnome3默认桌面是不能点击的,可使用gnome-tweak-tool解放桌面,添加上“Computer” 等图标

Gstreamer学习笔记----第一个helloworld程序

▼魔方 西西 提交于 2019-12-05 20:45:48
1.Ubuntu上安装gstreamer库: apt-get install libgstreamer0.10-0 apt-get install libgstreamer0.10-dev apt-get install libgstreamer0.10-0-dbg 2.编写测试gstreamer库的helloworld.c: [html] view plain copy #include < stdio.h > #include < gst /gst.h > int main (int argc,char *argv[]) { const gchar *nano_str; guint major, minor, micro, nano; gst_init (&argc, &argv); gst_version (&major, &minor, µ, &nano); if ( nano == 1) nano_str = "(CVS)" ; else if ( nano == 2) nano_str = "(Prerelease)" ; else nano_str = "" ; printf ("This program is linked against GStreamer %d.%d.%d %s\n", major, minor, micro, nano_str); return

What's the meaning of 'blacklisted' on GStreamer?

▼魔方 西西 提交于 2019-12-05 18:25:06
问题 I'm trying to cross-compile GStreamer. Version is 1.2.3. Host PC's OS is x86 linux and Target system's OS is MIPSEL linux OS. I succeeded to compile gstreamer and plugins for target device. And gst-launch-1.0 could be executed. So I tried to use basic plugin, libgstvideotestsrc. But it didn't work. So I ran ```gst-inspect-1.0' to inspect plugins then I found the result like below. # gst-inspect-1.0 -b Blacklisted files: libgstinterlace.so libgstfbdevsink.so libgstgeometrictransform.so