<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>audio &#8211; darkogav</title>
	<atom:link href="https://darkogav.economics.utoronto.ca/tag/audio/feed/" rel="self" type="application/rss+xml" />
	<link>https://darkogav.economics.utoronto.ca</link>
	<description></description>
	<lastBuildDate>Mon, 31 Aug 2026 19:06:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>ffmpeg audio work notes</title>
		<link>https://darkogav.economics.utoronto.ca/ffmpeg-audio-work-notes/</link>
		
		<dc:creator><![CDATA[Darko]]></dc:creator>
		<pubDate>Mon, 31 Aug 2026 19:06:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<guid isPermaLink="false">https://darkogav.economics.utoronto.ca/?p=89</guid>

					<description><![CDATA[To check LUFS and True Peak of a wave file where $foo is your wave file. ffmpeg -i $foo.wav -af... <a class="read-more" href="https://darkogav.economics.utoronto.ca/ffmpeg-audio-work-notes/">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To check LUFS and True Peak of a wave file where <em>$foo</em> is your wave file.<br><br><code>ffmpeg -i $foo.wav -af loudnorm=print_format=json -f null -</code></p>



<p class="wp-block-paragraph">Generate a mp4 file to play on MacOS where $foo is your wave file and $name is your mp4 file. Targeting -14 LUFS. Good for most genres. <br><br><br><code>ffmpeg -i $foo -filter_complex "[0:a]ebur128=video=1:size=640x480:target=-14:meter=18:peak=true[out0][out1]" -map "[out0]" -map "[out1]" -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3.0 -c:a aac -movflags +faststart $name.mp4<br></code><br>Targeting -16 LUFS. Good for most more traditional Folk and Americana genres. </p>



<p class="wp-block-paragraph"><code>ffmpeg -i $foo -filter_complex "[0:a]ebur128=video=1:size=640x480:target=-16:meter=18:peak=true[out0][out1]" -map "[out0]" -map "[out1]" -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3.0 -c:a aac -movflags +faststart $name.mp4</code></p>



<p class="wp-block-paragraph">Targeting -6 LUFS. Good to blow your ears away. EDM and Hiphop genres. </p>



<p class="wp-block-paragraph"><code>ffmpeg -i $foo -filter_complex "[0:a]ebur128=video=1:size=640x480:target=-6:meter=18:peak=true[out0][out1]" -map "[out0]" -map "[out1]" -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3.0 -c:a aac -movflags +faststart $name.mp4</code></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
