[Libav-user] Some first questions using libav for audio decoding
Martin Guy
martinwguy at gmail.com
Tue Feb 14 05:08:20 EET 2023
On 14/02/2023, Martin Guy <martinwguy at gmail.com> wrote:
> AVCodecContext's
> time_base's docs say "This is the fundamental unit of time (in
> seconds) in terms of which frame timestamps are represented."
It turns out that AVStream's time_base's docs also say
"This is the fundamental unit of time (in seconds) in terms of which
frame timestamps are represented."
but they are different for an audio-only file: 1/48000 and 1/14112000
respectively. Which applies to timestamps is AVFrames, and when?
Wishing I'd seen all this before writing to avoid looking a fool...
M
More information about the Libav-user
mailing list