[Ffmpeg-devel] Two ASF related bugs and fixes
emild at cs.technion.ac.il
Tue Apr 18 16:11:18 CEST 2006
I have found two bugs related to ffmpeg's ASF file format.
1) The first bug has to do with the ASF writer. The problem is caused by the
fact that the size of the padding is not adjusted to include the size of
the padding length field. This causes the last byte of the payload to be
overwritten with zeroes before it is written to disk, thus yielding an invalid
mplayer and even ffmpeg complain when such streams are passed to them.
I have put an input file which illustrates the problem at:
and the resulting output at:
The command line used was:
ffmpeg -i Philips_qcif.mp4 -r 15 -b 64 -an -s 176x144 -vcodec wmv1
For example this is what mplayer has to say about the resulting output file:
More information about the ffmpeg-devel