How to use NVidia video hardware acceleration ?
This bug report was converted into a question: question #212166: How to use NVidia video hardware acceleration ?.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-tegra (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With the release of a package with the official nvidia tegra drivers in Quantal, I hoped that I will able to read my video files on my ac100 with hardware acceleration (as with original Android).
With mplayer provided by default with the lubuntu distribution, the whole system freezes for each format I tried (mpeg2, H264 ...)
I would try VLC (that support OpenMAX), but I doesn't find how to rely it with the NVidia implementation (given by libnvomxilclient.so I suppose)
I don't know if I had completly miss the good way to read a video with Quantal, or if I'm on the right direction ...
I think that if I'm right, I will not be the only one that is interested by this subject ...
Thanks a lot
Flo
Changed in nvidia-graphics-drivers-tegra (Ubuntu): | |
status: | Invalid → New |
status: | New → Invalid |
I search a bit more and discover "nvgstplayer" included in the linux4tegra SDK.
It works great (seems, not tested so mush) with very low cpu usage, for divx and 480p h264 files !!!
But I have errors for 720p h264 (insufficient ressource) or mpeg1/mpeg2 (insufficient ressource too, but it's very strange because it occurs even on very low resolution video size, by opposition of h264 files that works under 480p)
Here what I did to install it (not sure all is mandatory) : gstreamer- 0.10" and "lib/firmware/ nvmm_*" and "usr/lib/ nvgstplayer" nvidia- tegra/libEGL. so.1 /usr/lib/libEGL.so nvidia- tegra/libGLESv1 _CM.so. 1 /usr/lib/ libGLESv1_ CM.so nvidia- tegra/libGLESv2 .so.2 /usr/lib/ libGLESv2. so gstreamer- 0.10/libgstomx. so /usr/lib/ arm-linux- gnueabihf/ gstreamer- 0.10/ gstreamer- 0.10/libgstnvxv imagesink. so /usr/lib/ arm-linux- gnueabihf/ gstreamer- 0.10/
- copy from SDK "usr/lib/
- create some link
ln -s /usr/lib/
ln -s /usr/lib/
ln -s /usr/lib/
ln -s /usr/lib/
ln -s /usr/lib/
- install some gstreamer-0.10 packages (alsa, pulseaudio, good, bad, ugly, base ...)
And then launch nvgstplayer -i pathtovideofile