電腦新知分類文章 顯示方式:簡文 | 列表

February 28,2006

Compiling VLC with VC-1 (WMV9) support under Ubuntu Breezy


This is a modification from So sue me
Platfrom : ubuntu 5.10 i386

install dependencies available from the Ubuntu repositories (main and universe)

$
sudo apt-get install libwxgtk2.6-dev libdvbpsi3-dev libmpeg2-4-dev
libmad0-dev libasound2-dev libesd0-dev x11proto-video-dev libdvdnav-dev
liba52-0.7.4-dev libflac-dev libfreetype6-dev libid3tag0-dev libogg-dev
libpng12-dev libspeex-dev libtheora-dev libvorbis-dev libxml2-dev
zlib1g-dev gcc g++ automake1.9 autoconf libtool subversion cvs
libx11-dev


Install libdvdcss (DVD support)


$ mkdir ~/videolan ; cd ~/videolan

$ wget http://downloads.videolan.org/pub/videolan/vlc/0.8.2/contrib/libdvdcss-1.2.8.tar.bz2

$ tar -jxvf libdvdcss-1.2.8.tar.bz2 ; cd libdvdcss-1.2.8

$ ./configure --prefix=/usr ; make ; sudo make install


Compile faad2 (AAC support)


$ cd ~/videolan ; wget http://downloads.videolan.org/pub/videolan/vlc/0.8.2/contrib/faad2-20040923.tar.bz2

$ tar -jxvf faad2-20040923.tar.bz2 ; cd faad2-20040923

$ ./configure --prefix=/usr ; cd libfaad ; make


Compile ffmpeg (support for H264 and many other codecs)


$ cd ~/videolan ; cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

$ cd ffmpeg ; ./configure --enable-pp --enable-gpl ; make


Compile libvc1 (WMV9 support)


$ cd ~/videolan ; wget http://nanocrew.net/sw/libvc1-1.0.tar.gz ; tar -zxvf libvc1-1.0.tar.gz

$ wget http://www.multimedia.cx/VC1_reference_decoder_release6.zip

$ unzip VC1_reference_decoder_release6.zip

$ cp VC1_reference_decoder_release6/decoder/*.[ch] libvc1-1.0/src/.

$ cp VC1_reference_decoder_release6/shared/*.[ch] libvc1-1.0/src/.

$ cd libvc1-1.0 ; ./bootstrap ; ./configure --prefix=/usr ; make


Install VLC


$ cd ~/videolan ; svn co svn://svn.videolan.org/vlc/trunk vlc-trunk ( or you can get source snapshot, by the way, I use snapshot-20060227)

$ cd vlc-trunk ; wget -O - http://nanocrew.net/sw/vlc-libvc1.diff | patch -p0 (choose n, if it ask for your confirm)
$ ./bootstrap ; ./configure --with-ffmpeg-tree=../ffmpeg
--enable-faad --with-faad-tree=../faad2-20040923 --enable-esd
--enable-flac --enable-theora --enable-libvc1
--with-libvc1-tree=../libvc1-1.0 --disable-hal

$ make ; sudo make install


Enjoy It!!

...繼續閱讀

Posted by yam_orbit at 樂多Roodo!15:04回應(0)引用(2)

Make VLC play WMV9 (Fedora) without VC1


1. download win32codec
You can find here.
Download "essential codecs package", and then uncompress in /usr/lib/win32 or /usr/local/lib/win32

2. update your wxGTK to >2.6.2 (use freshrpms, suggested)

3. install dependencies
yum install libdvbpsi-devel mpeg2dec-devel libmad-devel libdvdnav-devel libdvdcss-devel a52dec-devel flac-devel freetype-devel libid3tag-devel libogg-devel libtheora-devel libvorbis-devel zlib-devel faad2-devel

4. download ffmpeg
$cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
$ cd ffmpeg ; ./configure --enable-pp --enable-gpl ; make

5. download the newest vlc source here
Uncompressed first, and then use the following command
$ ./bootstrap ; ./configure --with-ffmpeg-tree={the dir you put ffmpeg} --enable-faad
--with-faad-tree=../faad2-20040923 --enable-esd --enable-flac
--enable-theora --disable-hal
$ make

ENJOY IT!!
...繼續閱讀

Posted by yam_orbit at 樂多Roodo!13:11回應(0)引用(0)

June 1,2005

Computex - 台灣廠商優異的

以下圖片來自Taiwan CNET。
自從上次的Super Shuffle事件後,我們再次見識到了台灣的超級學習能力啊 XD
我很不爭氣的想問他要賣多少錢了 呼呼 ...繼續閱讀

Posted by yam_orbit at 樂多Roodo!16:03回應(1)引用(0)

May 16,2005

我有用的Firefox extension介紹

Adblock
可以檔廣告用的好東西,在想要檔掉的圖片,Flash,iFrame上按滑鼠右鍵,就會有Adblock xxxxx讓你選擇,接著只要確定就好啦。
通常比較大的網站都會有ad這兩個字放在他們的連結中,以聯合新聞網為例,http://udn.com/*/AD/*, http://ad*.udn.com/*,這樣兩個條件就幾乎檔光啦。
...繼續閱讀

Posted by yam_orbit at 樂多Roodo!22:44回應(0)引用(0)

程式語言排名

TIOBE Programming Community Index
這個網站用Google, Yahoo, MSN來搜尋,根據所找到的資料來做Rating。
是蠻有趣的啦,也許不是很正確,不過蠻有參考價值的。

Posted by yam_orbit at 樂多Roodo!2:15回應(0)引用(1)

Ajax

一種跟現在不太一樣的架構
不太能說是一種技術,他是多種現在技術的應用。
下面這篇文章裡面有詳盡的介紹。
Ajax: A New Approach to Web Applications

現在Google, Flicker, A9.com很多服務都有採用這種技術,我覺得最主要的部分就是javascript的使用,減少了主機的負擔,並且也增快了client side的反應速度,畢竟在個人電腦越來越強的現在,多用些client side的資源,也是種前進的方向。


其他參考網址

Posted by yam_orbit at 樂多Roodo!1:50
 [1]