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, if the codec is AAC and the sampling rate is 44.1KHz, the frame 
rate would be 44100/1024= ~43 fps
(assuming each frame has 1024 samples, not 960)

Has anyone ever written/bumped into something that implements this across 
multiple codecs?

Thank you!

Eran

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to