FFmpeg - Encode AC3

From PiRho Knowledgebase
Revision as of 11:13, 6 March 2025 by Knowledgebaseadmin (talk | contribs) (Created page with "The bit rates listed here assume Stereo (2 ch) and sample rate of 44.1 KHz or 48 KHz. Usable range ≥ 160 Kbps.<br/> <code>ffmpeg -i <input.file> -c:a ac3 -ac 2 -b:a 160k <output.file></code><br/> Reference: https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio FFmpeg: Guidelines for high quality lossy audio encoding<br/> Reference: https://ffmpeg.org/ffmpeg-codecs.html#ac3-and-ac3_005ffixed FFmpeg: FFmpeg Codecs Documentation<br/>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The bit rates listed here assume Stereo (2 ch) and sample rate of 44.1 KHz or 48 KHz. Usable range ≥ 160 Kbps.
ffmpeg -i <input.file> -c:a ac3 -ac 2 -b:a 160k <output.file>
Reference: [FFmpeg: Guidelines for high quality lossy audio encoding]
Reference: [FFmpeg: FFmpeg Codecs Documentation]