I am trying to use gstreamer to trancode ts mpeg-2 videos into mp4 and I noticed that for some reason when I call gst-inspect-1.0 nvv4l2h264enc
No such element or plugin ‘nvv4l2h264enc’
when I try to install plugins-bad, it tells me that it is already the more recent version:
sudo apt-get install gstreamer1.0-tools gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
(sample line from output)
gstreamer1.0-plugins-bad is already the newest version (1.14.5-0ubuntu1~18.04.1).
I read that some people suggest to reflash the device, but in my case, we already have code and environment setup on Xavier, and if I reflash it, we lose everything.
This is used by our public school to record security videos. The videos are being recorded as .TS format and are near 200GB each. I noticed that if I compress them into mp4, they drop to less than 20GB if not 15GB. I tried to transcode with ffmpeg but I am told it does not have GPU support for encoding on Xavier. So, now I am trying to do it with gstreamer, and I understand I need these encoders to use GPU for transcoding.
Without GPU, transcoding will take too long, because the system still records and we are running out of space.
The contractor who set it up left, and I now need to figure this out. Would greatly appreciate the help.