Add sound to video playback 00/2300/1 accepted/trunk/20121112.150636 submit/trunk/20121112.152859
authorGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Mon, 12 Nov 2012 15:26:10 +0000 (16:26 +0100)
committerGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Mon, 12 Nov 2012 15:26:10 +0000 (16:26 +0100)
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Change-Id: I205e23a3426b192d1e76a326673414e842682829

packaging/ivi-demo-config.spec
packaging/start_video.sh

index 582b018..a4492f7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       ivi-demo-config
 Summary:    Custom configs for Tizen IVI demos
-Version:    0.0.9
+Version:    0.1.0
 Release:    1
 Group:      System Environment/Libraries
 License:    Apache License, Version 2.0
index b256707..4ec777d 100644 (file)
@@ -1,6 +1,7 @@
 #!/bin/bash
-       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/Visual_Dreams_720.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true ;
-       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/sintel_720.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true ;
-       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/BigBuckBunny_512kb.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true ;
-       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/Rico_Star.mp4 ! qtdemux ! vaapidecode ! vaapisink fullscreen=true ;
+VOLUME=0.5
+       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/Visual_Dreams_720.mp4 ! qtdemux name=demuxer demuxer.video_00 ! vaapidecode ! vaapisink fullscreen=true demuxer.audio_00 ! queue ! decodebin ! pulsesink buffer-time=1190 volume=$VOLUME;
+       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/sintel_720.mp4 ! qtdemux name=demuxer demuxer.video_00 ! vaapidecode ! vaapisink fullscreen=true demuxer.audio_00 ! queue ! decodebin ! pulsesink buffer-time=1190 volume=$VOLUME;
+       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/BigBuckBunny_512kb.mp4 ! qtdemux name=demuxer demuxer.video_00 ! vaapidecode ! vaapisink fullscreen=true demuxer.audio_00 ! queue ! decodebin ! pulsesink buffer-time=1190 volume=$VOLUME;
+       gst-launch-0.10 filesrc location=/usr/share/sample-media/videos/Rico_Star.mp4 ! qtdemux name=demuxer demuxer.video_00 ! vaapidecode ! vaapisink fullscreen=true demuxer.audio_00 ! queue ! decodebin ! pulsesink buffer-time=1190 volume=$VOLUME;