У меня в Windows 10 есть папка с таким же путем к файлу:
D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band – Is We Is! (The Prison Rap) All We Want'sa Prison
Как вы видите, в имени папки есть одинарная кавычка:All We Want'sa Prison
В моей команде ffmpeg пути к входным и выходным файлам заключены в двойные кавычки, но одинарная кавычка в имени папки вызывает проблему при запуске команды:
.\ffmpeg.exe
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\A - Is We Is! (The Prison Rap).flac"
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\B - All We Want'sa Prison.flac"
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\front.png"
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\back.png"
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\side_1.png"
-r 2 -i "D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\side_2.png"
-filter_complex "[0:a][1:a]concat=n=2:v=0:a=1[a];[2:v]scale=w=2000:h=2000:force_original_aspect_ratio=decrease,setsar=1,loop=152.57:152.57[v2];[3:v]scale=w=2000:h=2000:force_original_aspect_ratio=decrease,setsar=1,loop=152.57:152.57[v3];[4:v]scale=w=2000:h=2000:force_original_aspect_ratio=decrease,setsar=1,loop=152.57:152.57[v4];[5:v]scale=w=2000:h=2000:force_original_aspect_ratio=decrease,setsar=1,loop=152.57:152.57[v5];[v2][v3][v4][v5]concat=n=4:v=1:a=0,pad=ceil(iw/2)*2:ceil(ih/2)*2[v]"
-map [v] -map [a] -c:a pcm_s32le -c:v libx264 -bufsize 3M -crf 18 -pix_fmt yuv420p -tune stillimage -t 305.15
"D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison_427.mkv"
Я получаю эту ошибку:
D:\martinradio\rips\vinyl-wip\7.10.23\The Barbed Wire Choir Of Flora, Illinois Chief Ed Guyott And The Long Arm Of The Law Band - Is We Is! (The Prison Rap) All We Want'sa Prison\A - Is We Is! (The Prison Rap).flac: No such file or directory
Я считаю, что эта ошибка вызвана одинарной кавычкой, как мне ее экранировать, чтобы моя команда запустилась? Я попробовал следовать принятому ответу здесь:Цитирование имени файла в ffmpeg concat
но команда все еще не выполнена. Я запускаю эту команду в powershell