I’m trying to developing application on Jetson Nano which receives RTSP stream and stream it to Chrome web browser.
gst_parse_launch ("rtspsrc location=rtsp://admin:firstname.lastname@example.org/H.264/media.smp ! queue ! rtph264depay ! nvv4l2decoder ! nvvideoconvert ! video/x-raw(memory:NVMM),format=NV12 ! nvv4l2h264enc bitrate=4000000 ! rtph264pay name=pay0 pt=96 ! webrtcbin name=webrtcbin", &error);
But, video stream on Chrome is choppy, despite usage state of CPU and GPU on Nano is at low.
So, I changed video source to ‘nvarguscamerasrc’ and it has no problems!
gst_parse_launch ("nvarguscamerasrc ! video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1 ! nvv4l2h264enc bitrate=4000000 ! rtph264pay ! webrtcbin name=webrtcbin ", &error);
At now, I have no idea in gstreamer, deepstream plug-in, Chrome, … which side occurred this problem .
Can get any advice on this issue?
PS. Please refer my Jetson Nano’s state.
- Write image is downloaded on today from nvidia website.
- Deepstream SDK 5.0 installed and sample apps can runs.
- Install some libraries required by centricular examples. That’s it.
sudo apt-get install -y gstreamer1.0-tools gstreamer1.0-nice gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good libgstreamer1.0-dev git libglib2.0-dev libgstreamer-plugins-bad1.0-dev libsoup2.4-dev libjson-glib-dev