vdpauh264dec plugin not recognized by playbin
Robert Szelepcsenyi
robert at tankred.sk
Thu Feb 24 05:02:41 PST 2011
Thanks to all who replied to my post.
I have made some progress, but stiall I am unable to get HW accelerated
playback of h264 video in webkit.
I changed the rank of vdpauh264dec to primary (I had some problem with
marginal, which I haven't investigated yet). Now playbin2 can autoplug the
plugin and play a h264 video. I have also tried totem, which is based on
gstreamer. Totem can also open and play h264 files with HW acceleration. So
far no problem.
However, I can't play h264 files in webkit. Just nothing happens. I don't
know, how to debug it. Do you have any idea what to look at?
Should I recompile webkit? I thought this was not necessary.
Robert Szelepcsényi
-----Original Message-----
From: gstreamer-devel-bounces+robert=tankred.sk at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+robert=tankred.sk at lists.freedesktop.org] On
Behalf Of Stefan Kost
Sent: Wednesday, February 23, 2011 1:04 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: vdpauh264dec plugin not recognized by playbin
On 23.02.2011 13:33, Robert Szelepcsenyi wrote:
>> Please post the whole gst-inspect output here. Is the RANK for the
>> element >0?
> Hi Stefan,
>
>
> The rank is none (0).
rank=0 elements are not auto-plugged. You need to change it in the code
to have e.g. GST_RANK_MARGINAL
Stefan
> Here comes the complete output of "gst-inspect vdpauh264dec":
>
>
> -------BEGIN-------
> Factory Details:
> Long name: VDPAU H264 Decoder
> Class: Decoder
> Description: Decode h264 stream with vdpau
> Author(s): Carl-Anton Ingmarsson <ca.ingmarsson at gmail.com>
> Rank: none (0)
>
> Plugin Details:
> Name: vdpau
> Description: Various elements utilizing VDPAU
> Filename: /usr/local/lib/gstreamer-0.10/libgstvdpau.so
> Version: 0.10.20
> License: LGPL
> Source module: gst-plugins-bad
> Binary package: GStreamer
> Origin URL: http://gstreamer.net/
>
> GObject
> +----GstObject
> +----GstElement
> +----SatBaseVideoDecoder
> +----GstVdpDecoder
> +----GstVdpH264Dec
>
> Pad Templates:
> SRC template: 'src'
> Availability: Always
> Capabilities:
> video/x-vdpau-video
> chroma-type: 0
> width: [ 1, 4096 ]
> height: [ 1, 4096 ]
> video/x-raw-yuv
> format: I420
> width: [ 1, 4096 ]
> height: [ 1, 4096 ]
> video/x-raw-yuv
> format: YV12
> width: [ 1, 4096 ]
> height: [ 1, 4096 ]
> video/x-raw-yuv
> format: NV12
> width: [ 1, 4096 ]
> height: [ 1, 4096 ]
>
> SINK template: 'sink'
> Availability: Always
> Capabilities:
> video/x-h264
> interlaced: false
>
>
> Element Flags:
> no flags set
>
> Element Implementation:
> Has change_state() function: 0x7fbf8381ded0
> Has custom save_thyself() function: gst_element_save_thyself
> Has custom restore_thyself() function: gst_element_restore_thyself
>
> Element has no clocking capabilities.
> Element has no indexing capabilities.
> Element has no URI handling capabilities.
>
> Pads:
> SRC: 'src'
> Implementation:
> Has custom eventfunc(): 0x7fbf8381e740
> Has custom queryfunc(): 0x7fbf8381e430
> Provides query types:
> (1): position (Current position)
> (2): duration (Total duration)
> (8): convert (Converting between formats)
> Has getcapsfunc(): gst_pad_get_fixed_caps_func
> Has setcapsfunc(): gst_vdp_video_src_pad_setcaps
> Has acceptcapsfunc(): gst_pad_acceptcaps_default
> Pad Template: 'src'
> SINK: 'sink'
> Implementation:
> Has chainfunc(): 0x7fbf838211e0
> Has custom eventfunc(): 0x7fbf8381efb0
> Has custom queryfunc(): 0x7fbf8381e690
> Has setcapsfunc(): 0x7fbf8381eac0
> Has acceptcapsfunc(): gst_pad_acceptcaps_default
> Pad Template: 'sink'
>
> Element Properties:
> name : The name of the object
> flags: readable, writable
> String. Default: null Current: "vdph264dec0"
> sink-clipping : If enabled GstBaseVideoDecoder will clip outgoing
> frames
> flags: readable, writable
> Boolean. Default: false Current: false
> packetized : Whether the incoming data is already packetized
into
> suitable packets
> flags: readable, writable
> Boolean. Default: false Current: false
> display : X Display name
> flags: readable, writable
> String. Default: null Current: null
>
> --------END------
>
>
> Robert Szelepcsényi
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list