跳到主要內容

發表文章

目前顯示的是 12月, 2014的文章

Windows Logon Type

Logon Type 2 – Interactive( 本機登入 ) Logon Type 3 – Network( 網路登入, Netbios 、 IIS 等登入方式 ) Logon Type 4 – Batch( 排程等批次 ) Logon Type 5 – Service( 服務 ) Logon Type 7 – Unlock( 解除螢幕鎖定 ) Logon Type 8 – NetworkCleartext( 網路明文登入, IIS ASP 登入 ) Logon Type 9 – NewCredentials( 新身份登入,通常為 RunAs 方式 ) Logon Type 10 – RemoteInteractive( 遠端登入,例如 Terminal Server 、 RDP 等方式,但 Windows 2000 沒有此類型,歸類為 Type2) Logon Type 11 – CachedInteractive( 快取登入 )

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://bubbl