Hi,

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.


Thanks and Regards
Meena

-----Original Message-----
From: Burton, Ross [mailto:ross.bur...@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 <meenakumar...@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.

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

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to