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で実行しています