Jetson TK1 - VLC hardware-accelerated decoding?

I’m using Blender’s Sintel to test video through VLC and video playback is very choppy. Is this because VLC is not utilizing the CUDA libraries for hardware-accelerated decoding? The only other available option under Input/Codecs preferences is the Video Acceleration (VA) API.

I believe the issue is VLC doesn’t utilize gstreamer (in particular NVIDIA’s nv_omx_h264dec element), rather ffmpeg I think. Check out http://elinux.org/Jetson/H264_Codec for some information about gstreamer.

One should be able to use the nv_gl_eglimagesink element to view video, in a pipeline similar to:

gst-launch filesrc location=<FILENAME>.mkv ! matroskademux ! queue ! h264parse ! nv_omx_h264dec ! nv_gl_eglimagesink

Use Totem - support software decoding, but utilize all cpu cores. Works fine on 1080p with >100Mbps bandwidth rate.

XBMC and mplayer is worst, but standard movies 1080p movies works fine (below 20Mbps, sw decoding, because use one cpu core)

Workaround is configure external player (totem) for XBMC.

Anybody know is any progress for hw decoding in XBMC (like nvgstplayer) ?

Totem? GNOME videos? The default video player that comes with TK1? I tried to play Sintel.2010.1080p.mkv and got an error message:

An error occurred
Can’t play a text file without video or visualizations.

Update: I installed restricted extras and now have a green image… thing. It’s weird.

According to eLinux, it can be fixed:

http://elinux.org/Tegra/Downstream_SW/Linux4Tegra

ubuntu@tegra-ubuntu:~$ sudo apt-get remove gstreamer1.0-plugins-bad*
[sudo] password for ubuntu:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘gstreamer1.0-plugins-base-apps’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-base-doc’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-bad-dbg’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-bad-videoparsers’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-bad-doc’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-bad-faad’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-base’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-base-dbg’ for regex ‘gstreamer1.0-plugins-bad*’
Note, selecting ‘gstreamer1.0-plugins-bad’ for regex ‘gstreamer1.0-plugins-bad*’
Package ‘gstreamer1.0-plugins-base-dbg’ is not installed, so not removed
Package ‘gstreamer1.0-plugins-base-doc’ is not installed, so not removed
Package ‘gstreamer1.0-plugins-bad-dbg’ is not installed, so not removed
Package ‘gstreamer1.0-plugins-bad-doc’ is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or
gnome-control-center but it is not going to be installed or
ubuntu-system-settings but it is not going to be installed
libcheese-gtk23 : Depends: libcheese7 (>= 3.4.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

The video has yet to be un-greened.

Bump. Any advice for getting cuda-accelerated video playback to work? Or even non-accelerated video?

What kind of player are you looking for?

For something really simple you can try

nvgstplayer-0.10 -i <file.mp4>

Also for me it looks like XBMC is using multiple cores with SW decoding. Although I didn’t try anything above 1080p 20M.

VLC add support for OpenMAX
gstreamer has gst-omx => totem should work fine