[FFmpeg-user] Question about AAC fixed duration encoding
osama at nxtec-corp.com
Wed Apr 5 00:22:00 EEST 2017
We use FFMPEG as our internal encoding tool. We use a third party streaming server, where they encode the videos before streaming them. We have noticed areas where the videos get out of sync by their encoder. We traced the issue with them and their response back to us is:
"The product team noted that normally the ffmpeg encoder should produce audio samples of fixed durations. But they have not used “-acodec libfdk_aac” before. They suggest that you can try “-acodec aac”. In addition, they noticed that your input source has many audio frames with duration of “1” instead of “1024”. That implies the input source might have some overlapping or discontinuity. “
My questions are:
IF we switch to -acodec acc, will this produce fixed lengths?
I have researched if we can set the duration length to be fixed duration. I am not sure I did proper job in my research, can you give us an advice of how to do that?
Our container is MKV. We transcode it afterwards to MP4 before we upload it to them.
More information about the ffmpeg-user