[FFmpeg-trac] #10270(ffmpeg:reopened): Random duration changes when transcoding ogg vorbis
FFmpeg
trac at avcodec.org
Sun Mar 19 14:06:11 EET 2023
#10270: Random duration changes when transcoding ogg vorbis
------------------------------------+------------------------------------
Reporter: Ace17 | Owner: (none)
Type: defect | Status: reopened
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Ace17):
> There is no such issue in ffprobe here.
> sound2.ogg : Duration: 00:00:00.01, start: 0.991293, bitrate: 8928 kb/s
With sound2.ogg as input:
- ffprobe is reporting a duration of 0.01 second
- ffplay plays a sound for 1.0 second
- ffmpeg produces a wav file of exactly 1.0 second
So ffprobe clearly disagrees with ffplay and ffmpeg about the duration of
the sound.
> what matters is that it makes it gapless and does not lose the sync.
I agree there's absolutely no observable problem with the playback, here.
I also agree that no audio sample is lost through the process.
> And it does not matter what the duration is
What if I actually want to get the duration of an ogg file? (This actually
is my initial use case: probing for the duration of several hundreds of
ogg files).
Would you be opposed to the creation of new ticket, more specific to
ffprobe ?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10270#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list