-2

Can anyone suggest me what audio and video codecs allows me to retain frequencies above 18khz till 22050hz in the resultant mp4 or avi video with out any filters.

No limit for size and HD is preferred.

  • Although there are other variables, the key factor is to make sure the sample rate is more than twice the highest frequency you want to preserve. – Bjorn Roche Jun 25 '13 at 13:55
  • yeah I made sure sampling rate is 44100+, even then i couldnt find any frequency above 16khz in the resultant Mp4's audio – RaviTejas3 Jun 26 '13 at 06:26

1 Answers1

1

AAC encoders supports frequencies up to 96000 Hz. ("libfdk_aac", "aac", "libvo_aacenc" codecs)

UPD

I took a lossless compressed audio as the source.

See its spectrum

Source spectrum

I recoded it with the video using ffmpeg.

ffmpeg -t 10 -i 01.mp4 -t 10 -i Wait.m4a -ar 48000 -ab 320k -c:a aac -strict -2 Wait.mp4

The spectrum of the audio in the resulting file.

enter image description here

pogorskiy
  • 4,337
  • 19
  • 21