[FFmpeg-trac] #5340(undetermined:new): ffmpeg with WMV input renders incorrect audio length (with some codecs)
FFmpeg
trac at avcodec.org
Tue Mar 15 17:25:28 CET 2016
#5340: ffmpeg with WMV input renders incorrect audio length (with some codecs)
-------------------------------------+-------------------------------------
Reporter: veganaiZe | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: wmv sync | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5340>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list