Closed GoogleCodeExporter closed 9 years ago
Do you know if this issue is still present in trunk?
Original comment by kid...@gmail.com
on 2 Mar 2011 at 6:58
I don't know
Original comment by ada...@gmail.com
on 5 Mar 2011 at 1:49
I do see where it could get a divide by zero issue in GetBitRate:
// now, calculate the number of bytes we overflowed. Round up.
overflow_bytes =
((lastSampleSize * overflow_dur) + (lastSampleDur - 1)) / lastSampleDur;
...what I don't understand is why you'd hit this code, or why it's somehow
related to a "highly stressed machine." What sort of locking are you using
around mp4v2?
I can certainly band-aid it to check lastSampleDur for zero in that code, but
it might be nice to get a better idea of how such a condition cropped up in the
first place.
Original comment by kid...@gmail.com
on 17 Mar 2011 at 11:15
Process receives multiple H264/AAC encoded streams over network. For each
stream a file gets created with MP4Create() with Video and Audio tracks.
MP4WriteSample() is called for every sample received for corresponding stream.
No more than one MP4WriteSample() call per MP4 file is done simultaniously.
However multiple simultanious calls targeted to different files are possible.
The problem occurs when machine stressed to the point where considerable delays
between received from network subsequent samples are possible. File I/O also
takes longer than ussual time.
Original comment by ada...@gmail.com
on 22 Mar 2011 at 6:21
Added a check to prevent the division by zero. Not completely sure about this
code (it's strange), but should be fixed in r473. Not sure when we'll have
another release, I need to manage to find a weekend and that probably won't
happen before July. :-/
Original comment by kid...@gmail.com
on 14 Jun 2011 at 4:28
Original issue reported on code.google.com by
ada...@gmail.com
on 2 Mar 2011 at 12:55