ffmpeg -y -i "E:/test/input.mp4" -vf "ass='E\:/test/subtitle.ass'" -crf 24 "E:/test/output.mp4"
[ass @ 0000023da2d06ac0] Unable to parse option value "/test/subtitle.ass" as image size
Last message repeated 1 times
[ass @ 0000023da2d06ac0] Error setting option original_size to value /test/subtitle.ass.
[Parsed_ass_0 @ 0000023da128ee80] Error applying options to the filter.
[AVFilterGraph @ 0000023da10d8c80] Error initializing filter 'ass' with args 'E:/test/subtitle.ass'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[aac @ 0000023da0992700] Qavg: 13140.731
[aac @ 0000023da0992700] 2 frames left in the queue on closing
正确的指令
ffmpeg -y -i "E:/test/input.mp4" -vf "ass='E\:/test/subtitle.ass'" -crf 24 "E:/test/output.mp4"
注意 盘符后面的:
前 要跟一个\
也就是 E\: