Streaming on web page

I have a Jetson TX2 and 6 IMX274 cameras. I would like to stream one or more of these cameras on an html page. Does Argus provide any options to create this stream? I was able to start a preview stream using sample 09_camera_jpeg_capture but I’d like to be able to view this stream over the network while I’m also recording frames and h264/h265 video locally.

Thank you

Hi mmorsy,
For tegra_multimedia_api, you have to integrate the samples into your usecase.

You can also try gatreamer.
[url]https://devtalk.nvidia.com/default/topic/1018689/jetson-tx2/vlc-playing-gstreamer-flow/post/5187270/#5187270[/url]
[url]https://devtalk.nvidia.com/default/topic/1014789/jetson-tx1/-the-cpu-usage-cannot-down-use-cuda-decode-/post/5188538/#5188538[/url]

Thanks but I’d like to use HTTP Not rtsp. I was looking at the command at:

https://devtalk.nvidia.com/default/topic/954156/jetson-tx1/rtsp-and-http-streaming-over-network/

This option uses hlssink. I modified it to:

sudo gst-launch-1.0 nvcamerasrc sensor-id = 0 ! ‘video/x-raw(memory:NVMM),width=1280, height=720, framerate=60/1, format=NV12’ ! hlssink max-files=5 playlist-location=/var/www/playlist.m3u8 location=/var/www/segment%05d.ts playlist-root=http://[MY TX2’s IP]

But I’m not sure if it is working. When I visit my IP address I don’t get a stream. What do I need to change?

Thanks

/var/www/ tends to imply having a http server running on your system.

I don’t have a http server running, but I have been able to use this from file with onboard camera with this pipeline, using H264 encoding and mpeg TS mux:

gst-launch-1.0 nvcamerasrc  ! nvvidconv ! 'video/x-raw(memory:NVMM), format=I420, width=640, height=480, framerate=30/1' ! omxh264enc bitrate=10000000 ! h264parse ! mpegtsmux ! hlssink max-files=5 location=hlssink.%05d.ts playlist-location=playlist.m3u8

After 1st ts file is completed, the playlist.m3u8 file is created and I can read it with my web browser (firefox calls my default video reader). This gives minimum 15s latency. Not sure this is reliable, but you may try and improve.