I have recently posted another issue but it stopped getting any replies, even though none of the issues were fixed, or provided an alternative solution for.
I am trying to build a gstreamer pipeline that ends up recording from 6 different video sources, combines them together into one video source, and then passes it to an encoder (nvv4l2h264enc or nvv4l2h265enc), to then save into a file. The issue is, neither of those encoders works.
After testing around, I have gotten the command below to show me that nothing is getting through the encoder plugin, but I have not been able to identify why.
gst-launch-1.0 -v nvarguscamerasrc sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)5328, height=(int)4512, format=(string)NV12, framerate=(fraction)15/1" ! nvvidconv ! "video/x-raw(memory:NVMM), width=(int)4096, height=(int)4096" ! nvv4l2h264enc ! fakesink silent=false
For h265, on the other hand, the issue is different. It actually prompts a few errors to show up, but I can’t identify why, or what might be causing them. The pipeline is similar.
gst-launch-1.0 nvarguscamerasrc sensor-mode=0 ! "video/x-raw(memory:NVMM), width=(int)5328, height=(int)4512, format=(string)NV12, framerate=(fraction)15/1" ! nvvidconv ! "video/x-raw(memory:NVMM), width=(int)4096, height=(int)4096" ! nvv4l2h265enc ! h265parse ! mp4mux ! filesink location=filename.mp4 -e
The errors that show up are the following:
Note: The muxer does not particularly matter, as long as it’s mp4mux, qtmux, or matroskamux. I am using a TX2 dev kit, with JetPack 4.5.1, and L4T R32.5.1.