[PD] pdgst and videoloopback

Jack jack at rybn.org
Thu Nov 12 18:42:10 CET 2015


Hello,

I would like to use pdgst to play a video stream in Gem.

I tried with the vlc plugin :
device tcp://192.168.1.101:5555

... but like with :
$ vlc tcp://192.168.1.101:5555

... i got a black screen.

I tried with gstreamer :
$ gst-launch-1.0 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse !
avdec_h264 ! xvimagesink

... and i get the stream and everything is OK :)


So, I decided to use v4l2loopback to get the stream on /dev/video1, but
after :
# modprobe v4l2loopback
$ gst-launch-1.0 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse !
avdec_h264 ! v4l2sink device=/dev/video1

... i got :
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element
/GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: Internal data flow
error.
Additional debug info:
gstbasesrc.c(2943): gst_base_src_loop ():
/GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

So I can't use pdgst nor pix_video to read the stream.

I also tried with :
$ gst-launch-0.10 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse
! avdec_h264 ! xvimagesink

but gstreamer (gst-launch-0.10) can't find the module "avdec_h264" (and
i can't get ffdec_h264 on my system, dont't know why yet).
Any suggestion to get the stream in Pd/Gem ?
Thanx.
++

Jack




More information about the Pd-list mailing list