跳到主要內容

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

留言

這個網誌中的熱門文章

[經驗分享]開源IT資產管理系統 - Open-AudIT

企業營運必定與電腦系統脫離不了關係,每一部電腦散落在各部門、各辦公室,若是較具規模的公司,甚至會有跨好幾個地區的辦公室存在。 from Pocket http://ift.tt/2sI5nuB via IFTTT

RegistryChangesView 登錄檔比對工具,挖出某個設定修改了什麼..

在 Windows 電腦中,很多軟體在安裝/移除或執行時會在系統的「登錄檔」資料庫裡面加入、移除或修改許多項目,有些有修改是必須的,有些修改沒弄好的話可能會造成一些問題導致某些功能不正常或系統不穩定等等情況。 from Pocket http://ift.tt/2wiZCWi via IFTTT

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