[yocto] New gst-player

Gary Thomas gary at mlbassoc.com
Thu Mar 5 06:10:51 PST 2015


On 2015-03-05 06:47, Nicolas Dechesne wrote:
> On Thu, Mar 5, 2015 at 2:44 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>> On 2015-03-05 06:40, Nicolas Dechesne wrote:
>>>
>>> On Thu, Mar 5, 2015 at 2:34 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>>>>
>>>> Sadly, it doesn't build with the libav we have in OE-core :-(
>>>>
>>>> BTW, I measured the current used by my board (i.MX6Q)
>>>>     mplayer2 => 1.8A
>>>>     gst-play => 2.1A
>>>> Given that I normally run my board with a 2.0A wall brick,
>>>> it's no wonder that it dies when I run gst-play.
>>>
>>>
>>> ouch. that's quite a difference. when you play video this is no just
>>> about the decoders, but also how video is rendered. can you
>>> check/compare what's the overall pipeline, including any processing
>>> done on the video buffers (YUV) after the decoder (including up/down
>>> scaling, color conversion, ...).
>>
>>
>> How would I get that info (short of hacking the library)?
>
>
> for Gstreamer you can print/display the actual pipeline by doing:
>
> export GST_DEBUG_DUMP_DOT_DIR=/tmp
>
> and then run your standard Gstreamer application, it will create .dot
> files in /tmp (you can use another folder), at each stage of the
> pipeline, you can print/share the pipeline when transitioning from
> PAUSE to PLAYING. The .dot file can be converted to a nice graph,
> using graphviz tool (e.g. dot -Tpng -O xxx.dot)
>
> that will give you all the information about the multimedia pipeline.

I ran the gst-play-1.0 and it created a single file.  It looks pretty
when converted to an image, but I'm not sure what it tells me about
the actual pipeline.

>
> for mplayer, i don't know how to get the same info..
>

Given that it's the same file being played on the same hardware,
shouldn't both programs need to be doing the same conversions, etc?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.00.00.616955667-gst-play.async-done.dot
Type: application/msword-template
Size: 29208 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150305/77bc553d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.00.00.616955667-gst-play.async-done.dot.png
Type: image/png
Size: 650065 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150305/77bc553d/attachment.png>


More information about the yocto mailing list