*PSP向け設定 [#a468e5b0] [[convert.xmlの編集例]] から移動してきました。 PSP の VIDEO フォルダ向けの H.264+AAC 動画の変換設定についてです。 #contents ** VIDEO フォルダで再生可能な H.264 + AAC 動画の仕様 [#z4b8b645] [[PSP (PlayStation Portable) RSS チャンネル向けコンテンツ作成 ガイドライン Ver. 3.80 (PDF直リンク):http://www.jp.playstation.com/psp/dl/pdf/RSSChannel-J_380.pdf]] によります (システムソフトウェアのバージョンにより若干差異があります)。 [1] - 映像部分: H.264 Baseline Profile Level 1.3 -- 解像度 320x240 以下 -- ビットレート 768kbps 以下, フレームレート 30fps 以下、CAVLC のみ - 音声部分: AAC-LC 128kbps 以下、サンプリングレート 48000Hz 以下 [2] - 映像部分: H.264 Main Profile Level 2.1 -- 解像度 480x272 以下 -- ビットレート 4000kbps 以下、フレームレート 30fps 以下、''CABAC のみ''、Bフレーム使用可 (参照Bフレームは不可) - 音声部分: AAC-LC 128kbps 以下、サンプリングレート 48000Hz 以下 [3] - 映像部分: H.264 Main Profile Level 3.0 -- 解像度 720x480 または 640x480 (システムソフトウェア Ver. 5.00 以降のみ) のいずれか -- ビットレート 10000kbps 以下、フレームレート 30fps 以下、''CABAC のみ''、Bフレーム使用可 (参照Bフレームは不可) - 音声部分: AAC-LC 128kbps 以下、サンプリングレート 48000Hz 以下 のいずれかです。Main Profile にする場合は CABAC を使用していない動画は非対応データとされてしまい再生できません。 以上を踏まえて、 - -coder 0 ⇒ Baseline にする場合 または -coder 1 ⇒ Main Profile にする場合 - -level 13 or 21 or 30 ⇒ 映像部分のレベルを整数値で指定 &br; ⇒ level の自動判定で特に問題ない場合がほとんどですが、解像度と指定ビットレートによっては上記以外になることがあるため 明示的に指定しておいた方が無難だと思います。 が必要です。 ** 具体的な設定例 [#o033de61] 上記の仕様に則った動画を作成するための''最低限の'' 変換オプションです。 ffmpeg には非常に多岐にわたるオプションがあり、これらをフルに使うとコマンドラインが非常に長くなって 本当に必要な部分が分かりにくくなるため、必要最低限のもの以外は省略しています。 <設定例> [1] Baseline Profile Level 1.3 の場合 [[iPod 向けの 320x240 設定:http://wiki.crav-ing.com/index.php?iPod#p962558b]] と同じで OK ですので省略。 上記の設定から、-f ipod をはずしてください (iPod と共用する場合は付けたままでも問題ないです)。 [2] Main Profile Level 2.1 の場合 現行の Craving Explorer に入っている convert.xml のデフォルト設定とほぼ同じです PSP本体で動画を見る場合、このサイズで原寸表示になります。 <DisplayName>PSP (H.264+AAC)</DisplayName> <CommandLine>-vcodec libx264 -coder 1 -level 21 -s 360x270 -aspect 4:3 -b 1200k -r 30000/1001 -acodec libfaac -ar 44100 -ab 128k</CommandLine> <FileExtension>mp4</FileExtension> <DisplayName>PSP ワイド(H.264+AAC)</DisplayName> <CommandLine>-vcodec libx264 -coder 1 -level 21 -s 480x270 -aspect 16:9 -b 1200k -r 30000/1001 -acodec libfaac -ar 44100 -ab 128k</CommandLine> <FileExtension>mp4</FileExtension> (※1) -b 1200k はデフォルトの convert.xml に合わせています。level 2.1 の規定では最大ビットレートは 4000kbps まで。 [3] Main Profile Level 3.0 の場合 TV出力ケーブル等で外部に出力する場合など、解像度を大きくしたい場合。 <DisplayName>PSP 高解像度(H.264+AAC)</DisplayName> <CommandLine>-vcodec libx264 -coder 1 -level 30 -s 640x480 -aspect 4:3 -b 3000k -r 30000/1001 -acodec libfaac -ar 44100 -ab 128k</CommandLine> <FileExtension>mp4</FileExtension> <DisplayName>PSP 高解像度(H.264+AAC)</DisplayName> <CommandLine>-vcodec libx264 -coder 1 -level 30 -s 720x480 -aspect 15:11 -b 3000k -r 30000/1001 -acodec libfaac -ar 44100 -ab 128k</CommandLine> <FileExtension>mp4</FileExtension> <DisplayName>PSP 高解像度 ワイド(H.264+AAC)</DisplayName> <CommandLine>-vcodec libx264 -coder 1 -level 30 -s 720x480 -aspect 20:11 -b 3000k -r 30000/1001 -acodec libfaac -ar 44100 -ab 128k</CommandLine> <FileExtension>mp4</FileExtension> (※1) -b 3000k は適当です。level 3.0 の規定では最大ビットレートは 10000kbps まで。 (※2) 解像度を 720x480 にする場合アスペクト比の指定は、ピクセル比が 10:11 (4:3表示) or 40:33 (16:9表示) である必要があります。 このピクセル比を適用すると表示アスペクト比は 15:11 (4:3表示) または 20:11 (16:9表示) になるので、-aspect ではこちらを指定してください。 *** -f psp オプションについて [#g41af788] ffmpeg には -f psp というオプションがありますが、このオプションは以前のバージョンのシステムソフトウェアで MP_ROOT 以下においていた動画ファイル (Image Converter が出力するメモリースティックビデオ形式のファイル) に 偽装するようなヘッダを生成します。VIDEO フォルダにおく場合は通常 -f psp は必要ありません。 ※ Craving Explorer の convert.xml では -f psp がついていますが、これは映像・音声トラックがともに一つづつで あることを保証する (-f psp はこれ以外の場合エラーになる) ためにつけています。 *** その他カスタマイズについて [#k21db81a] 基本的に [[iPod のページ:http://wiki.crav-ing.com/index.php?iPod#j5b87a68]] と同じですが PSP の場合 CABAC と B-Frame が利用できるため、以下のオプションも追加で使用可能になります。 - -bf - -partitions +partb8x8 - -b_strategy 0~2 - -b_qfactor - -directpred 0~3 - -flags2 +wpred - -trellis 1~2 - -subq 7 or 9 (B フレームを使わない場合は 6 と 7 は同等、8 と 9 も同等です) 依然として使えないのは、-partitioins +parti8x8, -flags +dct8x8 (HighProfile になるため) と PSP で正常に再生されない -flags2 +bpyramid です。 ** iPod との動画の共用について [#x5d0dd70] 一応、PSP では Baseline Level 2.1 というのも再生可能な模様です。 従って、解像度 480x272 以下、Baseline (CAVLC+Bフレーム無し)、Level 2.1 で作成してあれば iPod 5.5G 以降と共用可能な動画になると思われます (5.5G の場合 -f ipod で iPod uuid を付加してください)。 * コメント [#y54aad48] 以下はコメント欄です -使えるオプションを可能な限り入れて見ました。 画質・ファイルサイズともに元とほぼ同じになるようにするのが目標です。 "-threads 2"を入れても変換時間は元動画の1.3倍ほど掛かります。 効果が無さそうであれば指摘をお願いします。 <CommandLine>-f psp -vcodec libx264 -coder 1 -bufsize 512 -g 250 -s 360x270 -crf 21 -qmin 16 -qmax 37 -bf 3 -subq 9 -trellis 2 -cmp chroma -directpred 3 -b_strategy 1 -partitions parti4x4+partp8x8+partb8x8 -flags2 +wpred+mixed_refs -sc_threshold 60 -keyint_min 5 -r 30000/1001 -me_method esa -me_range 32 -refs 3 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.3 -acodec libfaac -ar 44100 -ab 128k</CommandLine> -- [[見物人A]] &new{2009-05-08 (金) 01:36:15}; - I tell my friends about it! http://www.freecodesource.com/user/profile-369207.html fantise rape stories doroslovo http://www.freecodesource.com/user/profile-369218.html monster rape hentai mymom http://www.freecodesource.com/user/profile-369219.html animal rape vids ayesha -- [[ohzaj]] &new{2010-03-12 (金) 19:36:02}; - Good http://www.freecodesource.com/user/profile-369220.html japenese rape sites nummaeyns http://www.freecodesource.com/user/profile-369222.html lesbian tentacle rape butovo http://www.freecodesource.com/user/profile-369224.html free 3d alien rape videos mojakuca -- [[grbjm]] &new{2010-03-12 (金) 20:34:30}; - Thank you for this article. http://www.freecodesource.com/user/profile-369225.html tentacle hentai rape comma http://www.freecodesource.com/user/profile-369233.html free medical rape stories hifoy http://www.freecodesource.com/user/profile-369234.html japanese tentacle rape seilor -- [[zuwmd]] &new{2010-03-12 (金) 21:33:00}; - I tell my friends about it! http://www.freecodesource.com/user/profile-369235.html rape sites stream free ussing http://www.freecodesource.com/user/profile-369236.html outdoor rape videos plotnik http://www.freecodesource.com/user/profile-369237.html live action tentacle rape porn marecki -- [[cxawc]] &new{2010-03-12 (金) 22:32:25}; - Damn! http://www.freecodesource.com/user/profile-369238.html rape victim pictures komadei http://www.freecodesource.com/user/profile-369240.html brutal rape sites interpeti http://www.freecodesource.com/user/profile-369241.html tentacle rape sex games askmemore -- [[jrwfq]] &new{2010-03-12 (金) 23:31:00}; - Nice conversation here. http://www.freecodesource.com/user/profile-369242.html ladyboy rape vids piseck http://www.freecodesource.com/user/profile-369243.html rape sex scenes lyssa http://www.freecodesource.com/user/profile-369244.html rape asian train exohen -- [[nlosd]] &new{2010-03-13 (土) 00:29:29}; - Damn! http://www.freecodesource.com/user/profile-369245.html teen rape porn tube kukilein http://www.freecodesource.com/user/profile-369246.html free anal rape movies gosecure http://www.freecodesource.com/user/profile-369247.html gay boy rape jakotsu -- [[bckwm]] &new{2010-03-13 (土) 01:22:03}; - Good http://www.freecodesource.com/user/profile-369248.html rape porn labnogard http://www.freecodesource.com/user/profile-369249.html free asian rape porn vlachos http://www.freecodesource.com/user/profile-369250.html tentacle rape monster lapsans -- [[sicrw]] &new{2010-03-13 (土) 02:14:32}; - I totally agree with your points. http://www.freecodesource.com/user/profile-369251.html rape free vids oldbad http://www.freecodesource.com/user/profile-369252.html hentai chick rape nelia http://www.freecodesource.com/user/profile-369253.html anal rape in africa demonix -- [[alama]] &new{2010-03-13 (土) 03:06:40}; - This is awesome http://www.freecodesource.com/user/profile-369236.html gay stories free rape gosecure http://www.freecodesource.com/user/profile-369237.html rape ass stories craigem http://www.freecodesource.com/user/profile-369256.html gay prison rape jonatann -- [[gsmlh]] &new{2010-03-13 (土) 03:58:37}; - Im really happy to see all this http://www.freecodesource.com/user/profile-369257.html rape scenes in the movies jimboy http://www.freecodesource.com/user/profile-369258.html ca gang rape pease http://www.freecodesource.com/user/profile-369259.html hardcore anal rape videos joblow -- [[hjaqe]] &new{2010-03-13 (土) 04:50:57}; - Im really happy to see all this http://www.freecodesource.com/user/profile-369260.html male ass rape lemamala http://www.freecodesource.com/user/profile-369261.html hentai rape xxx tully http://www.freecodesource.com/user/profile-369263.html simulated lesbian rape thoby -- [[xihio]] &new{2010-03-13 (土) 05:42:42}; - Nice conversation here. http://axure.com/cs/members/tube8.aspx gay tube8 tinsun http://axure.com/cs/members/xhamster.aspx xhamster lupia http://axure.com/cs/members/porn+hub.aspx busty foursome denfire -- [[drrhe]] &new{2010-03-13 (土) 06:52:07}; - Exciting website. Thank you. http://axure.com/cs/members/you+porn.aspx beta lite you porn pasta http://axure.com/cs/members/red+tube.aspx red tube top cocker http://axure.com/cs/members/youjizz.aspx ebony youjizz saranrw -- [[zljwz]] &new{2010-03-13 (土) 07:43:38}; - I like this site! http://axure.com/cs/members/freeones.aspx miss raquel videos freeones cornholi http://axure.com/cs/members/spankwire.aspx spankwire porntube kasparovv http://axure.com/cs/members/xtube.aspx xtube videos bismarck -- [[lruck]] &new{2010-03-13 (土) 08:35:39}; - I'm impressed! http://axure.com/cs/members/xvideos.aspx black xvideos asidie http://axure.com/cs/members/keez+movies.aspx pornstar cumshot keezmovies rogues http://axure.com/cs/members/tube+8.aspx tube 8 com marcurius -- [[fpmes]] &new{2010-03-13 (土) 09:27:56}; #comment