FFmpeg - Encode Vorbis: Difference between revisions
From PiRho Knowledgebase
Jump to navigationJump to search
Created page with "Category:FFmpeg Category:Vorbis <pre> ffmpeg -i <input.file> -a:c libvorbis -qscale:a 3 <output.file> </pre> "libvorbis" - Usable range ≥ 96 Kbps. Recommended range ≥ 192 Kbps.<br/> -qscale:a – audio quality. Range is -1.0 to 10.0, where 10.0 is highest quality. Default is -q:a 3 with a target of 112kbps. The formula 16×(q+4) is used below 4, 32×q is used below 8, and 64×(q-4) otherwise. Examples: 112=16×(3+<b>4</b>), 160=32×<b>5</b>, 192=32×<b>6</..." |
No edit summary |
||
| Line 6: | Line 6: | ||
"libvorbis" - Usable range ≥ 96 Kbps. Recommended range ≥ 192 Kbps.<br/> | "libvorbis" - Usable range ≥ 96 Kbps. Recommended range ≥ 192 Kbps.<br/> | ||
-qscale:a – audio quality. Range is -1.0 to 10.0, where 10.0 is highest quality. Default is -q:a 3 with a target of 112kbps. The formula 16×(q+4) is used below 4, 32×q is used below 8, and 64×(q-4) otherwise. Examples: 112=16×(3+<b>4</b>), 160=32×<b>5</b>, 192=32×<b>6</b>, 384=64×(10-<b>4</b>).<br/> | -qscale:a – audio quality. Range is -1.0 to 10.0, where 10.0 is highest quality. Default is -q:a 3 with a target of 112kbps. The formula 16×(q+4) is used below 4, 32×q is used below 8, and 64×(q-4) otherwise. Examples: 112=16×(3+<b>4</b>), 160=32×<b>5</b>, 192=32×<b>6</b>, 384=64×(10-<b>4</b>).<br/> | ||
Reference: [[https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio FFmpeg Guidelines for high quality lossy audio encoding]] | Reference: [[https://trac.ffmpeg.org/wiki/Encode/HighQualityAudio FFmpeg Guidelines for high quality lossy audio encoding]]<br/> | ||
Reference: [[https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide FFmpeg: A Brief Theora and Vorbis Encoding Guide]] | Reference: [[https://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide FFmpeg: A Brief Theora and Vorbis Encoding Guide]] | ||
Latest revision as of 14:48, 6 March 2025
ffmpeg -i <input.file> -a:c libvorbis -qscale:a 3 <output.file>
"libvorbis" - Usable range ≥ 96 Kbps. Recommended range ≥ 192 Kbps.
-qscale:a – audio quality. Range is -1.0 to 10.0, where 10.0 is highest quality. Default is -q:a 3 with a target of 112kbps. The formula 16×(q+4) is used below 4, 32×q is used below 8, and 64×(q-4) otherwise. Examples: 112=16×(3+4), 160=32×5, 192=32×6, 384=64×(10-4).
Reference: [FFmpeg Guidelines for high quality lossy audio encoding]
Reference: [FFmpeg: A Brief Theora and Vorbis Encoding Guide]