summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-04-27 10:25:05 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-04-27 10:25:05 +0200
commit647440853275dff09b6a78b5467d80f18dd6c17e (patch)
treeb53e6c9ecd109f32e94d3c33811e1353131b6f0b /ubuntu
parentd75854c577623fcadb4f9d84de3255d5de9f081d (diff)
ubuntu: fix instructions to test qcvideodec
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/boards/snapdragon/README.textile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/ubuntu/boards/snapdragon/README.textile.in b/ubuntu/boards/snapdragon/README.textile.in
index 569d456..0fcb153 100644
--- a/ubuntu/boards/snapdragon/README.textile.in
+++ b/ubuntu/boards/snapdragon/README.textile.in
@@ -351,21 +351,21 @@ This plugin can decode MPEG4 and H264 videos, and it generates raw video using a
In order to install all the required Gstreamer dependencies on your board, please run the following commands:
bc. sudo apt-get update
-sudo apt-get install gstreamer1.0-tools gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-plugins-qcvideo
+sudo apt-get install gstreamer1.0-tools gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-plugin-qcvideo
Also, to use video acceleration, a specific kernel must be used for now. Hence you need to download, install and boot the kernel from the Linaro 14.10 release:
On the board running the current release, you need to run the following commands:
bc. cd /tmp
-wget dpkg -x linux-image-3.4.0-linaro-ifc6410_3.4.0-linaro-ifc6410-1_armhf.deb linaro_14.10
+wget http://releases.linaro.org/14.10/ubuntu/ifc6410/linux-image-3.4.0-linaro-ifc6410_3.4.0-linaro-ifc6410-1_armhf.deb
dpkg -x linux-image-3.4.0-linaro-ifc6410_3.4.0-linaro-ifc6410-1_armhf.deb linaro_14.10
cp -a linaro_14.10/lib/modules/3.4.0-linaro-ifc6410/ /lib/modules
On your PC, download the following file:
bc. wget http://releases.linaro.org/14.10/ubuntu/ifc6410/boot-ifc6410-20141024-37.img.gz
-gunzip http://releases.linaro.org/14.10/ubuntu/ifc6410/boot-ifc6410-20141024-37.img.gz
+gunzip boot-ifc6410-20141024-37.img.gz
Finally, you need to reboot the board, and boot with the Linaro 14.10 kernel, you just downloaded, e.g. on your PC:
@@ -373,8 +373,10 @@ bc. sudo fastboot boot boot-ifc6410-20141024-37.img
Once the plugin is installed and the board booted with the 3.4 kernel from Linaro 14.10, you can use the plugin:
-bc. X&
+bc. export DISPLAY=:0
+X&
metacity&
+pulseaudio &
gst-launch-1.0 playbin uri=http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_surround.avi
Note that depending on your network bandwidth, it is probably better to download the video file and play it locally.