Commit bb3b4265 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Ensure last frame of the project is rendered (with some audio codecs like aac,...

Ensure last frame of the project is rendered (with some audio codecs like aac, last frame will be duplicated because of a bug in MLT).
parent 508a4b77
Pipeline #36685 passed with stage
in 12 minutes and 36 seconds
......@@ -1214,7 +1214,7 @@ void RenderWidget::prepareRendering(bool delayedRendering, const QString &chapte
in = pMon->getZoneStart();
out = pMon->getZoneEnd() - 1;
} else {
out = pCore->projectDuration() - 2;
out = pCore->projectDuration() - 1;
}
QString playlistContent = pCore->projectManager()->projectSceneList(project->url().adjusted(QUrl::RemoveFilename | QUrl::StripTrailingSlash).toLocalFile());
......
  • If only 1 frame is rendered it generates a 3 frame mp4 in which the first frame show the correct frame followed by 2 black frames. Why these 2 additional black frames?

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment