Archive:Kdenlive/Manual/Project Menu/Render/Render Profile Parameters/ru: Difference between revisions

From KDE UserBase Wiki
(Created page with "варианты видео -vcodec codec видео кодек ("копия", чтобы скопировать поток) -pass n выбор кол...")
(Updating to match new version of source page)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
== Render Profile Parameters ==


== Параметры профиля визуализации - как их читать ==
===Render Profile Parameters - How to read them - ver 0.9.10 ===
In version 0.9.10 the render profile parameters changed significantly. <br />
 
 
[[File:Kdenlive Edit render profile 0.9.10.png]]
 
Kdenlive now makes use of "property presets" delivered by the ''melt'' project (see [http://www.mltframework.org/bin/view/MLT/PropertyPresets melt doco]). These presets are referenced by the ''properties=<preset>'' syntax.  In the example illustrated, the render profile is referencing ''lossless/H.264''.  This refers to a property preset found in file H.264 found on the system at <tt>/usr/share/mlt/presets/consumer/avformat/lossless</tt>.
 
All the ''<presets>'' referenced in the render settings in Kdenlive will be referring to presets found at <tt>/usr/share/mlt/presets/consumer/avformat/</tt> (on a default install). Note that you reference presets found in subdirectories of this folder using a <tt><dirname>/<profile></tt>  syntax as shown in the example above.
 
{{Output|1=<nowiki>
properties=lossless/H.264
g=120
crf=%quality
ab=%audiobitrate+'k'
</nowiki>}}
 
The preset files found at <tt>/usr/share/mlt/presets/consumer/avformat/</tt> are simple text files that contain the ''melt'' parameters that define the rendering. An example is shown below.  These are the same parameters that were used in earlier versions of Kdenlive &mdash; see next section for how to read those.
Contents of  lossless/H.264: <!--}}-->
{{Output|1=<nowiki>
f=mp4
acodec=aac
ab=384k
vcodec=libx264
intra=1
vb=0
g=0
bf=0
preset=medium
qscale=1
qp=0
coder=ac
 
meta.preset.extension=mp4
meta.preset.note=Intra-frame only, lossless compressed MPEG-4 AVC with AAC audio
</nowiki>}} <!--{{-->
 
<span id="Render_Profile_Parameters_-_How_to_read_them_-_earlier_versions_of_Kdenlive"></span>
<div class="mw-translate-fuzzy">
=== Параметры профиля визуализации - как их читать ===
</div>


[[File:Custom render profiles.png|300px]]
[[File:Custom render profiles.png|300px]]
Line 11: Line 53:
В приведенном выше примере параметры:
В приведенном выше примере параметры:


  f=dvd  
  {{Output|1=<nowiki>f=dvd  
  vcodec=mpeg2video  
  vcodec=mpeg2video  
  acodec=mp2   
  acodec=mp2   
Line 27: Line 69:
  trellis=1  
  trellis=1  
  profile=dv_pal_wide  
  profile=dv_pal_wide  
  pass=2
  pass=2</nowiki>}}


<div class="mw-translate-fuzzy">
Страница [http://linux.die.net/man/1/ffmpeg  ffmpeg помощи] описывает эти параметры как:
Страница [http://linux.die.net/man/1/ffmpeg  ffmpeg помощи] описывает эти параметры как:
</div>
<div class="mw-translate-fuzzy">
основной параметр
</div>
{{Output|1=<nowiki>-f fmt          применяемый  формат</nowiki>}}


основной параметр
<div class="mw-translate-fuzzy">
-f fmt              формат
параметры видео
</div>


варианты видео
{{Output|1=<nowiki>
-vcodec codec       видео кодек ("копия", чтобы скопировать поток)
-vcodec codec     применяемый видеокодек ('copy' чтобы скопировать поток)
-pass n               выбор количество проходов (1 or 2)
-pass n           выбор коичества проходов (1 or 2)
-b bitrate             установка битрейта (in bits/s)
-b bitrate       установка битрейта (в bits/s)
-vb bitrate           установка битрейта (in bits/s)
-vb bitrate       установка битрейта (в bits/s)
-s size                 установка размера кадра (ШxВ или сокращение)
-s size           установка размера кадра (ШxВ или сокращение)
-me_range         <int>  E.V.. предельный диапазон векторов движения (1023 для DivX player)
-me_range         <int>  E.V.. предельный диапазон векторов движения (1023 для DivX player)
-trellis                 <int>  E.VA. оптимальное квантование сигнал-шум
-trellis         <int>  E.VA. оптимальное квантование сигнал-шум
</nowiki>}}


audio options are
<div class="mw-translate-fuzzy">
-acodec codec      force audio codec ('copy' to copy stream)
аудио параметры
-ab bitrate            set bitrate (in bits/s)
</div>
-ar rate                  set audio sampling rate (in Hz)


The AVCodecContext AVOptions include:
{{Output|1=<nowiki>
  -b                <int>  E.V.. set bitrate (in bits/s)
-acodec codec      применяемый аудиокодек ('copy' для копирования потока)
  -maxrate      <int>  E.V.. set max video bitrate tolerance (in bits/s)
-ab bitrate            установка битрейта (в bits/s)
  -minrate      <int>  E.V.. set min video bitrate tolerance (in bits/s)
-ar rate                  установка частоты дискретизации (в Hz)
  -g                <int>  E.V.. set the group of picture size
</nowiki>}}
 
AVCodecContext AVOptions включают в себя:
 
{{Output|1=<nowiki>
  -b                <int>  E.V.. установка битрейта (в bits/s)
  -maxrate      <int>  E.V.. установка максимального битрейта видео толерантности (в bits/s)
  -minrate      <int>  E.V.. установка минимального битрейта видео толерантности (in bits/s)
  -g                <int>  E.V.. установить размер группы изображений
</nowiki>}}


Таким образом все параметры профиля сборки описаны в '''ffmpeg''' документации.
Таким образом все параметры профиля сборки описаны в '''ffmpeg''' документации.


См. так же [http://www.mltframework.org/bin/view/MLT/ConsumerAvformat MLT doco] на ConsumerAvFormat.
See also [https://forum.kde.org/viewtopic.php?f=272&t=124869#p329129 HOWTO Produce 4k and 2K videos, YouTube compatible]
<div class="mw-translate-fuzzy">
{{Prevnext2
{{Prevnext2
| prevpage=Special:MyLanguage/Kdenlive/Manual/Rendering | nextpage=Special:MyLanguage/Kdenlive/Manual/Capturing
| prevpage=Special:MyLanguage/Kdenlive/Manual/Rendering | nextpage=Special:MyLanguage/Kdenlive/Manual/Capturing
Line 61: Line 126:
| index=Special:MyLanguage/Kdenlive/Manual | indextext=Вернуться к оглавлению
| index=Special:MyLanguage/Kdenlive/Manual | indextext=Вернуться к оглавлению
}}
}}
</div>


[[Category:Kdenlive]]
[[Category:Kdenlive]]

Latest revision as of 14:18, 11 August 2023

Other languages:

Render Profile Parameters

Render Profile Parameters - How to read them - ver 0.9.10

In version 0.9.10 the render profile parameters changed significantly.


Kdenlive now makes use of "property presets" delivered by the melt project (see melt doco). These presets are referenced by the properties=<preset> syntax. In the example illustrated, the render profile is referencing lossless/H.264. This refers to a property preset found in file H.264 found on the system at /usr/share/mlt/presets/consumer/avformat/lossless.

All the <presets> referenced in the render settings in Kdenlive will be referring to presets found at /usr/share/mlt/presets/consumer/avformat/ (on a default install). Note that you reference presets found in subdirectories of this folder using a <dirname>/<profile> syntax as shown in the example above.

properties=lossless/H.264 
g=120 
crf=%quality 
ab=%audiobitrate+'k'

The preset files found at /usr/share/mlt/presets/consumer/avformat/ are simple text files that contain the melt parameters that define the rendering. An example is shown below. These are the same parameters that were used in earlier versions of Kdenlive — see next section for how to read those.

Contents of lossless/H.264:

f=mp4
acodec=aac
ab=384k
vcodec=libx264
intra=1
vb=0
g=0
bf=0
preset=medium
qscale=1
qp=0
coder=ac

meta.preset.extension=mp4
meta.preset.note=Intra-frame only, lossless compressed MPEG-4 AVC with AAC audio

Параметры профиля визуализации - как их читать

Параметры, которые используются в профиле сборки, являются собственно параметрами программы ffmpeg

Это рабочий пример, чтоб показать, как понять значение этих параметров используя документацию ffmpeg .

В приведенном выше примере параметры:

f=dvd 
 vcodec=mpeg2video 
 acodec=mp2  
 b=5000k 
 maxrate=8000k 
 minrate=0 
 bufsize=1835008 
 mux_packet_s=2048 
 mux_rate=10080000 
 ab=192k 
 ar=48000 
 s=720x576 
 g=15 
 me_range=63 
 trellis=1 
 profile=dv_pal_wide 
 pass=2

Страница ffmpeg помощи описывает эти параметры как:

основной параметр

-f fmt          применяемый  формат

параметры видео

-vcodec codec     применяемый видеокодек ('copy' чтобы  скопировать поток)
-pass n           выбор коичества проходов (1 or 2)
-b bitrate        установка битрейта (в bits/s)
-vb bitrate       установка битрейта (в bits/s)
-s size           установка размера кадра (ШxВ или сокращение)
-me_range         <int>   E.V.. предельный диапазон векторов движения (1023 для DivX player)
-trellis          <int>   E.VA. оптимальное квантование сигнал-шум

аудио параметры

 -acodec codec      применяемый аудиокодек ('copy' для копирования потока)
 -ab bitrate             установка битрейта (в bits/s)
 -ar rate                  установка частоты дискретизации (в Hz)

AVCodecContext AVOptions включают в себя:

 -b                 <int>   E.V.. установка битрейта (в bits/s)
 -maxrate      <int>   E.V.. установка максимального битрейта видео толерантности (в bits/s)
 -minrate       <int>   E.V.. установка минимального битрейта видео толерантности (in bits/s)
 -g                 <int>   E.V.. установить размер группы изображений

Таким образом все параметры профиля сборки описаны в ffmpeg документации.

См. так же MLT doco на ConsumerAvFormat.

See also HOWTO Produce 4k and 2K videos, YouTube compatible