Bug 3458

Summary: GStreamer X11 packages missing in sato image
Product: [Runtime] General Runtime Reporter: Chen Qi <Qi.Chen>
Component: General RuntimeAssignee: Ross Burton <ross.burton>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, liang.li2, ross.burton, yi.zhao
Version: 1.4   
Target Milestone: 1.4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: ---
Attachments:
Description Flags
gst-inspect output with 20121114 build
none
gst-inspect output with 1.3 none

Description Chen Qi 2012-11-19 06:24:23 UTC
branch: master
commit: 1fd9a16d2a4594a4e9179dc7353ac51ce32eb712
Image: http://autobuilder.yoctoproject.org/pub/nightly/20121114-1/machines/beagleboard/

When playing video (.ogg) on beagleboard, there's no picture on screen, all black. BTW, the audio is OK.
Comment 1 Ross Burton 2012-11-19 10:11:49 UTC
Ogg Theora video I presume.  How did you play video?
Comment 2 Chen Qi 2012-11-19 10:16:42 UTC
(In reply to comment #1)
> Ogg Theora video I presume.  How did you play video?

Open video application -> add .ogg file to it -> play
(This works on previous versions on the same board. But this time, there's no sound.)
Comment 3 Chen Qi 2012-11-19 10:17:40 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Ogg Theora video I presume.  How did you play video?
> 
> Open video application -> add .ogg file to it -> play
> (This works on previous versions on the same board. But this time, there's
> no sound.)

Sorry for my carelessness. 
"There's no sound." --> "There's only sound."
Comment 4 Ross Burton 2012-11-19 10:17:53 UTC
What Video application?  core-image-sato only comes with a music player, so presumably you're installing something else when doing QA.
Comment 5 Chen Qi 2012-11-19 10:21:58 UTC
(In reply to comment #4)
> What Video application?  core-image-sato only comes with a music player, so
> presumably you're installing something else when doing QA.

I think it does have a default video player because the application's icon is on desktop (with the name of "video").
I didn't install anything else.
Comment 6 Ross Burton 2012-11-19 10:43:34 UTC
Ah, that's probably the owl-av demo.  Not sure why I can't see it in my image.

So for reference, that's GStreamer with Playbin2 or Playbin (probably Playbin2).
Comment 7 Ross Burton 2012-11-19 10:44:33 UTC
From a command line, try:

$ gst-launch playbin2 uri=file:///path/to/test/video.ogv

Any output from gst-launch would be useful.
Comment 8 Yi Zhao 2012-11-20 10:03:00 UTC
(In reply to comment #7)
> From a command line, try:
> 
> $ gst-launch playbin2 uri=file:///path/to/test/video.ogv
> 
> Any output from gst-launch would be useful.

Here is the output:
####################
root@beagleboard:~# gst-launch playbin2 uri=file:///home/root/test-cases/mulitimedia/video/video.ogg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "playbin20".
Execution ended after 31516967772 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@beagleboard:~# 
##################

No video output but the audio is OK.
Comment 9 Ross Burton 2012-12-03 13:56:31 UTC
Can you attach the output of "gst-inspect".  I have a hunch.
Comment 10 Yi Zhao 2012-12-04 07:30:36 UTC
Created attachment 966 [details]
gst-inspect output with 20121114 build
Comment 11 Yi Zhao 2012-12-04 07:36:58 UTC
Created attachment 967 [details]
gst-inspect output with 1.3

I also attached a gst-inspect output for 1.3. There is no this issue in 1.3. I diffed these 2 output files and found there was missing 1 plugin: "ximagesink:  ximagesink: Video sink" in 20121114 build.
Comment 12 Ross Burton 2012-12-04 09:34:54 UTC
Yes, that was my hunch.  Thanks.

gstreamer was changed to split the x11 packages into a separate meta group, but it's not installed anywhere.
Comment 13 Ross Burton 2012-12-04 20:59:49 UTC
Fix sent to oe-core.
Comment 14 Ross Burton 2012-12-06 16:07:11 UTC
Fixed in oe-core master 84956b59ba828c88ede0c2d77c90b59330bcab68.
Comment 15 Yi Zhao 2012-12-27 08:34:31 UTC
Verified with master branch
git commit: 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a