[Buildroot] [PATCH v3] gst1-imx: add package

Gary Bisson bisson.gary at gmail.com
Sat Nov 29 04:52:15 UTC 2014


Luca, All,

On Tue, Nov 11, 2014 at 1:14 AM, Luca Ceresoli <luca at lucaceresoli.net> wrote:
> Dear Gary,
>
> Gary Bisson wrote:
>>
>> Luca, All,
>>
>> On 11/10/2014 09:31 AM, Luca Ceresoli wrote:
>>>
>>> Dear Gary,
>>>
>>> Gary Bisson wrote:
>>>>
>>>> [snip]
>>>> $ gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
>>>> $ gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
>>>> matroskademux ! imxvpudec ! imxipusink
>>>> $ gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
>>>> matroskademux ! imxvpudec ! imxeglvivsink
>>>
>>>
>>> I tested it on i.MX6DL SABRESD (not Quad), based on
>>> freescale_imx6dlsabresd_defconfig, but with libc changed to glibc.
>>> All the three pipelines you provided work, with the first one eating up
>>> ~30% of CPU time, while the other two ones take only 2~3% CPU only (but
>>> play no audio of course).
>>
>>
>> Good to hear everything worked out. Thanks for checking CPU consumption,
>> although 30% seems high for audio handling we can clearly see the video
>> is decoded through the VPU.
>
>
> Isn't the first pipeline simply not using the hardware decoder?
>

No, decoding both 1080p video plus audio in software would be using
even more CPU. Plus the traces suggest the use of imxvpudec.

>>>> +
>>>> +config BR2_PACKAGE_GST1_IMX
>>>> +    bool "gst1-imx"
>>>> +    depends on BR2_LINUX_KERNEL
>>>
>>>
>>> As per Arnout's suggestion on v2, there should be a # libfslvpuwrap
>>> here.
>>
>>
>> Actually I think this should not be added as this package also needs the
>> kernel headers for IPU use (see source code under src/ipu).
>
>
> I see. Thanks for the clarification.
>

Let me know if there's any modification you'd like on this patch.

Thanks,
Gary


More information about the buildroot mailing list