Video to stdout

Nicolas Dufresne nicolas at ndufresne.ca
Wed May 8 16:39:26 UTC 2019


Le mercredi 08 mai 2019 à 08:46 -0500, lec1 a écrit :
> Thanks for your reply Le vendredi. I am sorry I had not been able to reply
> sooner. 
> The pipeline example you provided worked when using it at the command prompt
> but does not seem to work when embedding the first part of it on the Node.js
> application.
> 
> Since my source is an RTSP uri, I modified your example from the provided
> pipeline (namely: 
> > gst-launch-1.0 -q videotestsrc !
> > video/x-raw,format=YUY2,width=640,height=480 ! fdsink 
> 
> to 
> gst-launch-1.0 -q uridecodebin uri=rtsp://192.168.1.x:8822/test.stm ! fdsink 
> and here I agree with you that at the end of the pipleline there is a
> continuous blob, however if I expand this to:
> gst-launch-1.0 -q uridecodebin uri=rtsp://192.168.1.x:8822/test.stm !
> video/x-raw,format=YUY2,width=640,height=480 ! fdsink | gst-launch-1.0 fdsrc
> ! rawvideoparse format=yuy2 width=640 height=480 framerate=0/1 !
> videoconvert ! autovideosink sync=0 
> The pipeline seems to stall.

Make sure to test your pipeline with fakesink first (and GST_DEBUG=2),
you cannot see that warnings or the error in this mode. Here's a
reference using public URI that I know works:

gst-launch-1.0 -q  uridecodebin caps=video/x-raw uri=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov ! fdsink | gst-launch-1.0 fdsrc ! rawvideoparse format=nv12 width=240 height=160 ! videoconvert ! autovideosink sync=0

> 
> The video server pipeline is similar to:
>  
> gst-launch-1.0 videotestsrc !
> video/x-raw,width=640,height=480,framerate=30/1 ! timeoverlay
> font-desc="calibri 75px" valignment=top halignment=center ! textoverlay
> valignment=center halignment=center text="This is a test screen "
> font-desc="calibri 75px" ! x264enc tune=zerolatency ! rtph264pay pt=96
> name=pay0 config-interval=1 ...
> 
> Thanks.
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190508/49b620eb/attachment.sig>


More information about the gstreamer-devel mailing list