[FFmpeg-devel] git ffmpeg/Xbmc lockup

Kelly Anderson kelly at silka.with-linux.com
Sat Jan 7 14:36:14 CET 2012


On 01/07/2012 06:18 AM, Michael Niedermayer wrote:
> On Sat, Jan 07, 2012 at 02:55:35AM +0100, Michael Niedermayer wrote:
>> On Fri, Jan 06, 2012 at 05:25:21PM -0700, Kelly Anderson wrote:
>>> Thought I'd give you guys an informal heads up (in particular Carl
>>> Eugen Hoyos).
>>>
>>> I build my Xbmc with the latest git version of FFmeg periodically.
>>> It caused me to pull some of my hair out the other night
>>> when Xbmc locked up when starting videos (h264 for sure).
>>> I finally realized I had just built the latest git version of FFmpeg
>>> prior to rebuilding Xbmc, so I started looking there.
>>>
>>> To shorten the story up a bit, I just finished git bisecting FFmpeg
>>> to locate the cause of the problem, and it is....
>>>
>>> commit d185278c369e9150fe6b4cf730405753384bca93
>>> Author: Carl Eugen Hoyos<cehoyos at ag.or.at>
>>> Date:   Fri Jan 6 00:51:31 2012 +0100
>>>
>>>      Support decoding of some unusual jpeg samples.
>>>
>>>      Avoid unsupported pix_fmts by upscaling chroma.
>>>
>>>      Fixes ticket #878.
>>>
>>> Carl could you have a look at that code, I've been up quite a while
>>> now and am about ready to call it a night.
>>>
>>> I'll have a look at it tomorrow, if someone hasn't come up with
>>> something by then.
>> iam not sure how a jpeg related change could cause this but
>> try disabling threads, the default has changed recently
> i just build xbmc from git and failed to reproduce a lockup with h264
> btw theres a "#include<map>" missing in cdioSupport.h or something
> like that

I'm just getting started on looking into this now.  Did you build xbmc 
with --enable-external-libraries?
That'd be necessary to link to the git FFmpeg.

Now that I've thought about it a bit, I realized there is an animated 
timer display that pops up
just before the video starts, and that's where it hangs.

I'm going to revert the patch first and see if the problem goes away.  
Then I'll step through it.


>
> In file included from cdioSupport.cpp:26:0:
> cdioSupport.h:102:9: error: 'map' in namespace 'std' does not name a type
> cdioSupport.h:113:3: error: 'xbmc_cdtext_t' does not name a type
> cdioSupport.h:128:3: error: 'xbmc_cdtext_t' does not name a type
> In file included from cdioSupport.cpp:26:0:
> cdioSupport.h:231:34: error: 'xbmc_cdtext_t' has not been declared
>
>
> [...]
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list