跳到主要內容

How do I compile ffmpeg on a QNAP NAS

Tested on QNAP TS-419p+ with ARM CPU, but should work the same way for others.
Install “Optware (IPKG)” qpkg from http://www.qnap.com/qpkg.asp
In case the “ipkg update” fails, try to adjust the following two config files:
[/opt/etc/ipkg] # more tsx19-kmod.conf
src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable
[/opt/etc/ipkg] # more tsx19.conf
src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable

ipkg update
ipkg install optware-devel
ipkg install git
ipkg install yasm
ipkg install lame

mkdir /opt/compile
cd /opt/compile
git clone git://git.videolan.org/ffmpeg.git

cd ffmpeg
./configure --enable-ssse3 --prefix=/opt --extra-cflags='-I/opt/include' --extra-ldflags='-L/opt/lib' --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame
make
make install
replace built-in ffmpeg with link to new version
rm /usr/bin/ffmpeg
ln -s /opt/bin/ffmpeg /usr/bin

http://bubblesoftapps.com/bubbleupnpserver/#faq7

留言

這個網誌中的熱門文章

Sonoff S31燒錄Tasmota

 1.線路連接 VCC<->3.3V RX<->TX TX<->RX GND<->GND #短路燒錄器上的3.3V 2.下載FTDI驅動程式,並安裝它 https://ftdichip.com/drivers/ 3.下載S31 Tasmota靭體 https://github.com/arendst/Tasmota/releases 4.下載ESPEasy燒錄軟體 https://github.com/letscontrolit/ESPEasy/releases 5.解壓縮ESPEasy,並把S31 Tasmota靭體(.bin)放到根目錄 6.按住S31上的reset鍵不放,插入USB後,維持5秒再放開 7.執行FlashESP8266.exe,並選取S31 Tasmota韌體(.bin) 8.燒錄成功後,看看wifi有沒有tasmota-xx-的WIFI SSID #Tasmota 12.2.0會遇到常常掉wifi的情形,可能跟Wifi 6 OFDMA、Mesh有關 https://github.com/tasmota/docs/blob/master/docs/FAQ.md https://tasmota.github.io/docs/FAQ/#device-disconnects-from-wi-fi-often

如何取消windows 10裡面行列輸入法的關聯字詞

方法一:安裝行列小站-新行列3.0輸入法 到行列小站,下載 新行列30輸入法 http://www.array30.com/pc.html 取消「提示相關字詞」 方法二:修改登錄值(此方法在版本1909上,有時不生效) Windows+R 組合鍵,輸入 regedit 找到 HKEY_CURRENT_USER\Software\Microsoft\TableTextService\0x00000404\{D38EFF65-AA46-4FD5-91A7-67845FB02F5B} 新增DWORD,名稱為 EnableAssociatePhrase 項目,數值修改為 0  保存重開機。