Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2022
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.28 KB | Source Code | 0 0
  1. ffmpeg \
  2. -i "media/IN.mkv" \
  3. -i "irs/dh++.wav" \
  4. -i "irs/atmos.wav" \
  5. -i "irs/dtshx.wav" \
  6. -i "irs/gsx.wav" \
  7. -c:v copy \
  8. -c:s copy \
  9. -c:a libmp3lame -q:a 0 \
  10. -filter_complex "[1:0]pan=16c|c0=c0|c1=c1|c2=c8|c3=c7|c4=c6|c5=c13|c6=c6|c7=c13|c8=c4|c9=c5|c10=c12|c11=c11[hrirs0];[0:a][hrirs0]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf0];[hf0]loudnorm[nor0]" \
  11. -filter_complex "[2:0]pan=16c|c0=c0|c1=c1|c2=c8|c3=c7|c4=c6|c5=c13|c6=c6|c7=c13|c8=c4|c9=c5|c10=c12|c11=c11[hrirs1];[0:a][hrirs1]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf1];[hf1]loudnorm[nor1]" \
  12. -filter_complex "[3:0]pan=16c|c0=c0|c1=c1|c2=c8|c3=c7|c4=c6|c5=c13|c6=c6|c7=c13|c8=c4|c9=c5|c10=c12|c11=c11[hrirs2];[0:a][hrirs2]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf2];[hf2]loudnorm[nor2]" \
  13. -filter_complex "[4:0]pan=16c|c0=c0|c1=c1|c2=c8|c3=c7|c4=c6|c5=c13|c6=c6|c7=c13|c8=c4|c9=c5|c10=c12|c11=c11[hrirs3];[0:a][hrirs3]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf3];[hf3]loudnorm[nor3]" \
  14. -map 0:v:0 \
  15. -map [nor0]:a -metadata:s:a:0 title="Dolby Headphone DH-2 Cinema"  \
  16. -map [nor1]:a -metadata:s:a:1 title="Dolby Atmos 7.1 Headphones"  \
  17. -map [nor2]:a -metadata:s:a:2 title="DTS Headphone:X"  \
  18. -map [nor3]:a -metadata:s:a:3 title="Sennheiser GSX 7.1 Binaural"  \
  19. -map 0:a:0 \
  20. -map 0:s:0 \
  21. "media/OUT.mkv"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement