diff options
author | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2015-02-06 17:36:05 +0100 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2015-02-10 15:28:53 +0100 |
commit | 2f3deede9240f192b540266a923b98425d072f92 (patch) | |
tree | 3dadad31ef2f556cf7d275f872f8b831ab1351b6 /Script | |
parent | ac4f1b6b5e6021c5ef6e9e3033e06215d4ba1274 (diff) | |
download | desktop-skin-2f3deede9240f192b540266a923b98425d072f92.tar.gz desktop-skin-2f3deede9240f192b540266a923b98425d072f92.tar.bz2 desktop-skin-2f3deede9240f192b540266a923b98425d072f92.zip |
new background for Tizen 3.0 Q4 release - new video toosubmit/tizen_common/20150210.142914submit/tizen_3.0.2014.q4_common/20150210.165939accepted/tizen/common/20150210.143049accepted/tizen/3.0.2014.q4/common/20150210.171323
Change-Id: If3a63307606c508b5816ea3cbe603c0198d59005
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Diffstat (limited to 'Script')
-rwxr-xr-x | Script/launch_video.sh | 3 | ||||
-rwxr-xr-x | Script/launch_video2.sh | 21 |
2 files changed, 21 insertions, 3 deletions
diff --git a/Script/launch_video.sh b/Script/launch_video.sh index 5d1ebb5..5b1293b 100755 --- a/Script/launch_video.sh +++ b/Script/launch_video.sh @@ -7,9 +7,6 @@ touch $HOME/gstvid-pid alreadyrunning=`cat $HOME/gstvid-pid` -#URL=http://intel07.vannes/~sdx/Downloads/Amazing%20Nature%20full%20HD%20720p.mp4 -#URL=http://intel07.vannes/~sdx/Videos/big_buck_bunny_480p_surround-fix.avi -#URL=http://intel07.vannes/~sdx/Videos/caminandes_480p.avi URL=file:///usr/share/media/videos/AmazingNature_480p.mp4 if [ $(echo $alreadyrunning | wc -w) -lt 3 ] ; then diff --git a/Script/launch_video2.sh b/Script/launch_video2.sh new file mode 100755 index 0000000..017fb0a --- /dev/null +++ b/Script/launch_video2.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +# +# Launch web cam +# + +touch $HOME/gstvid-pid +alreadyrunning=`cat $HOME/gstvid-pid` + +URL=file:///usr/share/media/videos/Caminandes_1080p.mp4 + +if [ $(echo $alreadyrunning | wc -w) -lt 1 ] ; then + echo "create new" + gst-launch-1.0 playbin uri=$URL & + echo $! >> $HOME/gstvid-pid +else echo "already running" + for x in $alreadyrunning; do kill -9 $x; done + rm -rf $HOME/gstvid-pid +fi + + |