mirror of https://github.com/mpv-player/mpv
Fix HTML generation, <equation> is more elaborate in most DTDs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15132 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0725501b28
commit
f294c50e0f
|
@ -619,12 +619,12 @@ vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,
|
||||||
audio track(s), so you should <link linkend="menc-feat-dvd-mpeg4-audio">rip
|
audio track(s), so you should <link linkend="menc-feat-dvd-mpeg4-audio">rip
|
||||||
those</link> first.
|
those</link> first.
|
||||||
You can compute the bitrate with the following equation:
|
You can compute the bitrate with the following equation:
|
||||||
<equation>bitrate = (target_size_in_Mbytes - sound_size_in_Mbytes) *
|
<systemitem>bitrate = (target_size_in_Mbytes - sound_size_in_Mbytes) *
|
||||||
1024 * 1024 / length_in_secs * 8 / 1000</equation>
|
1024 * 1024 / length_in_secs * 8 / 1000</systemitem>
|
||||||
For instance, to squeeze a two-hour movie onto a 702MB CD, with 60MB
|
For instance, to squeeze a two-hour movie onto a 702MB CD, with 60MB
|
||||||
of audio track, the video bitrate will have to be:
|
of audio track, the video bitrate will have to be:
|
||||||
<equation>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
|
<systemitem>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
|
||||||
= 740kbps</equation>
|
= 740kbps</systemitem>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -802,7 +802,7 @@ vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
First, you should compute the encoded aspect ratio:
|
First, you should compute the encoded aspect ratio:
|
||||||
<equation>ARc = (Wc x (ARa / PRdvd )) / Hc</equation>
|
<systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<title>where:</title>
|
<title>where:</title>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
|
@ -820,8 +820,8 @@ vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,
|
||||||
<para>
|
<para>
|
||||||
Then, you can compute the X and Y resolution, according to a certain
|
Then, you can compute the X and Y resolution, according to a certain
|
||||||
Compression Quality (CQ) factor:
|
Compression Quality (CQ) factor:
|
||||||
<equation>ResY = INT(SQRT( 1000*Bitrate/25/ARc/CQ )/16) * 16</equation>
|
<systemitem>ResY = INT(SQRT( 1000*Bitrate/25/ARc/CQ )/16) * 16</systemitem>
|
||||||
<equation>ResX = INT( ResY * ARc / 16) * 16</equation>
|
<systemitem>ResX = INT( ResY * ARc / 16) * 16</systemitem>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
|
Loading…
Reference in New Issue