<div dir="ltr">hello, <div><br></div><div>iirc to get ffdev_h264 I have to install some ffmpeg package (which are no more in the official ubuntu repository)</div><div>there is a ppa for that, see : <a href="https://groups.google.com/forum/#!topic/clementine-player/JnGgRyUEuc4">https://groups.google.com/forum/#!topic/clementine-player/JnGgRyUEuc4</a></div><div><br></div><div>and I've done less than a year ago to stream an RPi camera to GEM, see <a href="http://antoine.villeret.free.fr/?p=846">http://antoine.villeret.free.fr/?p=846</a></div><div><br></div><div>++</div><div>a</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2015-11-16 13:19 GMT+01:00 Benjamin ~ b01 <span dir="ltr"><<a href="mailto:benjah@free.fr" target="_blank">benjah@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
we successfully managed to get video stream into Gem/pix_video with<br>
v4l2loopback booth with gstreamer and ffmpeg, we used ffmpeg at the end,<br>
maybe some help by there :<br>
<a href="http://wiki.labomedia.org/index.php/AstroFluxTechnique#Pour_Debug" rel="noreferrer" target="_blank">http://wiki.labomedia.org/index.php/AstroFluxTechnique#Pour_Debug</a><br>
<a href="http://wiki.labomedia.org/index.php/AstroFluxTechnique#Minicaster_Stream" rel="noreferrer" target="_blank">http://wiki.labomedia.org/index.php/AstroFluxTechnique#Minicaster_Stream</a><br>
we used a compiled version of v4l2loopback<br>
<a href="https://github.com/umlaeute/v4l2loopback" rel="noreferrer" target="_blank">https://github.com/umlaeute/v4l2loopback</a> to get the latest version<br>
and a static version of ffmpeg or a self compiled version of ffmpeg in<br>
function of the codec needs<br>
<br>
++<br>
<span class="HOEnZb"><font color="#888888">b<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
Le 12/11/2015 18:42, Jack a écrit :<br>
> Hello,<br>
><br>
> I would like to use pdgst to play a video stream in Gem.<br>
><br>
> I tried with the vlc plugin :<br>
> device tcp://<a href="http://192.168.1.101:5555" rel="noreferrer" target="_blank">192.168.1.101:5555</a><br>
><br>
> ... but like with :<br>
> $ vlc tcp://<a href="http://192.168.1.101:5555" rel="noreferrer" target="_blank">192.168.1.101:5555</a><br>
><br>
> ... i got a black screen.<br>
><br>
> I tried with gstreamer :<br>
> $ gst-launch-1.0 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse !<br>
> avdec_h264 ! xvimagesink<br>
><br>
> ... and i get the stream and everything is OK :)<br>
><br>
><br>
> So, I decided to use v4l2loopback to get the stream on /dev/video1, but<br>
> after :<br>
> # modprobe v4l2loopback<br>
> $ gst-launch-1.0 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse !<br>
> avdec_h264 ! v4l2sink device=/dev/video1<br>
><br>
> ... i got :<br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLING ...<br>
> ERROR: from element<br>
> /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: Internal data flow<br>
> error.<br>
> Additional debug info:<br>
> gstbasesrc.c(2943): gst_base_src_loop ():<br>
> /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:<br>
> streaming task paused, reason not-negotiated (-4)<br>
> ERROR: pipeline doesn't want to preroll.<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline ...<br>
><br>
> So I can't use pdgst nor pix_video to read the stream.<br>
><br>
> I also tried with :<br>
> $ gst-launch-0.10 tcpclientsrc host=192.168.1.102 port=5555 ! h264parse<br>
> ! avdec_h264 ! xvimagesink<br>
><br>
> but gstreamer (gst-launch-0.10) can't find the module "avdec_h264" (and<br>
> i can't get ffdec_h264 on my system, dont't know why yet).<br>
> Any suggestion to get the stream in Pd/Gem ?<br>
> Thanx.<br>
> ++<br>
><br>
> Jack<br>
><br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>