Thanks. This is very useful to know as the 4K streams are a bit heavy to deal with. There’s some nice satisfaction in pushing that little Nano. The Xavier NX would also be nice, but a bit out of my budget at the moment.
Actually even the first line alone gives me the following :
GStreamer-CRITICAL **: 00:03:56.424: gst_element_make_from_uri: assertion ‘gst_uri_is_valid (uri)’ failed
WARNING : erroneous pipeline: no element “video”
NB: I am running it on my Jetson Nano, with gst_loopback running
Paste your entire pipeline from gst-launch-1.0 into the forum.
Paste your code snippet of gst_viewer.c from roughly line 186 to line 193. Make sure the snippet includes the code after pipe_proc = in the if statement for gst_loopback.
You must adjust the C code for gst_viewer.c to match the /dev/video* device of your particular setup. Likely, you need to set it to /dev/video0. Alternately, you can use the tip by snaffu666 and use the video_nr option of v4l2loopback.
Hello again sir,
so I installed the gstramer plug-ins, instanciated the video device as vid99 as suggested and adjusted the C code of gst_viewer.c and still get the same error,
here you can find my pipeline and my error and also the result I get when I inspect h264parse.
Thank you for your help !!!
hello, thank you again for all your help!
it really means a lot, so I run the command, it worked and the resulted file is not corrupted! (hallelujah), but it has a problem of speed or fps… the video is not fluid at all, it seems to be accelerated a lot, I have a resulted video of 3seconds when I record for 23 seconds for example
One other interesting aspect. The reason why I used huffman encoding is that I typically see a 30% lossless size reduction. This can be critical when saving to the SD card as there are bandwidth limitations on that front. You can always display directly with something like: