Changes

Jump to navigation Jump to search
34 bytes added ,  13:34, 20 January 2025
m
Line 67: Line 67:  
<code style="background-color:#000; color:#fff; padding:1px 3px;">ffmpeg -i input.mp4 -af "pan=mono|c0=c0" output.wav</code>
 
<code style="background-color:#000; color:#fff; padding:1px 3px;">ffmpeg -i input.mp4 -af "pan=mono|c0=c0" output.wav</code>
   −
<code>-af "pan=mono|c0=c0"</code> extracts a single channel from the file. Use <code>c0=c0</code> for left channel, <code>c0=c1</code> for right channel.
+
<code>-af "pan=mono|c0=c0"</code> extracts a single channel from the file. Use <code>c0=c0</code> for left channel, <code>c0=c1</code> for right channel (assuming source audio is stereo).
    
===Add audio to video===
 
===Add audio to video===

Navigation menu