# HG changeset patch # User torinthiel # Date 1165147949 0 # Node ID 77088392a591360ba5e54909267897b62d2fb047 # Parent 24775c741a9af9695cb8f7a2aedaf585658d6239 [cosmetics] Reindent XML source diff -r 24775c741a9a -r 77088392a591 DOCS/xml/en/mencoder.xml --- a/DOCS/xml/en/mencoder.xml Sun Dec 03 12:06:08 2006 +0000 +++ b/DOCS/xml/en/mencoder.xml Sun Dec 03 12:12:29 2006 +0000 @@ -18,13 +18,13 @@ Selecting codecs and container formats - Audio and video codecs for encoding are selected with the - and options, respectively. - Type for instance: - mencoder -ovc help - to list all video codecs supported by the version of - MEncoder on your machine. - The following choices are available: +Audio and video codecs for encoding are selected with the + and options, respectively. +Type for instance: +mencoder -ovc help +to list all video codecs supported by the version of +MEncoder on your machine. +The following choices are available: Audio Codecs: @@ -111,13 +111,13 @@ - Output container formats are selected with the - option. - Type: - mencoder -of help - to list all containers supported by the version of - MEncoder on your machine. - The following choices are available: +Output container formats are selected with the +option. +Type: +mencoder -of help +to list all containers supported by the version of +MEncoder on your machine. +The following choices are available: Container formats: @@ -151,25 +151,25 @@ - The AVI container is the native container format for - MEncoder, which means that it's the one that - is best handled, and the one for which MEncoder - was designed. - As noted above, other container formats are usable, but you may - experience problems when using them. +The AVI container is the native container format for +MEncoder, which means that it's the one that +is best handled, and the one for which MEncoder +was designed. +As noted above, other container formats are usable, but you may +experience problems when using them. libavformat containers: - If you selected libavformat - to do the muxing of the output file (by using the ), - the appropriate container format will be determined by the file extension - of the output file. - You may force a particular container format with - libavformat's - option. +If you selected libavformat +to do the muxing of the output file (by using the ), +the appropriate container format will be determined by the file extension +of the output file. +You may force a particular container format with +libavformat's + option. @@ -228,22 +228,22 @@ - As you can see, libavformat - allows MEncoder to mux into a considerable - variety of containers. - Unfortunately, as MEncoder was not designed - from the beginning to support container formats other than AVI, - your should really be paranoid about the resulting file. - Please check to be sure that the audio/video synchronization is OK - and that the file can be played correctly by players other than - MPlayer. +As you can see, libavformat +allows MEncoder to mux into a considerable +variety of containers. +Unfortunately, as MEncoder was not designed +from the beginning to support container formats other than AVI, +your should really be paranoid about the resulting file. +Please check to be sure that the audio/video synchronization is OK +and that the file can be played correctly by players other than +MPlayer. Example: - Creating a Macromedia Flash video suitable for playback in a web browser - with the Macromedia Flash plugin: +Creating a Macromedia Flash video suitable for playback in a web browser +with the Macromedia Flash plugin: mencoder input.avi -o output.flv -of lavf \ -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc \ @@ -259,41 +259,41 @@ Selecting input file or device - MEncoder can encode from files or directly - from a DVD or VCD disc. - Simply include the filename on the command line to encode from a file, - or titlenumber or - tracknumber to encode - from a DVD title or VCD track. - If you have already copied a DVD to your hard drive (you can use a tool - such as dvdbackup, available on most systems), - and wish to encode from the copy, you should still use the - syntax, along with - followed by the path to the copied DVD root. +MEncoder can encode from files or directly +from a DVD or VCD disc. +Simply include the filename on the command line to encode from a file, +or titlenumber or +tracknumber to encode +from a DVD title or VCD track. +If you have already copied a DVD to your hard drive (you can use a tool +such as dvdbackup, available on most systems), +and wish to encode from the copy, you should still use the + syntax, along with +followed by the path to the copied DVD root. - The and - options can also be used to override the paths to the device nodes - for reading directly from disc, if the defaults of - /dev/dvd and /dev/cdrom do - not work on your system. +The and +options can also be used to override the paths to the device nodes +for reading directly from disc, if the defaults of +/dev/dvd and /dev/cdrom do +not work on your system. - When encoding from DVD, it is often desirable to select a chapter or - range of chapters to encode. - You can use the option for this purpose. - For example, 1-4 - will only encode chapters 1 through 4 from the DVD. - This is especially useful if you will be making a 1400 MB encode - targetted for two CDs, since you can ensure the split occurs exactly - at a chapter boundary rather than in the middle of a scene. +When encoding from DVD, it is often desirable to select a chapter or +range of chapters to encode. +You can use the option for this purpose. +For example, 1-4 +will only encode chapters 1 through 4 from the DVD. +This is especially useful if you will be making a 1400 MB encode +targetted for two CDs, since you can ensure the split occurs exactly +at a chapter boundary rather than in the middle of a scene. - If you have a supported TV capture card, you can also encode from the - TV-in device. - Use channelnumber as - the filename, and to configure various capture - settings. - DVB input works similarly. +If you have a supported TV capture card, you can also encode from the +TV-in device. +Use channelnumber as +the filename, and to configure various capture +settings. +DVB input works similarly. @@ -349,10 +349,10 @@ Encoding to Sony PSP video format - MEncoder supports encoding to Sony PSP's video - format, but, depending on the revision of the PSP software, the constraints - may differ. - You should be safe if you respect the following constraints: +MEncoder supports encoding to Sony PSP's video +format, but, depending on the revision of the PSP software, the constraints +may differ. +You should be safe if you respect the following constraints: Bitrate: it should not exceed 1500kbps, @@ -378,12 +378,12 @@ mencoder -ofps 30000/1001 -af lavcresample=24000 -vf harddup -of lavf \ --oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \ --lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames \ -input.video -o output.psp + -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \ + -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames \ + input.video -o output.psp - Note that you can set the title of the video with - . +Note that you can set the title of the video with +. @@ -432,14 +432,14 @@ Hint: - If for some reason the video quality of the second pass did not - satisfy you, you may re-run your video encode with a different target - bitrate, provided that you saved the statistics file of the previous - pass. - This is possible because the statistics file's primary goal is to - record the complexity of each frame, which doesn't depend heavily on - bitrate. You should note, though, that you'll get the best results if - all passes are run with target bitrates that do not differ very much. +If for some reason the video quality of the second pass did not +satisfy you, you may re-run your video encode with a different target +bitrate, provided that you saved the statistics file of the previous +pass. +This is possible because the statistics file's primary goal is to +record the complexity of each frame, which doesn't depend heavily on +bitrate. You should note, though, that you'll get the best results if +all passes are run with target bitrates that do not differ very much. @@ -490,24 +490,24 @@ has no real life value at all. Rationally: video stream copying can be useful for example when only the audio stream has to be encoded (like, uncompressed PCM to MP3). - + Audio stream (option ): straightforward. It is possible to take an external audio file (MP3, WAV) and mux it into the output stream. Use the option for this. - + - Using to copy from one container format to - another may require the use of to keep the - audio format tag of the original file. - For example, if you are converting an NSV file with AAC audio to an AVI - container, the audio format tag will be incorrect and it will have to - be changed. For a list of audio format tags, check - codecs.conf. +Using to copy from one container format to +another may require the use of to keep the +audio format tag of the original file. +For example, if you are converting an NSV file with AAC audio to an AVI +container, the audio format tag will be incorrect and it will have to +be changed. For a list of audio format tags, check +codecs.conf. @@ -536,11 +536,11 @@ MEncoder decodes the input image(s) with libjpeg (when decoding PNGs, it will use libpng). - + MEncoder then feeds the decoded image to the chosen video compressor (DivX4, Xvid, FFmpeg msmpeg4, etc.). - + @@ -607,7 +607,7 @@ Creating a Motion PNG (MPNG) file from all the PNG files in the current directory: -mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o output.avi