segasaturn
帖子: 16
注册时间: 2011-01-04 17:02

【已解决】请问ffmpeg中想硬嵌ass字幕,这样写错在哪里?

ffmpeg -i video.mkv -async 1 -ss 300 -t 15 -vf ass=video.ass -target film-vcd test_ffmpeg.mpg

这样总是提示
No such filter: 'ass'
Error opening filters!

ffmpeg的版本是taro桑编译的那个
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: 请问ffmpeg中想硬嵌ass字幕,这样写错在哪里?

代码: 全选

-vf "ass=subtitle.ass"
加上引号用试试?

不知道taro编译的时候有没有开--enable-libass,看提示的话貌似是没开。
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 请问ffmpeg中想硬嵌ass字幕,这样写错在哪里?

没开,libass还需要一些其他库偷懒没加
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
segasaturn
帖子: 16
注册时间: 2011-01-04 17:02

Re: 请问ffmpeg中想硬嵌ass字幕,这样写错在哪里?

原来是这样,谢谢两位大大的指导~ <(_ _)>

回到 “视频编码器 / Video encoder discussion”