Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine the codec of an audio file on Windows?

Tags:

audio

codec

I need to find the codec of an audio file. How can I do this?

Do I need to write code to do this or is there a simpler way?

Please help me. If possible share helpful links.

like image 361
stinepike Avatar asked Apr 05 '11 10:04

stinepike


People also ask

How do I find the codec for Windows Media Player?

On the Tools menu, select Options. Select the Player tab, select the Download codecs automatically check box, and then select OK.

How do I check the codec of an mp4?

Finding Your Video Codec You may need to right-click the video title and select Play with VLC Media Player, if VLC is not your default video player. Once the video starts, select Tools > Codec Information. Here, you'll see the codec for the video.

How do I find the right codec?

Generally speaking, you should aim for the highest-quality codec that your camera (or your budget) can capture. When I say “highest quality”, I mean that you want to capture as much information as possible. So you want less-lossy codecs: less compression, higher bit-depth, and less chroma subsampling.


1 Answers

The good old file utility will reveal lots of information about audio files, sometimes including the codec:

$ file X.wav 
X.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 16000 Hz
like image 100
Andrea Spadaccini Avatar answered Sep 29 '22 14:09

Andrea Spadaccini