Jump to content

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

From KDE Wiki Sandbox
FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 8: Line 8:
[[File:Kdenlive Edit render profile 0.9.10.png]]
[[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 ''/usr/share/mlt/presets/consumer/avformat/lossless''.
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 ''/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.  
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>
{{Output|1=<nowiki>
Line 19: Line 19:
</nowiki>}}
</nowiki>}}


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 &mdash; see next section for how to read those.  
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:  
Contents of  lossless/H.264:  

Revision as of 15:52, 10 December 2014

Render Profile Parameters - How to read them

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.