All Questions
Tagged with gstreamer raspberry-pi
152
questions
11
votes
1
answer
14k
views
How to pipe live video frames from ffmpeg to PIL?
I need to use ffmpeg/avconv to pipe jpg frames to a python PIL (Pillow) Image object, using gst as an intermediary*. I've been searching everywhere for this answer without much luck. I think I'm close ...
8
votes
5
answers
5k
views
Streaming H264 using RaspberryPi camera
I am working on a project to build a robot using raspberry pi that will send video to android device, and will be controlled from it.
I decided to use the RaspberryPi camera (maybe usb webcam is ...
7
votes
2
answers
2k
views
Gstreamer hangs while generating timelapse from JPEGs on Raspberry pi
Situation:
I want to generate a timelapse on my Raspberry Pi 512mb, using the onboard H.264 encoder.
Input: +300 JPEG files (2592 x 1944 pixels), example: https://i.stack.imgur.com/3NK8r.jpg
...
6
votes
1
answer
13k
views
Write in Gstreamer pipeline from opencv in python
I'm trying to stream some images form opencv using gstreamer and I got ome issues with the pipeline. I'm new to gstreamer and opencv in general. I compiled opencv 3.2 with gstreamer for python3 on a ...
6
votes
2
answers
3k
views
gstreamer error on mac
I have been working on my mac (version 10.10) and my raspberry pi (raspbian) to stream video feed live from my raspberry pi camera to my mac using gstreamer. On my mac, in terminal, I have been ...
5
votes
1
answer
6k
views
Relay RTP Stream with NodeJS
I'm attempting to relay RTP packets from a Raspberry Pi to my Macbook Air using NodeJS.
Here is the gstreamer command I'm using to create the video feed on my Raspberry Pi:
gst-launch-1.0 rpicamsrc ...
5
votes
0
answers
526
views
GStreamer: no element
I am trying to run UDP streaming from a Raspberry Pi 4, and have installed gstreamer using this, found on gstreamer's docs:
$ sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \...
5
votes
1
answer
1k
views
gstreamer 1.0 + python: dynamic link and unlink queues from a PLAYING pipeline
Pipeline architecture I'm trying to implement
The script works well when both the queues are linked together before setting the pipeline to PLAYING, but I'm having a hard time understanding Gstreamer ...
5
votes
0
answers
3k
views
Stream Framebuffer with Gstreamer
How do I read framebuffer (/dev/fb0) with Gstreamer?
I'm trying to read the framebuffer on my Raspberry PI and stream it to my notebook, using the hardware h264 encoder on the RP.
First I tried this ...
5
votes
0
answers
1k
views
SSH tunneling and Gstreamer
Is this a gstreamer issue or ssh tunnel problem?
I'm trying to tunnel Gstreamer over ssh. Doing this on the local client works (plays the video to the waiting gstreamer client on the local client):
...
4
votes
1
answer
5k
views
How to get Gstreamer1.0 working with v4l2 raspicam driver
For the last 4 days I'm trying to get gstreamer1.0 working with v4l2 driver for Raspberry Pi camera, but with no success.
I'm running the latest Raspbian image (from 19.9.2014.), with raspicam ...
4
votes
2
answers
32k
views
Stream webcam video with gstreamer 1.0 over UDP to PC
Im trying to stream video from a Raspberry Pi (on Raspbian) to a Windows 7 PC like in this video: https://www.youtube.com/watch?v=lNvYanDLHZA
I have a Logitech C270 connected to the Raspberry Pi, and ...
4
votes
1
answer
13k
views
Gstreamer with gst-omx Raspberry Pi
I compiled the gstreamer with gst-omx following this tutorial: http://www.onepitwopi.com/raspberry-pi/gstreamer-1-2-on-the-raspberry-pi/
Everything went fine and in the end when i ran gst-inspect-1.0 ...
4
votes
2
answers
8k
views
Two-way audio for software ip camera
I am trying to setup a raspberry pi box with a usb camera as a IP Camera that can be viewed from a a generic android IP Camera monitor app. I've found some examples on how to get the video stream, and ...
4
votes
2
answers
5k
views
gstreamer flvmux and rtmp error
I trying to stream rtmp from rasberrypi, the omx hardware encoder worked really nice, by the way, so I'm running:
gst-launch-1.0 v4l2src ! «video/x-raw,width=640,height=480,framerate=30/1» !\
...
4
votes
1
answer
930
views
How to use Gstreamer to mux live audio and video to mpegts?
Goal:
On Raspberry Pi, take input from connected camera and microphone, combine into single stream, play across network using VLC app.
More details:
I am trying to make what amounts to an IP camera ...
4
votes
0
answers
1k
views
Raspi v2 camera is not working with v4l2src
Environment :- Raspi v2 camera, Jetson nano board, Ubuntu 18.04
I started with nvarguscamerasrc and it's working :-
gst-launch-1.0 nvarguscamerasrc sensor_mode=0 ! 'video/x-raw(memory:NVMM),width=3820,...
4
votes
0
answers
2k
views
Gstreamer with Bad Quality. Packet Loss
I'm new to Gstreamer and for some reason the quality of my stream is off. It looks like there are some packet loss. I created a pipeline on my Raspberry Pi 2 and another pipeline on my PC. Could ...
4
votes
1
answer
2k
views
Raspbian. gstreamer-1.0 flips video when I play it using GPU. Videoflip gives error
I've read https://stackoverflow.com/a/23869705/4073836 and it was very usefull to me.
At least I am able to play HD from my filesystem. But.
When I use software decoder
$ gst-launch-1.0 filesrc ...
4
votes
1
answer
4k
views
Gstreamer Video Sink for Raspberry Pi
I m working on a Raspberry pi board with gstreamer 1.0 inbstalled. I was testing some pipelines on the board. But in Raspberry pi the video sink is not working.
I tried different videosinks such as ...
3
votes
1
answer
2k
views
Change bitrate of USB camera
I use ELP USB camera with h264-codec output.
Ffmpeg-command to take the video stream:
ffmpeg -i /dev/video1 -c:v copy output.ts
As result I have a video with 4Mb bitrate - this value is too high ...
3
votes
3
answers
8k
views
Restarting GStreamer Pipeline in Python on EOS
I am working on a Python script running on RPi3, and using gstreamer to connect to RTSP feed of my IP Camera, and serve decoded H264 frames to my Python script.
Here is the gstreamear pipeline used ...
3
votes
1
answer
3k
views
gstreamer srtp for Full HD h.264 video
I am trying to implement a Full HD video conferencing solution on a Raspberry Pi 3. As I only need the the latency i just wanted to create one simple pipleline for audio and video.
I compiled ...
3
votes
3
answers
6k
views
gstreamer tcpclientsink connection refused
Hi I am trying to stream data from linux box (Raspberry Pi) to Macbook pro using gstreamer-1.0.
On Raspberry-Pi (Linux)
pi@raspberrypi:[~]$ gst-launch-1.0 filesrc location="video.h264" ! ...
3
votes
2
answers
3k
views
Piping video from Raspberry Pi to Desktop running OpenCV
I'm looking for some hints. I've got my Pi running OpenCV, but I'm about to take on a project which will need several IP cameras, all piping video to OpenCV. I'm curious if it's possible to use the ...
3
votes
1
answer
10k
views
GStreamer pipeline wont preroll
Hi guys im trying to setup Gstreamer between my Pi and a windows computer. My comands are:
Pi:
~ raspivid -n -w 1280 -h 720 -b 1000000 -fps 15 -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! ...
3
votes
1
answer
1k
views
stream video from pi cam to unity project
I am using a raspberry pi and pi cam to stream video from my pi to my PC. I've gotten this to work using gstreamer on the pi and the PC, but now i want to use the stream in a Unity augmented reality ...
3
votes
0
answers
846
views
Broadcasting video stream using rtsp from pi zero
I have set up the RTSP server.Video is broadcasting but I am not getting the video stream on my pc.
I had first installed Gstreamer camera source
git clone https://github.com/thaytan/gst-rpicamsrc....
3
votes
0
answers
163
views
Wrong colours in videos on JavaFX application (Gluon JavaFX port)
I need to run JavaFX application on Raspberry Pi. Application contains MediaPlayer objects.
Since Oracle's Java for ARM doesn't contain javafx package, I have installed Gluon JavaFX port for ARM. ...
3
votes
1
answer
972
views
OpenCV can't open network stream from gstreamer created by raspberry
I'm trying to open an unicast udp stream from my Raspberry pi using Gstreamer. This stream will be received on a Windows PC using a C++ application with OpenCV. This is the shellscript i use on the ...
3
votes
1
answer
4k
views
Parsing frames from raspberry pi video stream
Problem
A project I am working on requires me to parse frames and do some very simple image processing from the raspberry pi camera at around 10Hz.
I tried using both the raspistill and the raspiyuv ...
3
votes
0
answers
2k
views
Gstreamer how to record, take screenshot of a stream
I am streaming video from my raspberry using gstreamer and h264 decoder as below:
raspivid -t 999999 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay ...
2
votes
1
answer
3k
views
Gstreamer videomixer Very low framerate
I am trying to composite three streams coming from three Rapsberry PI.
As soon as I join two streams together using the videomixer plugin, I get a message ending with:
Pipeline:pipeline0/...
2
votes
2
answers
8k
views
Raspberry Pi USB Webcam Stream to Computer using Gstreamer
I have a fisheye usb webcam attached to a raspberry pi that I'm trying to stream to a computer. I've played with ffmpeg and it seems a little laggy beyond 320x240. From what I've read people have been ...
2
votes
1
answer
5k
views
How to Register a Gstreamer Plugin?
I was trying to install a gstreamer plugin in my Raspberry Pi.
I have downloaded the Gstreamer plugin from a repository, then I build the binaries. After building I did a
sudo make install to ...
2
votes
1
answer
8k
views
GStreamer warning when running OpenCV on Ubuntu
I'm trying to get a script running on my raspberry pi (Ubuntu system). Right now, I was just refreshing myself on the basics of opencv, since it's been a little while since I worked with it. So I copy ...
2
votes
1
answer
4k
views
Gstreamer, Raspberry Pi, and Android. How to get streaming video?
I've been working for 2 solid days on trying to get Gstreamer on a pi to output video on an android device. I can do the pi > Mac, but cannot get the android Gstreamer SDK tutorial 3 to stream video ...
2
votes
1
answer
5k
views
Gstreamer in Android. UDP stream
I have setup my raspberry pi with the camera board. The code in rpi is:
raspivid -t 999999 -h 720 -w 1080 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink ...
2
votes
1
answer
6k
views
Capturing jpegs from an h264 stream with gstreamer on a Raspberry Pi
I have one of the new camera add-ons for a Raspberry Pi. It doesn't yet have video4linux support but comes with a small program that spits out a 1080p h264 stream. I have verified this works and got ...
2
votes
1
answer
7k
views
GStreamer audio how-to?
I've been trying to figure out GStreamer for "audio only" for a couple of days now, but with different instructions between 1.0 and 0.10, and most instructions are to do with video, I'm having ...
2
votes
1
answer
2k
views
Cannot get JACK Audio/Netjack working over LAN
I'm trying to stream low latency audio between 2 raspberry pis. Both gstreamer and ffmpeg induce 2+ second delays for me.
I've played around with Jack Audio and locally on a single pi it seems ...
2
votes
0
answers
531
views
Playing mp4 video via Gstreamer with hardaware acceleration on RPI4
Is there an example of pipeline for Gstreamer(gst-launch) to play mp4 video with HW acceleration on Raspberry pi4?
2
votes
1
answer
1k
views
"Internal data stream error." when using omxh264enc in gstreamer
I am currently trying to convert a live feed from a Raspberry Pi camera to H264 and store it as a mp4 video using gstreamer. Since I am using a Raspberry Pi 1, I need to use the hardware accelerated ...
2
votes
0
answers
92
views
g_signal_connect() strange behaviour
I try to create gstreamer application for Raspberry Pi 3, which captures mpeg2 data flow from custom usb device and uses appsrc to push this data to pipeline. This is how my pipeline looks in .dot ...
2
votes
1
answer
2k
views
Raspberry Pi 4 - gstreamer playback
I am trying to playback a FHD H.264 video on my new Raspberry Pi 4 B - 4GB with Buster using gstreamer.
I installed gstreamer from the repo, version 1.14.4
This are the command and the result that I ...
2
votes
1
answer
1k
views
Compiling gst-plugins-bad with SRT on Raspberry Pi 3
I tried to compile gst-plugins-bad with SRT, compiling was successful but I can't find the plugin. I think the dependency lib srt is missing and the right parameter (I used --with-srt).
These are the ...
2
votes
2
answers
5k
views
How to setup gstreamer on raspberry Pi and client for rtp with H264-capable webcam?
in the context of an underwater ROV project, I'm trying to stream (via rtp) a HD video flux from a Raspberry Pi model 2. The webcam is a Logitech C920 webcam, which I bought a while ago because it was ...
2
votes
0
answers
481
views
Streaming video from Raspberry Pi to Android using GStreamer
That command is used by Raspberry
raspivid -t 0 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=192....
2
votes
1
answer
2k
views
Raspberry pi UDP stream to Android: what should the GStreamer pipeline look like?
Here is how I start GStreamer on the pi:
raspivid -n -w 1280 -h 720 -b 4500000 -fps 30 -vf -hf -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay ! udpsink host=192.168.1.7 port=9000
I've ...
1
vote
1
answer
4k
views
Use GStreamer to pack existing h264 stream and send it over network to VLC
I'm trying to stream from Raspberry PI camera over network using raspivid and gstreamer cli. I want to be able to view the stream using VLC "open network stream" on the client.
This is related to ...