[Ffmpeg-devel] Sorenson H264 , ffmpeg CRASH , (BUG ? or not supported ? )

Steve Lhomme steve.lhomme
Fri Oct 14 22:28:29 CEST 2005


I just checked the file and the code of ffdshow.

the lavc of ffdshow has 2 differences. One in the extradata handling, 
and one in the nal_size computation. IMO you should have a look. (as 
plain lavc doesn't work, and ffdshow does).

Steve Lhomme wrote:
> If it's using SVQ3 as the FourCC you might try this patch...
> 
> Mike Melanson wrote:
> 
>> M?ns Rullg?rd wrote:
>>
>>> Mathieu Monnier <manao at melix.net> writes:
>>>
>>>
>>>>> http://www.openrapids.net/~hexa/Sorenson_AVC_PRO_192kpbs_30fps_320_240_CBR_AAC_LC_32kpbs_32khz_16_stereo_10s.mp4 
>>>>>
>>>>
>>>>
>>>>
>>>> FFDShow (30/09) decodes that without issues (nero's parser, or haali's
>>>> ), so does VLC (09/09).
>>>
>>>
>>>
>>>
>>> xine is fine as well.  Looks like an lavf bug.
>>>
>>> Mike?
>>
>>
>>
>>     My first guess would be something about extradata-- the QT headers 
>> probably contain some data that the decoder needs.
>>
> 
> 
> ------------------------------------------------------------------------
> 
> Index: libavcodec/svq3.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/svq3.c,v
> retrieving revision 1.28
> diff -u -r1.28 svq3.c
> --- libavcodec/svq3.c	14 Jul 2005 21:39:35 -0000	1.28
> +++ libavcodec/svq3.c	14 Oct 2005 20:17:22 -0000
> @@ -829,7 +829,7 @@
>        GetBitContext gb;
>  
>        size = BE_32(&extradata[4]);
> -      init_get_bits (&gb, extradata + 8, size);
> +      init_get_bits (&gb, extradata + 8, size*8);
>  
>        /* 'frame size code' and optional 'width, height' */
>        if (get_bits (&gb, 3) == 7) {
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel

-- 
robUx4 on blog <http://robux4.blogspot.com/>





More information about the ffmpeg-devel mailing list