Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
8bee1d86
Commit
8bee1d86
authored
Apr 16, 2021
by
Jean-Baptiste Mardelle
Browse files
Remember last used parameter for edit friendly transcoding
parent
9222a7c7
Pipeline
#58299
passed with stage
in 9 minutes and 24 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
data/kdenlivetranscodingrc
View file @
8bee1d86
...
...
@@ -37,6 +37,5 @@ DVD NTSC 16:9=-f dvd -r 23.976 -vf scale=720:480 -aspect 16:9 -minrate 0 -maxrat
[intermediate]
Lossy x264 I frame only=-f mp4 -codec:v libx264 -g 1 -bf 0 -crf 15 -preset medium -codec:a aac -ab 256k %1.mp4
Lossy x264 I frame only (NVidia GPU)=-f mp4 -vsync 0 -c:v %nvcodec -i -codec:v h264_nvenc -g 1 -bf 0 -codec:a aac -ab 256k %1.mp4
Lossy x264 I frame only (NVidia GPU)=-f mp4 -vsync 0 -c:v %nvcodec -i -codec:v h264_nvenc -g 1 -bf 0 -codec:a aac -ab 256k %1.mp4
Intermediate DNxHR HQ (Large files)=-f mov -codec:a alac -codec:v dnxhd -profile:v dnxhr_hq -pix_fmt yuv422p %1.mov
Lossless (Huge files)=-f matroska -codec:a pcm_f32le -codec:v utvideo -pix_fmt yuv422p %1.mkv
src/kdenlivesettings.kcfg
View file @
8bee1d86
...
...
@@ -225,6 +225,11 @@
<default></default>
</entry>
<entry
name=
"transcodeFriendly"
type=
"String"
>
<label>
Name of the default transcoding profile for edit friendly convert.
</label>
<default>
Lossy x264 I frame only
</default>
</entry>
<entry
name=
"previewextension"
type=
"String"
>
<label>
File extension for timeline preview.
</label>
<default></default>
...
...
src/project/transcodeseek.cpp
View file @
8bee1d86
...
...
@@ -40,6 +40,10 @@ TranscodeSeek::TranscodeSeek(QWidget *parent)
KConfigGroup
group
(
&
conf
,
"intermediate"
);
m_encodeParams
=
group
.
entryMap
();
encodingprofiles
->
addItems
(
group
.
keyList
());
int
ix
=
encodingprofiles
->
findText
(
KdenliveSettings
::
transcodeFriendly
());
if
(
ix
>
-
1
)
{
encodingprofiles
->
setCurrentIndex
(
ix
);
}
}
TranscodeSeek
::~
TranscodeSeek
()
...
...
@@ -63,5 +67,6 @@ std::vector<QString> TranscodeSeek::ids() const
QString
TranscodeSeek
::
params
()
const
{
KdenliveSettings
::
setTranscodeFriendly
(
encodingprofiles
->
currentText
());
return
m_encodeParams
.
value
(
encodingprofiles
->
currentText
());
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment