[mythtvnz] Question about building Pauls Mythtv + Patches

Steven Ellis steven at openmedia.co.nz
Mon Aug 25 11:00:44 BST 2008


On 25/08/2008, at 9:45 PM, graeme wrote:

>
>>>> My current patch to  libs/libmythtv/avformatdecoder.cpp around line
>>>> 1588  is as follows
>>>>
>>>>                if (CODEC_ID_H264 == enc->codec_id)
>>>>                {
>>>>                   VERBOSE(VB_PLAYBACK, LOC + "Turning off loop
>>>> filter");
>>>>                     enc->skip_loop_filter = AVDISCARD_ALL;
>>>>                   VERBOSE(VB_PLAYBACK, LOC + "Enabling Fast decode
>>>> mode");
>>>>                     enc->flags           |= CODEC_FLAG2_FAST;
>>>>                 }
>>>
> The above patch appears to have lowered the CPU demand on 720p,  
> doesn't
> go above 80%.
> Alias TV3 is still topping out the CPU peaking at 113% at nice -17.
> Still no cigar.
> Are there any other fiddles I can do to get TV3 to play without  
> stuttering


Bugger. Well it looks like we need some of the ffmpeg mult-threading  
enhancements that are still in development.

>
>
>>> The main problem with the audio is that it seems the sse2 version of
>>> float_to_int16_interleave_sse2 causes the segfault. What I did to  
>>> fix
>>> this was
>>> to go the end of libavcodec/i386/dsputil_mmx.c change the assignment
>>> c->float_to_int16_interleave = float_to_int16_interleave_sse2;
>>> on line 2864 to
>>> c->float_to_int16_interleave = float_to_int16_interleave_sse;
>>>
>>> That fixed the audio for me. YMMV.
>>>
> The above change with SSE2 to SSE has made a big difference to the  
> stability
>

Agreed. No more crashes here.

Did a test record tonight of Private Practice and City Homicide, both  
of which were in 720p HD. Multirec did its job and I had no issues  
recording either show. Quality was a serious step up from DVB-S based  
SD.

Steve


Steven Ellis - Technical Director
OpenMedia Limited
email   - steven at openmedia.co.nz
website - http://www.openmedia.co.nz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/mythtvnz/attachments/20080825/ac52a54b/attachment.htm 


More information about the mythtvnz mailing list