Problem with rpicamsrc and shmsink/shmsrc on Raspberry Pi 2

Mandar Joshi emailmandar at gmail.com
Sun Jun 5 10:56:20 UTC 2016


Hello everyone,
I am trying to use rpicamsrc with shmsink and then use shmsrc to with
test-launch (gst-rtsp-server)
Here are the pipelines


On Raspberry Pi 2
gst-launch-1.0 -vvv rpicamsrc preview=0 fullscreen=0 vflip=true
image-effect=12 ! video/x-h264,width=640,height=480 ! h264parse !
rtph264pay ! shmsink socket-path=/tmp/camera0
wait-for-connection=false shm-size=10000000

./test-launch "( shmsrc socket-path=/tmp/camera0 do-timestamp=true !
application/x-rtp,clock-rate=90000 ! rtph264depay ! rtph264pay
name=pay0 pt=96 )" 10.0.0.2 <--my addition to bind to a particular
interface


On x86_64
gst-launch-1.0 rtspsrc location=rtsp://10.0.0.2:8554/test !
rtph264depay ! avdec_h264 !  xvimagesink sync=false

This doesn't work.

But if I just decode and re-encode the video on Raspberry Pi 2, It works.

gst-launch-1.0 -vvv rpicamsrc preview=0 fullscreen=0 vflip=true
image-effect=12 ! video/x-h264,width=640,height=480,profile=high !
omxh264dec ! omxh264enc ! rtph264pay ! shmsink
socket-path=/tmp/camera0 wait-for-connection=false shm-size=10000000

What am I doing wrong?


Regards
Mandar Joshi


More information about the gstreamer-devel mailing list