CVS: main/DOCS/xml/en faq.xml,1.79,1.80
CVS change done by Guillaume Poirier CVS Update of /cvsroot/mplayer/main/DOCS/xml/en In directory mail:/var2/tmp/cvs-serv2203/en Modified Files: faq.xml Log Message: Corrections suggested by The Wanderer Index: faq.xml =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/xml/en/faq.xml,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- faq.xml 28 Jun 2005 08:21:09 -0000 1.79 +++ faq.xml 28 Jun 2005 11:40:32 -0000 1.80 @@ -1323,12 +1323,12 @@ <qandaentry> <question><para> -How can I create SVCDs? +How can I create (S)VCDs? </para></question> <answer><para> Newer versions of <application>MEncoder</application> can directly -generate MPEG-2 files that can be used as a base to create a (S)SVCD and -are likely to be playable out of the box on all platforms (for example +generate MPEG-2 files that can be used as a base to create a VCD or SVCD and +are likely to be playable out of the box on all platforms (for example, to share a video from a digital camcorder with your computer-illiterate friends). <screen> @@ -1340,18 +1340,22 @@ This will convert the input file <replaceable>in.avi</replaceable> into the output file <replaceable>xsvcd.mpg</replaceable>, converting the audio with <systemitem class="library">toolame</systemitem> at 224kbps -and the video with <systemitem class="library">libavcodec</systemitem>. +and the video with <systemitem class="library">libavcodec</systemitem> +at 2500kbps, making sure the bitrate never goes below 600 and never +exceeds 2500kbps, in order to respect the (S)VCD norm and ensure an +smooth playback. </para><para> Please note that in order to make the GOP structure SVCD compliant the <option>keyint</option> option should be 15 for PAL and 18 for NTSC, although very often files with much longer GOPs play correctly (25 should never lead to any problem). Also, even though leaving out <option>-ofps</option> should work in most -cases PAL requires <option>-ofps</option> 25 and NTSC +cases, (as your source is likely to have the appropriate framerate +already) PAL requires <option>-ofps</option> 25 and NTSC requires <option>-ofps</option> 30000/1001. </para><para> -As far as the audio is concerned, SVCD only support MPEG-1 layer II audio, -therefore you have to use either +As far as the audio is concerned, SVCD only supports MPEG-1 layer II audio, +therefore you have to use one of <systemitem class="library">toolame</systemitem>, <systemitem class="library">twolame</systemitem>, or as a last resort <systemitem class="library">libavcodec</systemitem>'s MPEG-1 layer II @@ -1360,20 +1364,24 @@ Both <systemitem class="library">toolame</systemitem> and <systemitem class="library">twolame</systemitem> follow the same syntax, so you depending on which one you managed to install, the example only -requires a small chance, but if you need to use +requires a small change. If you do need to use <systemitem class="library">libavcodec</systemitem>'s MPEG-1 layer II encoder, replace <screen> -oac toolame -toolameopts br=224 </screen> -by +if you use toolame or +<screen> +-oac twolame -twolameopts br=224 +</screen> +if you use twolame by: <screen> -oac lavc -lavcopts acodec=mp2:abitrate=224 </screen> </para><para> -The resulting file <replaceable>xsvcd.mpg</replaceable> is an extended +The resulting <replaceable>xsvcd.mpg</replaceable> is an extended SVCD (that is why it is called xsvcd), mainly because it does not contain -scan offsets, so if you need to generate an SVCD image out of it, you +scan offsets. If you need to generate an SVCD image out of it, you should pass it to <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>. </para></answer>
Guillaume Poirier CVS wrote:
Also, even though leaving out <option>-ofps</option> should work in most -cases PAL requires <option>-ofps</option> 25 and NTSC +cases, (as your source is likely to have the appropriate framerate +already) PAL requires <option>-ofps</option> 25 and NTSC requires
Slight mistake here: the comma goes after the parentheses. The rest is satisfactory. -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. A government exists to serve its citizens, not to control them.
On 6/28/05, The Wanderer <inverseparadox@comcast.net> wrote:
Guillaume Poirier CVS wrote:
Also, even though leaving out <option>-ofps</option> should work in most -cases PAL requires <option>-ofps</option> 25 and NTSC +cases, (as your source is likely to have the appropriate framerate +already) PAL requires <option>-ofps</option> 25 and NTSC requires
Slight mistake here: the comma goes after the parentheses.
The rest is satisfactory.
:-) Ok, fixed locally. I'll commit the fixes soon as I forgot to include the tip about the frame size expected for PAL and NTSC. Thanks, Guillaume -- A woman isn't complete without a man. But where do you find a man - a real man - these days? -- Lauren Bacall My answer: Only at #mplayerdev on the freenode IRC network.
Hi, On 6/28/05, Guillaume POIRIER <poirierg@gmail.com> wrote:
On 6/28/05, The Wanderer <inverseparadox@comcast.net> wrote:
Guillaume Poirier CVS wrote:
Also, even though leaving out <option>-ofps</option> should work in most -cases PAL requires <option>-ofps</option> 25 and NTSC +cases, (as your source is likely to have the appropriate framerate +already) PAL requires <option>-ofps</option> 25 and NTSC requires
Slight mistake here: the comma goes after the parentheses.
The rest is satisfactory.
:-) Ok, fixed locally. I'll commit the fixes soon as I forgot to include the tip about the frame size expected for PAL and NTSC.
Here it is: :-) Index: DOCS/xml/en/faq.xml =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/xml/en/faq.xml,v retrieving revision 1.80 diff -u -r1.80 faq.xml --- DOCS/xml/en/faq.xml 28 Jun 2005 11:40:32 -0000 1.80 +++ DOCS/xml/en/faq.xml 28 Jun 2005 19:01:02 -0000 @@ -1350,9 +1350,15 @@ although very often files with much longer GOPs play correctly (25 should never lead to any problem). Also, even though leaving out <option>-ofps</option> should work in most -cases, (as your source is likely to have the appropriate framerate -already) PAL requires <option>-ofps</option> 25 and NTSC requires +cases (as your source is likely to have the appropriate framerate +already), PAL requires <option>-ofps</option> 25 and NTSC requires <option>-ofps</option> 30000/1001. +What's more, PAL SVCDs only support 480x576 and 352x288 resolutions, +when NTSC only supports 480x480 and 352x240. +If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like <option>-vf scale=480:576,harddup</option> or +<option>-vf scale=352:288,harddup</option> for a PAL SVCD. </para><para> As far as the audio is concerned, SVCD only supports MPEG-1 layer II audio, therefore you have to use one of -- A woman isn't complete without a man. But where do you find a man - a real man - these days? -- Lauren Bacall My answer: Only at #mplayerdev on the freenode IRC network.
Guillaume POIRIER wrote:
<option>-ofps</option> 30000/1001. +What's more, PAL SVCDs only support 480x576 and 352x288 resolutions, +when NTSC only supports 480x480 and 352x240.
I mentioned this before, WRT a different patch. What this currently means is that "at those times when NTSC only supports 480x480 and 352x240, and so far as we're telling you only at those times, then PAL SVCDs only support 480x576 anx 352x288". The simplest fix, as before, is to say "whereas" instead of "when"; if you don't like to use that word, then the phrase "by comparison" would also work, although it is perhaps slightly clunkier.
+If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like <option>-vf scale=480:576,harddup</option> or +<option>-vf scale=352:288,harddup</option> for a PAL SVCD.
Either leave out "for a PAL SVCD" in the second case, or add "for an NTSC SVCD" before the word "or". -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. A government exists to serve its citizens, not to control them.
On Tue, Jun 28, 2005 at 11:55:25PM -0400, The Wanderer wrote:
Guillaume POIRIER wrote:
+If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like <option>-vf scale=480:576,harddup</option> or +<option>-vf scale=352:288,harddup</option> for a PAL SVCD.
Either leave out "for a PAL SVCD" in the second case, or add "for an NTSC SVCD" before the word "or".
I'd go with the latter. Diego
Hi, On 6/30/05, Diego Biurrun <diego@biurrun.de> wrote:
On Tue, Jun 28, 2005 at 11:55:25PM -0400, The Wanderer wrote:
Guillaume POIRIER wrote:
+If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like <option>-vf scale=480:576,harddup</option> or +<option>-vf scale=352:288,harddup</option> for a PAL SVCD.
Either leave out "for a PAL SVCD" in the second case, or add "for an NTSC SVCD" before the word "or".
I'd go with the latter.
This is what I committed instead: +If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like for example <option>-vf scale=480:480,harddup</option> for +an NTSC SVCD or <option>-vf scale=352:288,harddup</option> for a PAL SVCD. Note that the 2 previous scale examples we for PAL only, when the new version features both NTSC and PAL examples. Is that okay with you? Guillaume -- A woman isn't complete without a man. But where do you find a man - a real man - these days? -- Lauren Bacall My answer: Only at #mplayerdev on the freenode IRC network.
On Thu, Jun 30, 2005 at 11:06:39AM +0200, Guillaume POIRIER wrote:
On 6/30/05, Diego Biurrun <diego@biurrun.de> wrote:
On Tue, Jun 28, 2005 at 11:55:25PM -0400, The Wanderer wrote:
Guillaume POIRIER wrote:
+If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like <option>-vf scale=480:576,harddup</option> or +<option>-vf scale=352:288,harddup</option> for a PAL SVCD.
Either leave out "for a PAL SVCD" in the second case, or add "for an NTSC SVCD" before the word "or".
I'd go with the latter.
This is what I committed instead: +If the source video has a different resolution, then you must rescale +with the <option>scale</option> video filter, which will make your filter +chain look like for example <option>-vf scale=480:480,harddup</option> for +an NTSC SVCD or <option>-vf scale=352:288,harddup</option> for a PAL SVCD.
Note that the 2 previous scale examples we for PAL only, when the new version features both NTSC and PAL examples.
Is that okay with you?
Yes. Diego
On Tuesday 28 June 2005 14:40, Guillaume Poirier CVS wrote:
+generate MPEG-2 files that can be used as a base to create a VCD or SVCD and
VCD is MPEG-1. SVCD is MPEG-2.
+at 2500kbps, making sure the bitrate never goes below 600 and never +exceeds 2500kbps, in order to respect the (S)VCD norm and ensure an +smooth playback.
I believe VCD is constant bitrate at considerably less than 2500kbps. SVCD is VBR. Never heard of a minimum bitrate requirement for SVCD. Maybe VCD needs a different section? :)
On Wednesday, 29 June 2005 at 03:22, Jan Knutar wrote:
On Tuesday 28 June 2005 14:40, Guillaume Poirier CVS wrote: [...]
+at 2500kbps, making sure the bitrate never goes below 600 and never +exceeds 2500kbps, in order to respect the (S)VCD norm and ensure an +smooth playback.
I believe VCD is constant bitrate at considerably less than 2500kbps.
1150 IIRC. R. -- MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/ "I am Grey. I stand between the candle and the star. We are Grey. We stand between the darkness ... and the light." -- Delenn in Grey Council in Babylon 5:"Babylon Squared"
On Tue, Jun 28, 2005 at 01:40:35PM +0200, Guillaume Poirier CVS wrote:
+exceeds 2500kbps, in order to respect the (S)VCD norm and ensure an +smooth playback.
s/an// Diego
participants (6)
-
Diego Biurrun -
Dominik 'Rathann' Mierzejewski -
Guillaume POIRIER -
Jan Knutar -
syncmail@mplayerhq.hu -
The Wanderer