官方明确说可以使用gstreamer,并且提供了gstreamer的一些样例
https://devtalk.nvidia.com/default/topic/920426/encode-h265-on-tx1/
http://developer.download.nvidia.com/embedded/L4T/r23_Release_v1.0/L4T_Tegra_X1_Multimedia_User_Guide.pdf
因此就先按这个流程走一遍吧,后续应该会使用修改版的x265进行实验。因此未完待续。
一开始使用video/x-raw这个参数一直有问题,看到http://stackoverflow.com/questions/27419113/playing-a-raw-video-using-gst-launch 这个。没太细究,换成videoparse吧
然后基本流程可以follow这个博主的步骤。ps:使用gst-inspect-1.0 –-version 查看到已经安装了1.8的版本了。
https://www.findhao.net/easycoding/1646
注意到使用了videoparse,这个是包含在bad组件中的 这需要另外安装gstreamer的其他组件
sudo apt-getinstall gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad