From c7737c5f6dd90dfef48bb806d1eefa9421290b28 Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 24 Dec 2006 18:10:47 +0000 Subject: [PATCH] Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21764 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/ru/encoding-guide.xml | 379 ++++++++++++++++----------------- 1 file changed, 187 insertions(+), 192 deletions(-) diff --git a/DOCS/xml/ru/encoding-guide.xml b/DOCS/xml/ru/encoding-guide.xml index be21e2f893..c0e3f3baa0 100644 --- a/DOCS/xml/ru/encoding-guide.xml +++ b/DOCS/xml/ru/encoding-guide.xml @@ -4377,49 +4377,49 @@ mencoder dvd://2 -o title2.avi -ovc vfw -xvfwopts cod -Using <application>MEncoder</application> - to create VCD/SVCD/DVD-compliant files. +Использование <application>MEncoder</application> + для создания VCD/SVCD/DVD-совместимых файлов. -Format Constraints +Ограничения формата -MEncoder is capable of creating VCD, SCVD -and DVD format MPEG files using the -libavcodec library. -These files can then be used in conjunction with +MEncoder способен создавать MPEG файлы VCD, SCVD +и DVD формата, используя библиотеку libavcodec. +Эти файды затем могут быть использованы совместно с vcdimager -or +или dvdauthor -to create discs that will play on a standard set-top player. + +для создания дисков, которые будут воспроизводиться на стандартном set-top +проигрывателе. -The DVD, SVCD, and VCD formats are subject to heavy constraints. -Only a small selection of encoded picture sizes and aspect ratios are -available. -If your movie does not already meet these requirements, you may have -to scale,crop or add black borders to the picture to make it -compliant. +DVD, SVCD, и VCD форматы жестко ограничены. Доступен только небольшой выбор +размеров и пропорций кодируемого изображения. +Если ваш фильм пока не удовлетворяет этим ограничениям, придется изображение +масштабировать, обрезать или добавлять к нему черные полосы, чтобы добиться +совместимости. -Format Constraints +Ограничения форматов - Format - Resolution - V. Codec - V. Bitrate - Sample Rate - A. Codec - A. Bitrate + Формат + Разрешение + Вид. Кодек + Вид. Битпоток + Дискретизация + Ауд. Кодек + Ауд. Битпоток FPS - Aspect + Пропорции @@ -4427,23 +4427,23 @@ compliant. NTSC DVD 720x480, 704x480, 352x480, 352x240 MPEG-2 - 9800 kbps - 48000 Hz + 9800 кбит/с + 48000 Гц AC3,PCM - 1536 kbps (max) + 1536 кбит/с (макс.) 30000/1001, 24000/1001 - 4:3, 16:9 (only for 720x480) + 4:3, 16:9 (только для 720x480) NTSC DVD 352x240 - These resolutions are rarely used for DVDs because - they are fairly low quality. + Эти разрешения редко используются для DVD, поскольку имеют довольно низкое + качество. MPEG-1 - 1856 kbps - 48000 Hz + 1856 кбит/с + 48000 Гц AC3,PCM - 1536 kbps (max) + 1536 кбит/с (макс.) 30000/1001, 24000/1001 4:3, 16:9 @@ -4451,10 +4451,10 @@ compliant. NTSC SVCD 480x480 MPEG-2 - 2600 kbps - 44100 Hz + 2600 кбит/с + 44100 Гц MP2 - 384 kbps (max) + 384 кбит/с (макс.) 30000/1001 4:3 @@ -4462,10 +4462,10 @@ compliant. NTSC VCD 352x240 MPEG-1 - 1150 kbps - 44100 Hz + 1150 кбит/с + 44100 Гц MP2 - 224 kbps + 224 кбит/с 24000/1001, 30000/1001 4:3 @@ -4473,10 +4473,10 @@ compliant. PAL DVD 720x576, 704x576, 352x576, 352x288 MPEG-2 - 9800 kbps - 48000 Hz + 9800 кбит/с + 48000 Гц MP2,AC3,PCM - 1536 kbps (max) + 1536 кбит/с (макс.) 25 4:3, 16:9 (only for 720x576) @@ -4484,10 +4484,10 @@ compliant. PAL DVD 352x288 MPEG-1 - 1856 kbps - 48000 Hz + 1856 кбит/с + 48000 Гц MP2,AC3,PCM - 1536 kbps (max) + 1536 кбит/с (макс.) 25 4:3, 16:9 @@ -4495,10 +4495,10 @@ compliant. PAL SVCD 480x576 MPEG-2 - 2600 kbps - 44100 Hz + 2600 кбит/с + 44100 Гц MP2 - 384 kbps (max) + 384 кбит/с (макс.) 25 4:3 @@ -4506,10 +4506,10 @@ compliant. PAL VCD 352x288 MPEG-1 - 1152 kbps - 44100 Hz + 1152 кбит/с + 44100 Гц MP2 - 224 kbps + 224 кбит/с 25 4:3 @@ -4518,42 +4518,42 @@ compliant. -If your movie has 2.35:1 aspect (most recent action movies), you will -have to add black borders or crop the movie down to 16:9 to make a DVD -or VCD. -If you add black borders, try to align them at 16-pixel boundaries in -order to minimize the impact on encoding performance. -Thankfully DVD has sufficiently excessive bitrate that you do not have -to worry too much about encoding efficiency, but SVCD and VCD are -highly bitrate-starved and require effort to obtain acceptable quality. +Если ваш фильм имеет пропорции 2.35:1 (большинство современных фильмов), +для создания DVD или VCD придется добавить черные полосы или обрезать фильм до +16:9. Добавляя черные полосы, пытайтесь выровнять их размеры на границу в 16 пикселов, +чтобы минимизировать влияние на производительность кодирования. +К счастью, DVD имеет достаточно избыточный битпоток, чтобы не сильно +беспокоиться об эффективности кодирования, но SVCD и VCD весьма ограничены в +битпотоке и требуют определенных усилий для достижения приемлемого качества. -GOP Size Constraints +Ограничения на размер GOP -DVD, VCD, and SVCD also constrain you to relatively low -GOP (Group of Pictures) sizes. -For 30 fps material the largest allowed GOP size is 18. -For 25 or 24 fps, the maximum is 15. -The GOP size is set using the option. +DVD, VCD, и SVCD также ограничивают вас относительно низкими размерами +GOP (Group of Pictures, Группа Изображений). +Для материала с 30 fps максимальный допустимый размер GOP равен 18. +Для 25 или 24 fps, максимум равен 15. +Размер GOP устанавливается опцией . -Bitrate Constraints +Ограничения на битпоток -VCD video is required to be CBR at 1152 kbps. -This highly limiting constraint also comes along with an extremly low vbv -buffer size of 327 kilobits. -SVCD allows varying video bitrates up to 2500 kbps, and a somewhat less -restrictive vbv buffer size of 917 kilobits is allowed. -DVD video bitrates may range anywhere up to 9800 kbps (though typical -bitrates are about half that), and the vbv buffer size is 1835 kilobits. +VCD видео должно быть CBR с 1152 кбит/с. +Это сильное ограничение усугубляется, к тому же, чрезвычайно низким размером vbv +буфера, равным 327 килобит. +SVCD допускает различные значения видео битпотока вплоть до 2500 кбит/с и не +так сильно стесняющий размер vbv буфера, равный 917 килобит. +У DVD видео битпоток может свободно меняться вплоть до 9800 kbps (хотя обычный +поток равен примерно половине этого значения), а размер vbv буфер равен 1835 +килобит. @@ -4561,22 +4561,19 @@ bitrates are about half that), and the vbv buffer size is 1835 kilobits. -Output Options +Опции вывода -MEncoder has options to control the output -format. -Using these options we can instruct it to create the correct type of -file. +У MEncoder есть опции, управляющие выходным форматом. +Используя их, можно дать указание создать файл корректного типа. -The options for VCD and SVCD are called xvcd and xsvcd, because they -are extended formats. -They are not strictly compliant, mainly because the output does not -contain scan offsets. -If you need to generate an SVCD image, you should pass the output file -to +Для VCD и SVCD опции называются xvcd и xsvcd, потому что они являются +расширенными форматами. Они не полностью совместимы, в основном, потому что не + +содержат scan offsets. Если нужно создать образ SVCD, следует передать +выходной файл программе vcdimager. @@ -4591,80 +4588,79 @@ SVCD: -DVD (with timestamps on every frame, if possible): +DVD (с временными метками на каждом кадре, если возможно): -of mpeg -mpegopts format=dvd:tsaf -DVD with NTSC Pullup: +DVD с NTSC Pullup: -of mpeg -mpegopts format=dvd:tsaf:telecine -ofps 24000/1001 -This allows 24000/1001 fps progressive content to be encoded at 30000/1001 -fps whilst maintaing DVD-compliance. + +Это делает возможным кодирование 24000/1001 fps прогрессивного содержимого с +частотой 30000/1001 fps, пока сохраняется DVD-совместимость. -Aspect Ratio +Пропорции -The aspect argument of is used to encode -the aspect ratio of the file. -During playback the aspect ratio is used to restore the video to the -correct size. +Аргумент aspect в используется для кодирования +коэффициента пропорций файла. +Коэффициент пропорций используется в процессе воспроизведения для восстановления +правильного размера видео. -16:9 or "Widescreen" +16:9 or "Широкоэкранный" -lavcopts aspect=16/9 -4:3 or "Fullscreen" +4:3 or "Полноэкранный" -lavcopts aspect=4/3 -2.35:1 or "Cinemascope" NTSC +2.35:1 or "Кинематографический" NTSC -vf scale=720:368,expand=720:480 -lavcopts aspect=16/9 -To calculate the correct scaling size, use the expanded NTSC width of -854/2.35 = 368 +Для вычисления правильного размера масштабирования используйте расширенную +ширину NTSC 854/2.35 = 368 -2.35:1 or "Cinemascope" PAL +2.35:1 or "кинематографический" PAL -vf scale="720:432,expand=720:576 -lavcopts aspect=16/9 -To calculate the correct scaling size, use the expanded PAL width of -1024/2.35 = 432 +Для вычисления правильного размера масштабирования используйте расширинную +ширину PAL 1024/2.35 = 432 -Maintaining A/V sync +Сохранение A/V синхронизации -In order to maintain audio/video synchronization throughout the encode, -MEncoder has to drop or duplicate frames. -This works rather well when muxing into an AVI file, but is almost -guaranteed to fail to maintain A/V sync with other muxers such as MPEG. -This is why it is necessary to append the - video filter at the end of the filter chain -to avoid this kind of problem. -You can find more technical information about -in the section -Improving muxing and A/V sync reliability -or in the manual page. +Для того, чтобы сохранять аудио/видео синхронизацию в кодировании на всем его +протяжении, MEncoder должен выбрасывать или +дублировать кадры. Это довольно неплохо работает при мультиплексировании в AVI +файл, но с другими мультиплексорами, такими как MPEG, почти гарантировано +приведет к нарушению A/V синхронизации. Для избежания подобных проблем, +необходимо добавить видео фильтр в конец цепочки +фильтров. Дополнительную техническую информацию о можно +найти в разделе +Улучшение +мультиплексирования и надежности A/V синхронизации или в man руководстве. -Sample Rate Conversion +Преобразование частоты дискретизации -If the audio sample rate in the original file is not the same as -required by the target format, sample rate conversion is required. -This is achieved using the option and -the audio filter together. +Если частота дискретизации в оригинальном файле не совпадает с требуемой в +целевом формате, требуется преобразование. Его можно осуществить, совместно +используя опцию и аудио фильтр. @@ -4673,7 +4669,7 @@ DVD: -VCD and SVCD: +VCD и SVCD: -srate 44100 -af lavcresample=44100 @@ -4682,14 +4678,15 @@ VCD and SVCD: -Using libavcodec for VCD/SVCD/DVD Encoding +Использование libavcodec для VCD/SVCD/DVD кодирования -Introduction +Введение - libavcodec can be used to - create VCD/SVCD/DVD compliant video by using the appropriate options. + Используя соответствующие опции, можно применять + libavcodec для создания VCD/SVCD/DVD + совместимого видео. @@ -4698,88 +4695,86 @@ VCD and SVCD: lavcopts -This is a list of fields in that you may -be required to change in order to make a complaint movie for VCD, SVCD, -or DVD: +Это список полей в , которые может потребоваться +изменить, чтобы создать совместимый фильм для VCD, SVCD или DVD: acodec: - for VCD, SVCD, or PAL DVD; - is most commonly used for DVD. - PCM audio may also be used for DVD, but this is mostly a big waste of - space. - Note that MP3 audio is not compliant for any of these formats, but - players often have no problem playing it anyway. + для VCD, SVCD, или PAL DVD; + наиболее часто используется для DVD. + Для DVD также может использоваться PCM, но это, по большей части, бесполезная + трата свободного места. Имейте в виду, что MP3 аудио не совместимо ни с одним + из этих форматов, но, как бы то ни было, часто проигрыватели не испытывают + никаких проблем с его воспроизведением. abitrate: - 224 for VCD; up to 384 for SVCD; up to 1536 for DVD, but commonly - used values range from 192 kbps for stereo to 384 kbps for 5.1 channel - sound. + 224 для VCD; вплоть до 384 для SVCD; вплоть до 1536 для DVD, но + распространенным является диапазон значений от 192 кбит/с для стерео до 384 + кбит/с для 5.1 звука. vcodec: - for VCD; - for SVCD; - is usually used for DVD but you may also use - for CIF resolutions. + для VCD; + для SVCD; + обычно используется для DVD, но вы также можете + использовать + для CIF разрешений. keyint: - Used to set the GOP size. - 18 for 30fps material, or 15 for 25/24 fps material. - Commercial producers seem to prefer keyframe intervals of 12. - It is possible to make this much larger and still retain compatibility - with most players. - A of 25 should never cause any problems. + Используется для установки размера GOP. + 18 для 30fps материала или 15 для 25/24 fps материала. + Коммерческие изготовители похоже предпочитают значение интервала ключевых + кадров, равное 12. Можно значительно увеличить это значение и все еще + сохранять совместимость с большинством проигрывателей. + равное 25 не должно вызывать никаких проблем. vrc_buf_size: - 327 for VCD, 917 for SVCD, and 1835 for DVD. + 327 для VCD, 917 для SVCD и 1835 ддя DVD. vrc_minrate: - 1152, for VCD. May be left alone for SVCD and DVD. + 1152 для VCD. Иожет не указываться для SVCD и DVD. vrc_maxrate: - 1152 for VCD; 2500 for SVCD; 9800 for DVD. - For SVCD and DVD, you might wish to use lower values depending on your - own personal preferences and requirements. + 1152 для VCD; 2500 для SVCD; 9800 для DVD. + Для SVCD и DVD вы, возможно, пожелаете использовать меньшие значение в + зависимости от ваших личных требований и предпочтений. vbitrate: - 1152 for VCD; - up to 2500 for SVCD; - up to 9800 for DVD. - For the latter two formats, vbitrate should be set based on personal - preference. - For instance, if you insist on fitting 20 or so hours on a DVD, you - could use vbitrate=400. - The resulting video quality would probably be quite bad. - If you are trying to squeeze out the maximum possible quality on a DVD, - use vbitrate=9800, but be warned that this could constrain you to less - than an hour of video on a single-layer DVD. + 1152 для VCD; + вплоть до 2500 для SVCD; + вплоть до 9800 для DVD. + Для двух последний форматов, vbitrate следует установить на основании личных + предпочтений. + Например, если вы настаиваете на размещении 20 или около того часов видео на + DVD, можете использовать vbitrate=400. + Качество получившегося видео, возможно, будет довольно плохим. + Если вы пытаетесь выжать максимально возможное качество на DVD, используйте + vbitrate=9800, но имейте в виду, что это ограничит вас менее чем одним часом + видео на однослойном DVD. vtrict: - =0 should be used to create DVDs. - Without this option, MEncoder creates a - stream that cannot be correctly decoded by some standalone DVD - players. + =0 следует использовать для создания DVD. + Без этой опции MEncoder создает поток, который не + может быть корректно декодирован некоторыми аппаратными DVD проигрывателями. -Examples +Примеры - This is a typical minimum set of for - encoding video: + Это обычный минимальный набор для кодирования видео: VCD: @@ -4808,7 +4803,7 @@ keyint=15:vstrict=0:acodec=ac3 -Advanced Options +Расширенные опции For higher quality encoding, you may also wish to add quality-enhancing @@ -4836,24 +4831,23 @@ vqmin=1:lmin=1:dc=10:vstrict=0 -Encoding Audio +Кодирование звука -VCD and SVCD support MPEG-1 layer II audio, using one of +VCD и SVCD поддерживают звук MPEG-1 layer II, используя одну из toolame, twolame, -or libavcodec's MP2 encoder. -The libavcodec MP2 is far from being as good as the other two libraries, -however it should always be available to use. -VCD only supports constant bitrate audio (CBR) whereas SVCD supports -variable bitrate (VBR), too. -Be careful when using VBR because some bad standalone players might not -support it too well. +или MP2 libavcodec кодировщик. +libavcodec MP2 не так хорош, как остальные две библиотеки, однако он должен +быть всегда доступен для использования. +VCD поддерживает только звук с постоянным битпотоком (CBR), в то время как SVCD +также поддерживает и переменный (VBR). Будьте осторожны, используя VBR, +поскольку некоторые аппаратные проигрыватели могут не очень хорошо его +поддерживать. -For DVD audio, libavcodec's -AC3 codec is used. +Для DVD звука используется AC3 кодек из libavcodec. @@ -4861,7 +4855,7 @@ AC3 codec is used. toolame -For VCD and SVCD: +Для VCD и SVCD: -oac toolame -toolameopts br=224 @@ -4871,7 +4865,7 @@ For VCD and SVCD: twolame -For VCD and SVCD: +Для VCD и SVCD: -oac twolame -twolameopts br=224 @@ -4881,17 +4875,17 @@ For VCD and SVCD: libavcodec -For DVD with 2 channel sound: +Для 2 канального DVD звука: -oac lavc -lavcopts acodec=ac3:abitrate=192 -For DVD with 5.1 channel sound: +Для DVD с 5.1 звуком: -channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384 -For VCD and SVCD: +Для VCD и SVCD: -oac lavc -lavcopts acodec=mp2:abitrate=224 @@ -4900,11 +4894,11 @@ For VCD and SVCD: -Putting it all Together +Собирая все вместе -This section shows some complete commands for creating VCD/SVCD/DVD -compliant videos. +Этот раздел демонстрирует некоторые полные команды для создания VCD/SVCD/DVD +совместимого видео. @@ -4939,10 +4933,11 @@ keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 \ -PAL AVI Containing AC3 Audio to DVD +PAL AVI, содержащий AC3 звук, в DVD -If the source already has AC3 audio, use -oac copy instead of re-encoding it. +Если исходный материал уже содержит AC3 звук, используйте -oac copy вместо +перекодирования. mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \ -vf scale=720:576,harddup -ofps 25 \ @@ -4954,10 +4949,10 @@ keyint=15:vstrict=0:aspect=16/9 -o movie.mpg -NTSC AVI Containing AC3 Audio to DVD +NTSC AVI, содержащий AC3 звук, в DVD -If the source already has AC3 audio, and is NTSC @ 24000/1001 fps: +Если исходный материал уже содержит AC3 звук и является NTSC @ 24000/1001 fps: mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine \ -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\