All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dipesh Karmakar <Dipesh.Karmakar@hcl.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
	Meenakumari Shedole <meenakumari.s@hcl.com>
Subject: Re: Help-Gstreamer Vaapi Plugin Issue in 1080p mp4 playback
Date: Wed, 2 Apr 2014 13:43:10 +0000	[thread overview]
Message-ID: <97272D6808818244BD88BD72F19D658B03CAC1EB@chn-hclt-mbs06.HCLT.CORP.HCL.IN> (raw)
In-Reply-To: <CAJTo0LZt8JA25fpeCxbkdMH44rcNtKKE8vPvhrnPN8iLMcJYAA@mail.gmail.com>


We have checked avi, mp4, 3gp, ogv and many other extensions with gst-launch-0.10 playbin, all are playing properly except 1080p-mp4; its playing kind of slow-motion taking cpu usage >60%. Log reveals, lots of buffer drop in sink side.

gst-launch-0.10 playbin2 + mp4/avi is failing with following error,

libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: Found init function __vaDriverInit_0_32
libva error: /usr/lib/dri/i965_drv_video.so init failed
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit 

Based on the log, it's clear that playbin is using soft-decoder incase hw-decoder fails, hence taking high cpu usage, however playbin2 is only taking hw-decoder.

Dipesh

-----Original Message-----
From: Burton, Ross [mailto:ross.burton@intel.com] 
Sent: Wednesday, April 02, 2014 4:20 PM
To: Meenakumari Shedole
Cc: yocto@yoctoproject.org; Dipesh Karmakar
Subject: Re: [yocto] Help-Gstreamer Vaapi Plugin Issue in 1080p mp4 playback

On 1 April 2014 10:05, Meenakumari Shedole <meenakumari.s@hcl.com> wrote:
> I have used libva-intel-driver-1.2.0 as a part of meta-intel on Dora as the recipes provided by Intel. I can attach bb file also if its needed.
> Have build Intel va source manually and now we can able to sink with vaapisink in its own window.
> We are not able to use vaapisink with AVI/3GP files, asking for some missing video/x-surface.
>
> I have checked vaapisink source, it seems its supporting overlay on foreign X window.
> https://gitorious.org/vaapi/gstreamer-vaapi/source/643d35e87a67376af9c
> d89cd868666368b105ac3:gst/vaapisink/gstvaapisink.c
> static gboolean gst_vaapisink_implements_interface_supported();
> static gboolean gst_vaapisink_ensure_window_xid();

The most important thing to do here is to do testing with gst-launch to remove your application causing problems.  Embedding pipelines (especially using vaapi) into other windows isn't trivial and its
possible that your application is causing the problem.    If
"gst-launch playbin2" works fine for all of your files then your application is causing the problem.

Ross


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

  reply	other threads:[~2014-04-02 13:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28  6:05 Help-Gstreamer Vaapi Plugin Issue in 1080p mp4 playback Meenakumari Shedole
2014-03-28 11:12 ` Burton, Ross
2014-04-01  9:05   ` Meenakumari Shedole
2014-04-02 10:49     ` Burton, Ross
2014-04-02 13:43       ` Dipesh Karmakar [this message]
2014-04-03  6:59         ` Meenakumari Shedole
2014-04-03 14:41           ` Burton, Ross
2014-04-01 12:40   ` Meenakumari Shedole
2014-04-02  6:32   ` Meenakumari Shedole
2014-04-03 14:52     ` Beauchesne, Gwenole
2014-04-04 10:49       ` Meenakumari Shedole
2014-04-10  8:14         ` Meenakumari Shedole
2014-04-11  7:54       ` Meenakumari Shedole
2014-04-15  4:46         ` Meenakumari Shedole
  -- strict thread matches above, loose matches on Subject: below --
2014-03-27  6:58 Meenakumari Shedole
2014-03-27  7:21 ` Laurentiu Palcu
2014-03-27 13:45 ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97272D6808818244BD88BD72F19D658B03CAC1EB@chn-hclt-mbs06.HCLT.CORP.HCL.IN \
    --to=dipesh.karmakar@hcl.com \
    --cc=meenakumari.s@hcl.com \
    --cc=ross.burton@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.