Bug 6823

Summary: ogg video playback not working
Product: [Build System, Metadata & Runtime] BSPs Reporter: Mihail Stanciu <stanciux.mihail>
Component: bsps-meta-intelAssignee: Darren Hart <dvhart>
Status: CLOSED INVALID QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Undecided CC: ross.burton, tom.zanussi
Version: 1.7   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
ogg file used when testing none

Description Mihail Stanciu 2014-10-10 11:57:37 UTC
Created attachment 2178 [details]
ogg file used when testing

BSP affected: jasperforest
AB link: http://yocto-ab-master.jf.intel.com/pub/releases/2.0-rc2-dizzy-1.7-rc2/machines/jasperforest/core-image-sato-sdk-jasperforest.hddimg

Expected behaviour: Load ogg file in video player, press play; video plays back successfully
Observer behaviour: playback fails with error message: "Configured audiosink audiosink is not working."

Further investigation:
Attempted playback using command: 
gst-launch playbin2 uri="file:///home/root/media/Tromboon-sample.ogg"

Output:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstURIDecodeBin:uridecodebin0: Invalid URI "/home/root/media/Tromboon-sample.ogg".
Additional debug info:
/home/pokybuild/yocto-autobuilder/yocto-worker/jasperforest/build/build/tmp/work/corei7-64-poky-linux/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gsturidecodebin.c(1262): gen_source_element (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 1 Ross Burton 2014-10-10 12:03:01 UTC
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstURIDecodeBin:uridecodebin0: Invalid URI "/home/root/media/Tromboon-sample.ogg".

You passed an invalid URI to playbin2.  Please try again using file:///home/root/media/Tromboon-sample.ogg and see if playbin2 works on its own.
Comment 2 Mihail Stanciu 2014-10-10 12:06:42 UTC
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0: The autoaudiosink element is not working.
Additional debug info:
/home/pokybuild/yocto-autobuilder/yocto-worker/jasperforest/build/build/tmp/work/corei7-64-poky-linux/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gstplaysink.c(1906): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Proper command output.
Comment 3 Mihail Stanciu 2014-10-10 12:34:30 UTC
Output requested by ross:

gst-launch playbin2 uri="/home/root/media/Tromboon-sample.ogg" audio-sink="alsasink"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0: Configured audiosink bin0 is not working.
Additional debug info:
/home/pokybuild/yocto-autobuilder/yocto-worker/jasperforest/build/build/tmp/work/corei7-64-poky-linux/gst-plugins-base/0.10.36-r8/gst-plugins-base-0.10.36/gst/playback/gstplaysink.c(1899): gen_audio_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 4 Mihail Stanciu 2014-10-10 12:47:22 UTC
More output requested by ross:

root@jasperforest:~# alsamixer
cannot open mixer: No such file or directory

root@jasperforest:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
Comment 5 Mihail Stanciu 2014-10-10 14:36:55 UTC
Wrong testcase.
Jasperforest has no soundcard to test.
Comment 6 Mihail Stanciu 2014-10-10 14:37:08 UTC
Closing.