Hey, trying to do as the title says however even trying to open the camera using;
vlc v4l2:///dev/video1
creates the following error:
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingBus error
This is using an external camera attached through USB. At a loss here and would love some suggestions, thanks.
Which version of BSP you are using?
Could you also try,
vlc [any video-clip] and see if you get the same error?
I can see the error by play back a video clip and check on it now.
I’ve got the same problem on my TX1. I’ve tried updating VLC to 2.2.4 but it shows an error 'You cannot build VLC with Qt-5.5.0." I have tried resolving the issue (apparently it is a known bug) but none of the patches seem to work.
chijen, I take it from your latest comment you were able to install VLC 2.2.4. Could you please give me an indication of how you manages this?
Here is the details of issue debugging from our developer and we will provide you with more info on version 2.2.4.
…
"
VLC is not using gstreamer => omx path, it is using ffmpeg => omx path. This is VLC 2.2.2 version.
Bus error is coming from libomxil_plugin.so from VLC source, following is the gdb backtrace
Thread 10 “vlc” hit Breakpoint 1, NvxLiteH264DecoderLowLatencyInit (hComponent=0x7f8cc2ea88)
at /media/viranjan/extra_drive_2/dev_other/multimedia-partner/openmax/il/nvmm/components/nvxlitevideodecoder.c:2561
2561 /media/viranjan/extra_drive_2/dev_other/multimedia-partner/openmax/il/nvmm/components/nvxlitevideodecoder.c: No such file or directory.
(gdb) c
Continuing.
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and Mjstreaming[New Thread 0x7f9d329090 (LWP 7442)]
Thread 10 “vlc” received signal SIGBUS, Bus error.
0xfeedbeefdeadbabe in ?? ()
(gdb) bt #0 0xfeedbeefdeadbabe in ?? () #1 0x0000007f9d6e56d8 in ?? () from /usr/lib/vlc/plugins/codec/libomxil_plugin.so #2 0x0000007fb0662798 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) q
I compiled and installed VLC 2.2.4 version on T210 board, and it worked ok. This goes through the ffmpeg->avcodec path."
Compile VLC 2.2.4 on target ignoring Qt, also you will see couple of more package issues, ignore them as well and compile. After installing check your VLC version.
Also can you use gstreamer ? If yes we can provide sample pipeline for your use case.
sudo vim /etc/apt/sources.list
Add universe and multiverse at the end like below, if its missing
deb Index of /ubuntu-ports xenial main restricted universe multiverse
deb-src Index of /ubuntu-ports xenial main restricted universe multiverse
Further information to your response, I have compiled and installed VLC 2.2.4 ignoring the QT error and found that even once complete, the version information still reverts to 2.2.2?? I’d even removed the other version of VLC first!
EDIT: Please ignore the above, I have managed to update to 2.2.4