<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>天人志 &#187; mp4</title>
	<atom:link href="http://cebi.asia/tag/mp4/feed/" rel="self" type="application/rss+xml" />
	<link>http://cebi.asia</link>
	<description>無語問蒼天 獨行輕鬼神</description>
	<lastBuildDate>Thu, 29 Apr 2010 16:00:38 +0000</lastBuildDate>
	<language>zh</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Nokia N900 大電影</title>
		<link>http://cebi.asia/2010/01/nokia-n900-video-convertion/</link>
		<comments>http://cebi.asia/2010/01/nokia-n900-video-convertion/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 09:52:35 +0000</pubDate>
		<dc:creator>cebi</dc:creator>
				<category><![CDATA[奇技]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[rmvb]]></category>

		<guid isPermaLink="false">http://cebi.asia/?p=959</guid>
		<description><![CDATA[　　Nokia N900真是好物，用作流動播放器簡直一流！不過rmvb這種壓縮太多的格式，對於電話來說真是十分吃力 ，而且一般的影像質素對手機屏幕來說也太大了。有見及此寫了個工具，方便格式轉換做avi。 基本準備︰ 1. 任何近代發行版Linux (e.g. Ubuntu, Debian, Fedora, Redhat, Gentoo&#8230;) 2. mencoder (mplayer 附帶的轉換程式) 以Ubuntu為例，在桌面安裝mplayer, mencoder或輸入以下安裝指令︰ sudo apt-get install mplayer mencoder 使用任何文字編輯器，儲存以下內容到檔案&#8221;rmvb2avi4n900.sh&#8221;︰ #!/bin/sh SOUND=64 VIDEO=300 FPS=20 mencoder $1 \ -oac mp3lame \ -lameopts preset=$SOUND \ -ovc lavc \ -lavcopts vcodec=mpeg4:vbitrate=$VIDEO \ -ofps $FPS \ -of avi -o $2 把檔案放到影片的資料夾，執行指令轉換︰ sh rmvb2avi4n900.sh happy-movie.rmvb happy-movie.avi [...]]]></description>
			<content:encoded><![CDATA[<p>　　Nokia N900真是好物，用作流動播放器簡直一流！不過rmvb這種壓縮太多的格式，對於電話來說真是十分吃力 <img src='http://cebi.asia/wp-includes/images/smilies/gd-sosad.gif' alt=':gd-sosad:' class='wp-smiley' /> ，而且一般的影像質素對手機屏幕來說也太大了。有見及此寫了個工具，方便格式轉換做avi。</p>
<p>基本準備︰<br />
1. 任何近代發行版Linux (e.g. Ubuntu, Debian, Fedora, Redhat, Gentoo&#8230;)<br />
2. mencoder (mplayer 附帶的轉換程式)</p>
<p>以Ubuntu為例，在桌面安裝mplayer, mencoder或輸入以下安裝指令︰</p>
<pre class="brush: bash;">
sudo apt-get install mplayer mencoder
</pre>
<p>使用任何文字編輯器，儲存以下內容到檔案&#8221;rmvb2avi4n900.sh&#8221;︰</p>
<pre class="brush: bash;">
#!/bin/sh
SOUND=64
VIDEO=300
FPS=20

mencoder $1 \
 -oac mp3lame \
 -lameopts preset=$SOUND \
 -ovc lavc \
 -lavcopts vcodec=mpeg4:vbitrate=$VIDEO \
 -ofps $FPS \
 -of avi -o $2
</pre>
<p>把檔案放到影片的資料夾，執行指令轉換︰</p>
<pre class="brush: bash;">
sh rmvb2avi4n900.sh happy-movie.rmvb happy-movie.avi
</pre>
<p>額外說明︰</p>
<pre class="brush: bash;">
SOUND=64
VIDEO=300
FPS=20
</pre>
<p>　　以上幾行是有關影像質素的設定，請任意發揮︰SOUND是聲音的bitrate；VIDEO是影像的bitrate；FPS是影像每秒播放格數。數值愈高質素愈好，當然檔案容量也隨之增加。預設值是本人可接受的極限，觀迎各位隨時挑戰。</p>
<p>　　理論上可以在N900進行轉換，只是速度一定慘不忍諸，本人不敢試，而且勸大家不要做傻事 <img src='http://cebi.asia/wp-includes/images/smilies/gd-no.gif' alt=':gd-no:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cebi.asia/2010/01/nokia-n900-video-convertion/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
