[mythtv-users] vdpau accelerated mythcommflag and/or ffmpeg?

Mark Kendall mark.kendall at gmail.com
Mon Jan 17 14:50:03 UTC 2011


On 17 January 2011 22:26, Will Dormann <wdormann at gmail.com> wrote:
> On 1/4/11 4:47 PM, Will Dormann wrote:
>> Hi all,
>>
>> I've got an Atom 330 ION system with an HD-PVR set up as a combined
>> frontend/backend and it's quite slick.   Except mythcommflag and ffmpeg
>> (for mytharchive) are really slow!   The former gets about 9fps and the
>> latter is 4fps.
>
>
> Just to follow up on my own thread here.   There are two things that I
> did to improve commercial flagging performance:
>
> 1) Set max number of jobs to 2.   The CPU is dual core and has
> hyperthreading enabled, and it handles this without flinching.
>
> 2) Enable the ""experimental speedup of commercial detection" option.
>
> With those two settings, I've more than tripled my commercial flagging
> throughput.

I'm hoping to fix up some code to allow hardware accelerated
commflagging in the next few weeks. It'll be VDA (apple, H264) and
Crystal HD only at first as these deliver decoded frames into main
memory.

VDPAU will need extra work around getting decoded frames back out of
the GPU for analysis (which may be slow enough to make it
unattractive) and they'll all need some way of sensibly sharing a
scarce hardware resource between commflagging and video playback.

regards

Mark


More information about the mythtv-users mailing list