[Ffmpeg-devel] [BUG] MPEG 2 Division By Zero

Måns Rullgård mru
Tue Oct 31 20:05:19 CET 2006


Brian Brice <bbrice at newtek.com> writes:

> M?ns Rullg?rd wrote:
>> Brian Brice <bbrice at newtek.com> writes:
>>
>>> Hello.
>>>
>>> Something quite strange is happening when I'm encoding MPEG 2.  I'm
>>> encoding clips that are just noise and I get "division by 0" crashes.
>>> Unforunately, I can't produce a call stack (using DLLs in Windows from
>>> VC++), but I did narrow down where the division is occurring:
>> Upload a sample and tell us an FFmpeg command line that reproduces
>> the
>> error.
>
> Unfortunately I'm not using the command line. :-(

We can't help if we can't reproduce the bug.

> I am linking to the DLLs produced by mingw/gcc from within Visual
> Studio.  And I know it's not a VS problem (so don't bash, please?),
> because this stuff has worked before.  I am programmatically generating
> frames of noise and throwing them at the encoder.  I set only certain
> members of AVCodecContext (as mentioned in the first email), and leave
> the rest to default.

Dump those frames to a file and feed it to ffmpeg.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list