Anyone encounters the problem with VLC? The VLC player crashes if I let it open a gst-launch output (mp4 video). The video plays okay in other tools, such as the build-in video player on TX2.
I removed and re-installed the VLC, still no luck. The VLC version stays 2.2.2. I know the latest version should be 3 something. But the Ubuntu Software manager seems only get that far. Besides, I’m not sure if a newer version would help or not.
The gst-launch is a basic one, like:
gst-launch-1.0 -e nvcamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), format=(string)I420, width=(int)640, height=(int)480’ ! omxh264enc ! ‘video/x-h264, streamformat=(string)byte-stream’ ! h264parse ! qtmux ! filesink location=test.mp4
Also tried on cvlc. The error message I got from running cvlc was
$ cvlc test.mp4
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[000000000052a290] dummy interface: using the dummy interface module...
Bus error (core dumped)
By the way, the issue of having the video+audio play in web browser has been resolved. See follow up in
https://devtalk.nvidia.com/default/topic/1032516/how-to-create-mp4-video-playable-on-web-browser-/?offset=13#5254896