Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
41c82802
Commit
41c82802
authored
May 07, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2004'
parents
f10e06eb
c2d7a770
Pipeline
#19710
passed with stage
in 9 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
data/encodingprofiles.rc
data/encodingprofiles.rc
+1
-1
src/jobs/proxyclipjob.cpp
src/jobs/proxyclipjob.cpp
+4
-3
No files found.
data/encodingprofiles.rc
View file @
41c82802
...
...
@@ -5,7 +5,7 @@ MPEG=qscale=4 ab=192k vcodec=mpeg2video acodec=mp2 threads=%threads;mpg
[proxy]
x264=-vf scale=640:-2 -vcodec libx264 -g 1 -bf 0 -vb 0 -crf 20 -preset veryfast -acodec aac -ab 128k;mov
x264-vaapi=-hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i -vf format=nv12,hwupload,scale_vaapi=640:-2 -vcodec h264_vaapi -g 1 -bf 0 -
vb 0 -crf
2
0
-acodec aac -ab 128k;mov
x264-vaapi=-hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i -vf format=nv12,hwupload,scale_vaapi=640:-2 -vcodec h264_vaapi -g 1 -bf 0 -
qp
2
6
-acodec aac -ab 128k;mov
x264-nvenc=-hwaccel cuvid -c:v %nvcodec -i -vf scale_npp=640:-2 -vcodec h264_nvenc -g 1 -bf 0 -vb 0 -preset fast -acodec copy;mov
MPEG2=-vf scale=640:-2 -g 1 -bf 0 -vb 0 -qscale 6 -ab 128k -vcodec mpeg2video -acodec ac3;mpg
MJPEG=-vf yadif,scale=640:-2 -qscale 3 -vcodec mjpeg -acodec pcm_s16le;mkv
...
...
src/jobs/proxyclipjob.cpp
View file @
41c82802
...
...
@@ -231,7 +231,7 @@ bool ProxyJob::startJob()
m_done
=
true
;
return
false
;
}
// Only output error data
// Only output error data
, make sure we don't block when proxy file already exists
QStringList
parameters
=
{
QStringLiteral
(
"-hide_banner"
),
QStringLiteral
(
"-y"
),
QStringLiteral
(
"-stats"
),
QStringLiteral
(
"-v"
),
QStringLiteral
(
"error"
)};
m_jobDuration
=
(
int
)
binClip
->
duration
().
seconds
();
QString
proxyParams
=
pCore
->
currentDoc
()
->
getDocumentProperty
(
QStringLiteral
(
"proxyparams"
)).
simplified
();
...
...
@@ -288,9 +288,10 @@ bool ProxyJob::startJob()
}
}
// Make sure we don't block when proxy file already exists
// Make sure we keep the stream order
parameters
<<
QStringLiteral
(
"-map"
)
<<
QStringLiteral
(
"0"
);
parameters
<<
dest
;
qDebug
()
<<
"/// FULL PROXY PARAMS:
\n
"
<<
parameters
<<
"
\n
------"
;
qDebug
()
<<
"/// FULL PROXY PARAMS:
\n
"
<<
parameters
<<
"
\n
------"
;
m_jobProcess
=
new
QProcess
;
// m_jobProcess->setProcessChannelMode(QProcess::MergedChannels);
connect
(
m_jobProcess
,
&
QProcess
::
readyReadStandardError
,
this
,
&
ProxyJob
::
processLogInfo
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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