[Interest] gstreamer is not enabled in Qt5

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Mar 22 12:41:07 CET 2013


On Fri, Mar 22, 2013 at 3:36 PM, Ramakanthreddy_Kesireddy <
Ramakanthreddy_Kesireddy at mahindrasatyam.com> wrote:

> Any pointers for the below issue...
> am facing the below issue on Nvidia tegra3 board.
>

It's possible that the Qt multimedia implementation is picking up the s/w
decoder for decoding your media. If the internal Qt implementation is using
some sort of a auto-plugger like mechanism  from gstreamer
(playbin/decodebin) then it might not be picking up the h/w decoder because
of it's 'rank'. If the h/w decoder's rank is lesser than the s/w decoder's,
then it'll pick up the s/w decoder.

You can try increasing the rank of your h/w decoder and see if it helps. Or
maybe remove the s/w decoder altogether, if possible, in which case it'll
be forced to use the h/w decoder.

Changing the rank, will require you to change your h/w decoders code and
recompile. Basically set it's rank to something higher than
GST_RANK_PRIMARY and recompile your h.w decoder plugin (read gstreamer docs
for how exactly to do this, it's not much, just a few lines of code).

I'm shooting in the dark here (about the rank thing), so I could be
completely wrong.

HTH,
-mandeep


>
> Br,
> Ramakanth
>
> ________________________________________
> From: Ramakanthreddy_Kesireddy
> Sent: Thursday, March 21, 2013 3:18 PM
> To: Thiago Macieira; interest at qt-project.org
> Subject: RE: [Interest] gstreamer is not enabled in Qt5
>
> Hi,
>
> Thanks a lot. I could fix the gstreamer issue with 0.10.36.
> Now gstreamer is enabled with 0.10.36.
>
> using below command, we can run sample mp4 video(HDvideo and normal video)
> on tegra3 successfully.
> gst-launch filesrc location=video.mov ! qtdemux name=demux demux.video_00
> ! nv_omx_h264dec ! nv_gl_eglimagesink demux.audio_00 ! nv_omx_aacdec !
> alsasink device=hw:0,0.
>
> However, using QtQuick Mediaplayer element and sample application
> qmlvideofx in Qtmultimedia examples,
> it throws
> Warning:a lot of buffers are being dropped" and videoframes are missing
> while playing video.
>
> Could you please confirm if QtMultimedia uses nv_omx_h264dec(hardware
> decoder) to play video or how to resolve this issue?
>
> Thanks and Regards,
> Ramakanth
>
>
> ________________________________________
> From: interest-bounces+ramakanthreddy_kesireddy=
> mahindrasatyam.com at qt-project.org[interest-bounces+ramakanthreddy_kesireddy=
> mahindrasatyam.com at qt-project.org] on behalf of Thiago Macieira [
> thiago.macieira at intel.com]
> Sent: Tuesday, March 19, 2013 8:30 PM
> To: interest at qt-project.org
> Subject: Re: [Interest] gstreamer is not enabled in Qt5
>
> On terça-feira, 19 de março de 2013 12.03.48, Ramakanthreddy_Kesireddy
> wrote:
> > I couldnot find gstreamer 0.10.38..So I installed 0.10.36 as gstreamer
> > should be <1.0 but still getting the same error as mentioned below.
> >
> > Any pointers to enable gstreamer in configure verbose output?
>
> You've already done that. Your gstreamer is broken.
>
> This is not a Qt problem. You need to fix your gstreamer header bugs
> before it
> will compile.
>
> As you can see here:
>
> http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst-libs/gst/interfaces/propertyprobe.h?id=RELEASE-0.10.36
>
> gst/interfaces/propertyprobe.h in version 0.10.36 does not have an include
> for
> global.h. Your headers are either corrupt or have been modified by someone
> else. Track the change down and fix it.
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> ________________________________
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130322/337794c0/attachment.html>


More information about the Interest mailing list