ffmpeg with WMV input renders incorrect audio length (with some codecs)
|Reported by:||veganaiZe||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
When converting a (20 FPS) WMV video to another video/container format with particular audio (output) codecs, including "-acodec copy", the resulting audio length is incorrect (It's supposed to be 9m:51s, but it's 10m:18s).
How to reproduce:
Download the sample WMV video...
% ffmpeg -i <infile>.wmv -map 0:v -vcodec libx264 video.avi -map 0:a -acodec aac audio.aac
However, if I use ".m4a" as the extension, instead of ".aac" everything seems fine (when played with MPC-HC x64 v1.7.10)
The following command also exhibits similar issues...
% ffmpeg -i <infile>.wmv -vcodec libx264 -acodec copy outfile.avi