~ubuntu-branches/debian/squeeze/mplayer/squeeze

« back to all changes in this revision

Viewing changes to DOCS/HTML/en/menc-feat-handheld-psp.html

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2010-07-31 23:44:52 UTC
  • mfrom: (1.1.4 upstream) (8.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100731234452-j7yyrgsh1wustazr
Tags: 2:1.0~rc3++final.dfsg1-1
* upload to unstable
* enable mencoder and mplayer-gui package
* build again against the system FFmpeg 0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>10.4. Encoding to Sony PSP video format</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="mencoder.html" title="Chapter 10. Basic usage of MEncoder"><link rel="prev" href="menc-feat-mpeg4.html" title='10.3. Encoding two pass MPEG-4 ("DivX")'><link rel="next" href="menc-feat-mpeg.html" title="10.5. Encoding to MPEG format"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter 1. Introduction"><link rel="chapter" href="install.html" title="Chapter 2. Installation"><link rel="chapter" href="usage.html" title="Chapter 3. Usage"><link rel="chapter" href="advaudio.html" title="Chapter 4. Advanced audio usage"><link rel="chapter" href="cd-dvd.html" title="Chapter 5. CD/DVD usage"><link rel="chapter" href="tv.html" title="Chapter 6. TV"><link rel="chapter" href="radio.html" title="Chapter 7. Radio"><link rel="chapter" href="video.html" title="Chapter 8. Video output devices"><link rel="chapter" href="ports.html" title="Chapter 9. Ports"><link rel="chapter" href="mencoder.html" title="Chapter 10. Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter 11. Encoding with MEncoder"><link rel="chapter" href="faq.html" title="Chapter 12. Frequently Asked Questions"><link rel="appendix" href="bugreports.html" title="Appendix A. How to report bugs"><link rel="appendix" href="skin.html" title="Appendix B. MPlayer skin format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">10.4. Encoding to Sony PSP video format</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="menc-feat-mpeg4.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Basic usage of <span class="application">MEncoder</span></th><td width="20%" align="right"> <a accesskey="n" href="menc-feat-mpeg.html">Next</a></td></tr></table><hr></div><div class="sect1" title="10.4. Encoding to Sony PSP video format"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="menc-feat-handheld-psp"></a>10.4. Encoding to Sony PSP video format</h2></div></div></div><p>
 
2
<span class="application">MEncoder</span> supports encoding to Sony PSP's video
 
3
format, but, depending on the revision of the PSP software, the constraints
 
4
may differ.
 
5
You should be safe if you respect the following constraints:
 
6
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
 
7
  <span class="bold"><strong>Bitrate</strong></span>: it should not exceed 1500kbps,
 
8
  however, past versions supported pretty much any bitrate as long as the
 
9
  header claimed it was not too high.
 
10
</p></li><li class="listitem"><p>
 
11
  <span class="bold"><strong>Dimensions</strong></span>: the width and height of the
 
12
  PSP video should be multiples of 16, and the product width * height must
 
13
  be &lt;= 64000.
 
14
  Under some circumstances, it may be possible for the PSP to play higher
 
15
  resolutions.
 
16
</p></li><li class="listitem"><p>
 
17
  <span class="bold"><strong>Audio</strong></span>: its samplerate should be 24kHz
 
18
  for MPEG-4 videos, and 48kHz for H.264.
 
19
</p></li></ul></div><p>
 
20
</p><div class="example"><a name="encode_for_psp"></a><p class="title"><b>Example 10.4. encode for PSP</b></p><div class="example-contents"><p>
 
21
</p><pre class="screen">
 
22
mencoder -ofps 30000/1001 -af lavcresample=24000 -vf harddup -of lavf \
 
23
    -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \
 
24
    -lavfopts format=psp \
 
25
    <em class="replaceable"><code>input.video</code></em> -o <em class="replaceable"><code>output.psp</code></em>
 
26
</pre><p>
 
27
Note that you can set the title of the video with
 
28
<tt class="option">-info name=<em class="replaceable"><code>MovieTitle</code></em></tt>.
 
29
</p></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="menc-feat-mpeg4.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mencoder.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="menc-feat-mpeg.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">10.3. Encoding two pass MPEG-4 ("DivX") </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 10.5. Encoding to MPEG format</td></tr></table></div></body></html>