streaming video from basler pylon camera to web browser

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

streaming video from basler pylon camera to web browser

isshed
Hi All,

I am very new to gstreamer and want to build an application where I
want to sstream video from basler pylon camera to web browser. I want
to do it inside a docker on Nvidia's TX2.

Below are the few commands I tried for a video.

#generating udp sink
gst-launch-1.0 -v filesrc location=my_video.mp4 ! decodebin ! x264enc
! rtph264pay ! udpsink port=5000

#from udp generating RTSP stream and using gst-rtsp-server
./test-launch "( udpsrc port=554 ! application/x-rtp, media=video,
clock-rate=90000, encoding-name=H264, payload=96 ! rtph264depay !
h264parse ! x264enc ! rtph264pay name=pay0 pt=96 )"

Then this RTSP stream I am playing in a VLC player.

Can you please suggest if this is correct approach or is there any
better approach.

Thanks,
Issac
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: streaming video from basler pylon camera to web browser

Vinod Kesti
Re-encoding is not required. Directly you can ingest RTP stream to Server.

x264enc is removed in the pipeline
#from udp generating RTSP stream and using gst-rtsp-server
./test-launch "( udpsrc port=554 ! application/x-rtp, media=video,
clock-rate=90000, encoding-name=H264, payload=96 ! rtph264depay !
h264parse ! rtph264pay name=pay0 pt=96 )"




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel