[Ffmpeg-devel] Bug in pts computation in compute_pkt_fields() ?

Måns Rullgård mans
Sun Mar 25 16:17:59 CEST 2007


Wolfram Gloger <wmglo at dent.med.uni-muenchen.de> writes:

>> > Background: I'm now seeing errors even in "make test" for the mpeg-ts
>> > muxer; some packets' dts becomes negative due to the new code in
>> 
>> make test passed last time i tried (which was today)=20
>
> So you don't have all of my wonderful patches applied :)
> Seriously, it is easy to reproduce this problem.  Either apply
>
> --- trunk/tests/regression.sh   2007-03-24 11:22:44.000000000 +0100
> +++ ffmpeg-wg/tests/regression.sh       2007-03-25 15:31:44.000000000 +0200
> @@ -114,7 +114,7 @@
>  # create the data directory if it does not exist
>  mkdir -p $datadir
>
> -FFMPEG_OPTS="-y -flags +bitexact -dct fastint -idct simple"
> +FFMPEG_OPTS="-y -flags +bitexact -dct fastint -idct simple -itsoffset 0.001"

Of course messing with the timestamps will alter the checksums.  What
were you expecting?

> ../ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -itsoffset 0.001 -i .data/b-libav.ts -f crc ./data/ffmpeg.crc
>
> manually in "tests" after a normal "make test".  This will consume
> _huge_ amounts of memory and will never complete.  I recommend running
> this with "ulimit -v 200000".

I can confirm this.  Well, I'm not sure it wouldn't have finished, had
I not killed it when the memory usage reached 3GB.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list