[FFmpeg-soc] BFI Decoder

Mike Melanson mike at multimedia.cx
Wed Apr 16 23:50:54 CEST 2008


Sisir Koppaka wrote:
> On Thu, Apr 17, 2008 at 3:15 AM, Mike Melanson <mike at multimedia.cx> wrote:
> 
>> Sisir Koppaka wrote:
>>> Only the first frame is shown and it's just a blue one... I think the
>> frame
>>> was not properly decoded though I can see the different parts of the
>> switch
>>> being executed from the av_logs...
>> As Michael observed, you were calling FFmpeg in such a way that it was
>> likely exiting before it even went into your decoder. Try adding a '-an'
>> option so that audio is not decoded, or try my idea of just decoding
>> individual picture frames.
>>
> Now, it's giving a segfault.
> .....
> [DECODER] Back Chain.
> [DECODER] Back Chain.
> [DECODER] Back Chain.
> [DECODER] Back Chain.
> [DECODER] Back Chain.
> [DECODER] Back Chain.
> [DECODER] Back Chain.Segmentation fault (core dumped)
> $

Awesome (sort of, from a debugging perspective). Now run it through gdb
to learn where the segfault is. Hopefully, the segfault occurs under
'ffmpeg_g' and not just 'ffmpeg'.

-- 
	-Mike Melanson



More information about the FFmpeg-soc mailing list