編譯FFMPEG時,出現(xiàn)了ffmpeg yasm not found, use --disable-yasm?for a crippled build,是因為 FFMPEG為了提高編譯速度,使用了匯編指令,如果系統(tǒng)中沒有yasm指令的話,就會出現(xiàn)上述的問題。
解決辦法是:
A 如果是Windows系統(tǒng),?從網(wǎng)上下載一個 yasm.exe 并安裝在mingw/bin下面,重新編譯,就不會出現(xiàn)該錯誤了;
B?如果是Linux系統(tǒng),則更簡單,直接在終端輸入sudo apt-get install yasm,安裝好后,重新編譯就 OK了。