gstreamer
Python extract wav from video file
It is a very easy Task using ffmpeg with python subprocess and there is a reason why people are pointing to this solution as a good solution. This is the basic command extracting audio from a given video File: ffmpeg -i test.mp4 -ab 160k -ac 2 -ar 44100 -vn audio.wav The Python Code is just … Read more
GStreamer encountered a general stream error in Qt5 raspberry pi
Video playback on the Raspberry Pi is actually a bit of a tricky thing. The most common solution is to use OMXPlayer to play videos. It’s a command line program, but there are lots of flags and repeated calls can control playback. All in all, it works pretty dang well for most smallish projects. As … Read more
Qt5 VideoOverview example does not work. Any solution?
It’s an incompatibility between the versions of Qt5 and libGStreamer0.10. You need libgstreamer1.0-0 (1.22.0-2), and gstreamer1.0-qt5 (1.22.0-5) plugin, and also you may need gtk+3. gst-plugins built from gst-plugins-good1.0 (1.22.0-5). See: https://packages.debian.org/sid/gstreamer1.0-qt5
Create rtsp stream based on opencv images in python
I did once a similar thing, reading frames from RTSP server and processing them within OpenCV. For some reason I could not use VideoCapture of cv2, it did not work. So my solution was to use ffmpeg to convert RTSP input into a stream of bitmaps, for my problem it was ok to read the … Read more
GStreamer rtp stream to vlc
I’ve solved the issue, it just needs an sdp file like this: v=0 m=video 5000 RTP/AVP 96 c=IN IP4 127.0.0.1 a=rtpmap:96 MP4V-ES/90000 and the option “send-config=true” for the rtpmp4vpay element: gst-launch videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay send-config=true ! udpsink host=127.0.0.1 port=5000 and then, it can be played with vlc <filename>.sdp
Material to learn GObject and Glib [closed]
Start with Glib, its quite easy and well described here: Glib Reference Manual GObject is mostly a lot of boilerplate code to achieve object orientation. Try out the “maman bar” examples found in the GObject Reference Manual For me, GStreamer took the most time to understand. The documentation is good but there is alot to … Read more
GStreamer Editing Services freezes when transitions are added [closed]
GStreamer Editing Services freezes when transitions are added [closed]