# Using gstreamer1.0 on Raspberry Pi 3B

**URL:** <https://discuss.bluerobotics.com/t/using-gstreamer1-0-on-raspberry-pi-3b/6753>\
**Category:** Modifications\
**Created:** [January 26, 2020, 2:24pm UTC](https://discuss.bluerobotics.com/t/using-gstreamer1-0-on-raspberry-pi-3b/6753 "2020-01-26T14:24:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rimu](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rimu/32/3681_2.png) [@rimu](https://discuss.bluerobotics.com/u/rimu)\
**Post date:** [January 27, 2020, 6:15am UTC](https://discuss.bluerobotics.com/t/using-gstreamer1-0-on-raspberry-pi-3b/6753/3 "2020-01-27T06:15:10Z")

</div>

Thank you for your advice. i have tried the command you suggest and as a result i got the test video on my PC. Then i tried to use the H264 camera. i got the camera video when i run the command below:

> gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! x264enc ! queue ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.2.1 port=5600

but a new problem: big delay, about 4 seconds. Then i find the configuration in /camera:

> ! h264parse  
> ! queue  
> ! rtph264pay config-interval=10 pt=96  
> ! udpsink host=192.168.2.1:5600

so i add these in the command:

> gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! **h264parse****! queue **! rtph264pay** config-interval=10 pt=96**! udpsink host=192.168.2.1 port=5600

return an error: `Warning: Bad pipeline: Unable to link v4l2src0 to h264parse0` but i think these parts are necessary.  
so i try this command:

> gst-launch-1.0 -v **fdsrc**! video/ **x-h264** ,width=640,height=480,framerate=24/1 ! h264parse ! queue ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.2.1 port=5600

from [https://discuss.bluerobotics.com/t/ardusub-submodules/194/15?u=rimu](https://discuss.bluerobotics.com/t/ardusub-submodules/194/15)  
with no error, but don’t have the video. just no response.

On my personal computer, I have always used the python code copied from the website：[OpenCV · GitBook](https://www.ardusub.com/developers/opencv.html).  
i have tried all i found but didn’t work. what should i do then? Thank you!

---

_[View the full topic](https://discuss.bluerobotics.com/t/using-gstreamer1-0-on-raspberry-pi-3b/6753)._
