Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2022
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.24 KB | Source Code | 0 0
  1. INPUT:
  2. ffmpeg \
  3. -i "media/IN.mkv" \
  4. -i "irs/dh++.wav" \
  5. -i "irs/atmos.wav" \
  6. -i "irs/dtshx.wav" \
  7. -i "irs/gsx.wav" \
  8. -c:v copy \
  9. -c:s copy \
  10. -c:a libmp3lame -q:a 0 \
  11. -filter_complex "[0:a]loudnorm[norm]; \
  12. [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];[norm][hrirs0]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf0]; \
  13. [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];[norm][hrirs1]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf1]; \
  14. [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];[norm][hrirs2]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf2]; \
  15. [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];[norm][hrirs3]headphone=map=FL|FR|FC|LFE|BL|BR:hrir=multich[hf3];" \
  16. -map 0:v:0 \
  17. -map [hf0]:a -metadata:s:a:0 title="Dolby Headphone DH-2 Cinema"  \
  18. -map [hf1]:a -metadata:s:a:1 title="Dolby Atmos 7.1 Headphones"  \
  19. -map [hf2]:a -metadata:s:a:2 title="DTS Headphone:X"  \
  20. -map [hf3]:a -metadata:s:a:3 title="Sennheiser GSX 7.1 Binaural"  \
  21. -map 0:a:0 \
  22. -map 0:s:0 \
  23. "media/OUT.mkv"
  24.  
  25. OUTPUT:
  26. [AVFilterGraph @ 0x154fb40] No such filter: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement