[ffmpeg] Windows 压制ass指定路径报错 Unable to parse option value “/test/subtitle.ass” as image size

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\:

给TA充电
共{{data.count}}人
人已充电
ffmpeg

[ffmpeg] 视频5s截图一次, 并保存

2024-3-11 18:17:28

AEAE文章

【动画曲线】告别动画生硬;掌控节奏感的速度曲线

2021-8-5 13:47:59

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
搜索