BSD
帖子: 9
注册时间: 2012-11-04 19:25

【已解决】ffmpeg input无法用一个stream

查阅ffmpeg的手册里写是可以-i 输入是一个http或者rtp的stream的,但是为总是提示“ Protocol not found”
我想把一个stream 编码x264+aac,请问我该怎么办?
用的版本是taro老大编译的ffmpeg
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: ffmpeg input无法用一个stream

哦我編譯的ffmpeg是--disable-network的,沒有加入網絡支持,偷懶把ssl那部分直接跳過去了然後就乾脆把整個網絡協議都去掉了的…
つまんねー事聞くなよ!

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日。
BSD
帖子: 9
注册时间: 2012-11-04 19:25

Re: ffmpeg input无法用一个stream

--disable-network 怪不得,老大,这个可以有啊,是否考虑还增加intel cpu的编译版本呐? {:cat_9}
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: ffmpeg input无法用一个stream

更新了一下把network的協議加進去了,可以到置頂重新下載。

icc編譯的不會變快的,核心的東西大部分都有asm優化了,我這裡開了runtime-cpudetect,正常來說會使用到你能用到的CPU的最高指令集,基本上沒有icc可以優化的餘地,甚至因為asm格式兼容性等原因轉換不正確的asm會導致icc/msvc編譯出現bug或者更慢的情況,沒有特殊情況不會考慮用它們來編譯。反倒是少數vf/af,如果關閉runtime-cpudetect有可能會在初始化時稍有變快,但是這樣出來的東西只有和我的CPU指令集相同或者更高的才能用,就沒法發布了,反正也都只是gcc內的東西,不會因為用icc就加快的。
つまんねー事聞くなよ!

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日。
BSD
帖子: 9
注册时间: 2012-11-04 19:25

Re: ffmpeg input无法用一个stream

没想到老大反映那么快,相当以外呐
谢谢谢谢!!!

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