Bug 3566 - libowl-av should construct video pipelines properly
Summary: libowl-av should construct video pipelines properly
Status: VERIFIED DUPLICATE of bug 5206
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: multimedia (show other bugs)
Version: 1.4
Hardware: x86 x86
: Medium normal
Target Milestone: 1.5
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-12-11 21:06 UTC by Nitin Kamble
Modified: 2013-10-04 08:48 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2012-12-11 21:06:56 UTC
On EMGD graphics based platforms such as crownbay, the sato video player is not able to play video files. If it starts playing then the video goes bad quickly after starting the playback. On these platforms the command line gstreamer is able to play video fine. The command used to play video on command line is:

  gst-launch playbin2 uri="file:///home/root/myvideo.mp4"

Other Intel Graphics based platforms such as Sugarbay or Chiefriver, the sato video player is able to play the video fine, but it is consuming much more cpu. It consumes 5% to 10% cpu on sugarbay & chiefriver. On the same platforms the command line gstream video player consumes 0% to 1% cpu.

BTW Sample Video files for playback can be downloaded from this site:
  http://www.h264info.com/clips.html

- Nitin
Comment 1 Nitin Kamble 2012-12-11 21:07:30 UTC
CCing Ross
Comment 2 Ross Burton 2012-12-11 21:27:56 UTC
So the sato video player (correctly called libowl-av) uses playbin2 but does construct a video sink directly.  Can you confirm that "gst-inspect autovideosink" works for your image?

My hunch is that the problem is that libav-owl is forcing a X-based sink, but as you're using VAAPI you need vaapisink.  This toy application is pretty old and predates VAAPI existing IIRC.

I *think* this can be solved by - as usual - deleting code in libowl-av.
Comment 3 Nitin Kamble 2012-12-11 21:30:21 UTC
There is an ancient bug related to this: Bug 615

https://bugzilla.yoctoproject.org/show_bug.cgi?id=615
Comment 4 Ross Burton 2013-02-14 16:42:10 UTC
libowl-av needs to let the pipeline construct a sink and use it, instead of passing the pipeline its own sink.
Comment 5 Ross Burton 2013-09-25 10:52:06 UTC
Merging into the master video player bug.

*** This bug has been marked as a duplicate of bug 5206 ***
Comment 6 Alexandru Georgescu 2013-10-04 08:48:41 UTC
verified as per above comments.