[PD] pdgst and videoloopback

Antoine Villeret antoine.villeret at gmail.com
Mon Nov 16 14:06:32 CET 2015


hello,

iirc to get ffdev_h264 I have to install some ffmpeg package (which are no
more in the official ubuntu repository)
there is a ppa for that, see :
https://groups.google.com/forum/#!topic/clementine-player/JnGgRyUEuc4

and I've done less than a year ago to stream an RPi camera to GEM, see
http://antoine.villeret.free.fr/?p=846

++
a

--
do it yourself
http://antoine.villeret.free.fr

2015-11-16 13:19 GMT+01:00 Benjamin ~ b01 <benjah at free.fr>:

> Hello,
>
> we successfully managed to get video stream into Gem/pix_video with
> v4l2loopback booth with gstreamer and ffmpeg, we used ffmpeg at the end,
> maybe some help by there :
> http://wiki.labomedia.org/index.php/AstroFluxTechnique#Pour_Debug
> http://wiki.labomedia.org/index.php/AstroFluxTechnique#Minicaster_Stream
> we used a compiled version of v4l2loopback
> https://github.com/umlaeute/v4l2loopback to get the latest version
> and a static version of ffmpeg or a self compiled version of ffmpeg in
> function of the codec needs
>
> ++
> b
>
> Le 12/11/2015 18:42, Jack a écrit :
> > 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
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151116/060efe3b/attachment.html>


More information about the Pd-list mailing list