Last active
May 27, 2022 15:15
-
-
Save BenMcLean/2e9950e2508b18ae16d84b2b5021a7f0 to your computer and use it in GitHub Desktop.
Quadraphonic FLACs converted to fake 5.1 Surround FLACs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
cd %~dp0 | |
for /f "eol=: delims=" %%F in ('dir /b /a-d *.mka ^| findstr /vixc:"%~nx0"') do ( ffmpeg.exe -i "%%F" -af "pan=5.1|FL=FL|FR=FR|BL=SL|BR=SR" "%%F.flac" ) | |
@PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
cd %~dp0 | |
md 6ch | |
ffmpeg.exe -i "%~1" -af "pan=5.1|FL=FL|FR=FR|BL=BL|BR=BR" "6ch\%~n1.flac" | |
echo Output file is: "%~n1.flac" | |
@PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
cd %~dp0 | |
for /f "eol=: delims=" %%F in ('dir /b /a-d *.flac ^| findstr /vixc:"%~nx0"') do ( ffmpeg.exe -i "%%F" -af "pan=5.1|FL=FL|FR=FR|BL=BL|BR=BR" "%%F.flac" & if not errorlevel 1 ( del "%%F" & ren "%%F.flac" "%%F" ) ) | |
@PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
cd %~dp0 | |
md 6ch | |
ffmpeg.exe -i "%~1" -af "pan=5.1|FL=FL|FR=FR|FC=FC|BL=SL|BR=SR" "6ch\%~n1.flac" | |
echo Output file is: "%~n1.flac" | |
@PAUSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
cd %~dp0 | |
for /f "eol=: delims=" %%F in ('dir /b /a-d *.flac ^| findstr /vixc:"%~nx0"') do ( ffmpeg.exe -i "%%F" -af "pan=5.1|FL=FL|FR=FR|FC=FC|BL=SL|BR=SR" "%%F.flac" & if not errorlevel 1 ( del "%%F" & ren "%%F.flac" "%%F" ) ) | |
@PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FLAC test files here: https://github.com/sfiera/flac-test-files