Re: [FFmpeg-devel] Calculating audio frame rate

2020-03-03 Thread Eran Kornblau
> > -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Tuesday, March 3, 2020 1:11 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Calculating audio frame rate > > There is av_get_audio_frame_durat

Re: [FFmpeg-devel] Calculating audio frame rate

2020-03-03 Thread Anton Khirnov
Quoting Eran Kornblau (2020-03-03 10:48:31) > > > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Hendrik > > Leppkes > > Sent: Tuesday, March 3, 2020 11:08 AM > > To: FFmpeg development discussions and patches > > Subject:

Re: [FFmpeg-devel] Calculating audio frame rate

2020-03-03 Thread Eran Kornblau
> > > -Original Message- > From: ffmpeg-devel On Behalf Of Hendrik > Leppkes > Sent: Tuesday, March 3, 2020 11:08 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Calculating audio frame rate > > On Tue, Mar 3, 2020 at 8

Re: [FFmpeg-devel] Calculating audio frame rate

2020-03-03 Thread Hendrik Leppkes
On Tue, Mar 3, 2020 at 8:22 AM Eran Kornblau wrote: > > Hi all, > > First, I apologize for asking a question not directly related to ffmpeg > development, but hope you can still help me... > > I'm looking for some code to calculate the frame rate of audio, based on > parameters such as the codec

[FFmpeg-devel] Calculating audio frame rate

2020-03-02 Thread Eran Kornblau
Hi all, First, I apologize for asking a question not directly related to ffmpeg development, but hope you can still help me... I'm looking for some code to calculate the frame rate of audio, based on parameters such as the codec id, sampling rate, channels, codec private data etc. For example,