<?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>minor tranquilizer &#187; HandBrake</title>
	<atom:link href="http://www.ookawara.com/archives/tag/handbrake/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ookawara.com</link>
	<description>イロ イッカイ ズツ・・・</description>
	<lastBuildDate>Sun, 29 Jan 2012 10:17:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>UbuntuでPSP用動画をつくる</title>
		<link>http://www.ookawara.com/archives/189</link>
		<comments>http://www.ookawara.com/archives/189#comments</comments>
		<pubDate>Sun, 30 Sep 2007 15:10:18 +0000</pubDate>
		<dc:creator>ookawara.com</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HandBrake]]></category>
		<category><![CDATA[PSP]]></category>
		<category><![CDATA[Sony]]></category>

		<guid isPermaLink="false">http://www.ookawara.com/archives/189</guid>
		<description><![CDATA[手持ちのDVDからPSP用の動画ファイルを作る手順のメモ。 HandBrakeというソフトを使って、コマンドラインで作成。 CPU:AMD Athlon(tm) 64 X2 Dual Core Processor 380 [...]]]></description>
			<content:encoded><![CDATA[<p>手持ちのDVDからPSP用の動画ファイルを作る手順のメモ。</p>
<p><a href="http://handbrake.m0k.org/">HandBrake</a>というソフトを使って、コマンドラインで作成。</p>
<p>CPU:<strong>AMD Athlon(tm) 64 X2 Dual Core Processor 3800+</strong><br />
MEMORY:<strong>2GB</strong><br />
OS:<strong>Ubuntu 7.04 &#8220;Feisty Fawn&#8221;</strong>(Kernel:2.6.20-16-generic)<br />
PSP FWバージョン:<strong>3.71</strong><br />
HandBrakeバージョン:<strong>0.9.0</strong></p>
<p>HandBrakeのLinux版(<strong>HandBrake-0.9.0_i386.tar.gz</strong>)をダウンロードする。そしてそのなかのHandBrakeCLIをパスの通った場所かHOMEディレクトリとか適当な場所に展開。そのあとはコマンドラインで直接起動。</p>
<p>コマンド引数指定はこんなかんじ。<code>$ ./HandBrakeCLI -w 480 -l 272 -X 480 -Y 272 -e x264 -b 768 -r 29.97 -d -2 -p -E faac -B 128 -R 48 -x level=30:threads=1 -s 1 -a 1 -i /dev/dvd -f mp4 -o M4V00001.MP4</code><strong>-w,-l：</strong>ピクチャの幅と高さ。<br />
<strong>-X,-Y:</strong>幅と高さの最大値。“-X”と”-Y”を指定しておき、”-p”を指定すると元のフレームサイズの比率が保持されるらしい。<br />
<strong>-e:</strong>映像側のエンコーダ指定。&#8221;x264&#8243;はH.264 AVC。<br />
<strong>-b:</strong>映像ビットレート。指定なしだと1000になる。<br />
<strong>-r:</strong>映像フレームレート。<br />
<strong>-d:</strong>デインターレース。<br />
<strong>-2:</strong>2passエンコード指定。<br />
<strong>-p:</strong>ピクセルアスペクトレシオを映像ストリームに埋め込む。<br />
<strong>-E:</strong>音声側のエンコーダ指定。<br />
<strong>-B:</strong>音声ビットレート。<br />
<strong>-R:</strong>音声サンプリングレート。<br />
<strong>-x:</strong>x264への詳細オプション指定。PSPでは&#8221;level=30:threads=1&#8243;が必要？<br />
<strong>-s:</strong>字幕チャンネルの選択。<br />
<strong>-a:</strong>音声チャンネルの選択。<br />
<strong>-i:</strong>入力デバイス指定。<br />
<strong>-f:</strong>出力ファイルフォーマット指定。<br />
<strong>-o:</strong>出力ファイル指定。</p>
<p>PSPの最新FWでは、MemoryStick上の&#8221;/VIDEO&#8221;ディレクトリに置くことで閲覧が可能。<br />
古いFWでは&#8221;/MP_ROOT/100ANV01&#8243;に決められたファイル名&#8221;M4V0xxxx.MP4&#8243;で置けって時代もあったようだけど、今ではどっちかというと同じファイルでも&#8221;/VIDEO&#8221;に置けば再生OKで&#8221;/MP_ROOT/100ANV01&#8243;に置くと「非対応データ」扱いになったりする。</p>
<p>変換所要時間3時間くらい。サイズはビットレート1000kbpsで135分映画が1.15GB(The Matrix）。サイズはまだまだ研究の余地がありそう。もっとビットレート下げてもきっと大丈夫だろうから、サイズと画質についてはこれから試行錯誤する。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ookawara.com/archives/189/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- Quick Cache: failed to write cache. The cache/ directory is either non-existent ( and could not be created ) or it is not writable. -->
