[PD] pdgst and videoloopback

Jack jack at rybn.org
Mon Nov 16 17:46:54 CET 2015


Thank you very much Benjamin, you make my day.
I just install ffmpeg and it is working very nice where avconv couldn't
decode the stream !!!
++

Jack



Le 16/11/2015 17:08, Benjamin ~ b01 a écrit :
> Le 16/11/2015 16:19, Jack a écrit :
>> Hello Benjamin,
>>
>> Yes, I tried with ffdec_h264 but it is very, very slow compared to
>> avdec_h264 which, if i am right, is only available with gst-launch-1.0.
>> And, if i am right (again), v4l2sink doesn't work with gst-launch-1.0.
> why not using only ffmpeg which is able to write to a virtual v4l2
> device ? I had good result when decoding a h264 stream from those
> minicaster devices
> + possible to send the audio to Pd with jackd
> 
>> So I have to imagine a workaround, like a pipe : gst-launch-1.0 ->
>> gst-launch-0.10 -> v4l2sink.
>> If someone have a recommandation ?
>> Thanx.
>> ++
>>
>> Jack
>>
>>
>>
>> Le 16/11/2015 13:19, Benjamin ~ b01 a écrit :
>>> 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
>>>
>>
>> _______________________________________________
>> 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
> 




More information about the Pd-list mailing list