[FFmpeg-trac] #11018(ffmpeg:new): Bug: Export AAC from video file with specific duration don't give the good duration
FFmpeg
trac at avcodec.org
Thu May 23 11:30:34 EEST 2024
#11018: Bug: Export AAC from video file with specific duration don't give the good
duration
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
Imprevisible |
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution:
Keywords: segment aac | Blocked By:
seek seeking |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Imprevisible):
Replying to [comment:24 MasterQuestionable]:
> ͏ So "-t 5 -ss $( 0, 5, 10, ... )" alike always result in < 5 s
duration?
> ͏ "-c copy" here won't do re-encoding: merely slicing the
packets/frames independently representable.
>
> ͏ You might have to "-map" only the interested audio to make things
work properly.
> ͏ (other streams may interfere the slicing)
I map the right audio in other commands, for the readability here it's not
shown, but I map the audio, and I even set the number of audio channels. I
tried to -c copy, same issue, and yes, if I set -t to 5, it's always less
than 5s for aac, for mp3 its always more, and for flac, ogg and wav, it's
exactly 5s
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11018#comment:25>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list