gstreamer

Gstreamer-1.0: mux raw video in a mp4 container

為{幸葍}努か 提交于 2019-12-13 07:04:42
问题 I have a raw video that I can play through gstreamer: gst-launch-1.0 ... autovideoconvert ! autovideosink I can encode this video: gst-launch-1.0 ... ! autovideoconvert ! x264enc ! h264parse ! mp4mux ! filesink location=a.mp4 I would like now to put this raw video in a mp4 container "lossless", without any compression. How can I do that? 回答1: You answered in your question. Don't do compression gst-launch-1.0 ... ! autovideoconvert ! mp4mux ! filesink location=a.mp4 But you know, without

remultiplexing a stream with gstreamer stops in PREROLLING

让人想犯罪 __ 提交于 2019-12-13 04:54:17
问题 i'm trying to re-multiplex a quicktime movie (video/jpeg, audio/mpeg) using gstreamer. gst-launch filesrc location="${INFILE}" \ ! qtdemux name=demux \ ! queue \ ! qtmux name=mux \ ! filesink location="${OUTFILE}" \ demux.audio_00 \ ! queue \ ! mux.audio_0 unfortunately this pipeline does not start (it starts PREROLLING and then waits). if i omit the audio stream (or specify a non-existing sink-pad for the audio-stream (e.g. mux.audio.0 ), remultiplexing is done (but without audio) to give a

python gstreamer script error message no element “h264parse”

徘徊边缘 提交于 2019-12-13 04:50:54
问题 I am running a Python script in Ubuntu. The script uses gstreamer. I get the following error message. error: no element "h264parse" Let me know if any other information would be helpful. 回答1: h264parse is part of the "gst-plugins-bad" , you will want to install them through your package manager, if your script imports Gst from gi.repository you will want the 1.0 plugins, the 0.10 otherwise. Have a nice day :) 来源: https://stackoverflow.com/questions/19757936/python-gstreamer-script-error

Gstreamer fail to play avi video-

拈花ヽ惹草 提交于 2019-12-13 04:47:12
问题 I want to use Gstreamer to play video with the following command. By the way, there is no audio information in the source FlickAnimation.avi. gst-launch filesrc location=FlickAnimation.avi !avidemux name=demux demux.video_00 ! queue ! ffdec_mpeg4 !ffmpegcolorspace !playsink BUt it failed, here is the error info, Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstAviDemux:demux: Internal data stream error. Additional debug info: gstavidemux

How do I get the gstreamer plugins--windows

三世轮回 提交于 2019-12-13 04:44:33
问题 I now installed gstreamer 1.0 from gstreamer.freedesktop.org and going through their tutorial here :http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-elements-create.html I am facing a problem though ,my gst_element_factory_make() calls are failing and I think it is the pluggin path problem as suggested here: Gstreamer : gst_element_factory_make() : always fail and return NULL : Qt5 but I can't find a plugin directory in my gstreamer install directory .Can anyone

gstreamer uri format on windows

谁说胖子不能爱 提交于 2019-12-13 04:43:36
问题 I am trying to play media files with gstreamer ,mp3 currently but I am getting the uri format wrong and it can't find the file. The original command from the documentation is gst-launch-1.0 playbin uri=file:///home/joe/my-random-media-file.mpeg I am trying to make it work on windows and writing gst-launch-1.0 playbin uri=file://C:\gstreamer\1.0\x86\bin\pima.mp3 This is the output I am getting Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element

Building Vocaluxe on Windows using Visual Studio 2012 or Xamarin Studio on Windows

你。 提交于 2019-12-13 04:41:45
问题 I want to build https://github.com/Vocaluxe/Vocaluxe/ on windows. I currently have installed mono-3.2.3 with gtksharp-2.12.11, howerver I can't build that project neither on Microsoft Visual Studio 2012 nor on Xamarin studio. When Vacaluxe is opened in Visual Studio 2012, two warning messages appear instantly. Visual Studio complains that: 1) The referenced component 'SlimDX' could not be found and 2) The referenced component 'System.Data.SQLite' could not be found. As a result build fails.

How to get Gstreamer live stream using opencv and python?

落爺英雄遲暮 提交于 2019-12-13 03:49:21
问题 I am streaming a live usb camera feed from raspberry pi zero by using below code in terminal: gst-launch-1.0 -v v4l2src device=/dev/video0 ! "image/jpeg,width=640, height=480, framerate=30/1" ! rtpjpegpay ! udpsink host=<MyRPiIPHere> port=5000 And I can get that low-latency high framerate stream from my computer (ubuntu 18.4) without any problems by using below code in terminal: gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp, encoding-name=JPEG, payload=26 ! rtpjpegdepay ! jpegdec

gstreamer: split audio stream into files

眉间皱痕 提交于 2019-12-13 03:37:33
问题 I have an audio stream that I'd like to save as single playable files split by time. If I understand correctly, splitmuxsink does this for video files, but not for audio-only files. There are some tips on how to accomplish this here: http://gstreamer-devel.966125.n4.nabble.com/Dynamically-updating-filesink-location-at-run-time-on-the-fly-td4660569.html I'm struggling to reproduce this and the mentioned functions were for gstreamer-0.1. 回答1: From the description of splitmuxsink is seems that

gst-launch with tcpserversink not working

老子叫甜甜 提交于 2019-12-13 03:16:06
问题 I am trying to user gst-launch to stream mp3 audio over tcp, this is what I am trying : $ gst-launch-0.10 filesrc location="/path/to/file.mp3" ! tcpserversink host=0.0.0.0 port=3000 but it doesn't work the output is as follow : Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstTCPServerSink:tcpserversink0: Internal GStreamer error: negotiation problem.