Bug 402550 - Rendering of 30-minute video to default Generic MPEG-2 takes more than 12 hours and no sound
Summary: Rendering of 30-minute video to default Generic MPEG-2 takes more than 12 hou...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 18.08.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 10:23 UTC by ITicDigger
Modified: 2021-03-08 17:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments
screenshot of timeline (29.62 KB, image/png)
2021-03-08 13:00 UTC, ITicDigger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ITicDigger 2018-12-25 10:23:27 UTC
SUMMARY

I make rendering of project with default preferences of "MPEG-2" profile from "Generic" group. It going very very slow and all the time loads my CPU at 100% (CPU = DualCore, 3 GHz on each, RAM = 4 GB). "estimated time" is constantly growing while the progress has not reached 50% and only then start to decrease. At the same time, the estimated time was determined completely incorrectly - if believe him, everything had to end in 3 hours. In fact, the rendering after progress at 50% took about 7 hours. Whole rendering - about 12 hours.



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KXStudio 14.04.5
KDE Plasma Version: 4.13.3
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
kdenlive - appimage version

MediaInfo of output file:

Format                                   : MPEG-PS
File size                                : 1.74 GiB
Duration                                 : 29mn 13s
Overall bit rate mode                    : Variable
Overall bit rate                         : 8 539 Kbps

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 1
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : Variable
Duration                                 : 29mn 13s
Bit rate mode                            : Variable
Width                                    : 854 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Compression mode                         : Lossy
Delay relative to video                  : -10ms
Comment 1 ITicDigger 2018-12-25 10:30:41 UTC
And there is no sound in the output video.
Comment 2 emohr 2018-12-26 14:30:51 UTC
Could you make a test with a shorter Video? On the render window click on “more option” an make sure that on the fly-out right side no option are clicked. Make number of Threads number of your CPU-Cores -1. 

Are these settings your project settings: 
Width                                    : 854 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 fps
Comment 3 farid 2021-03-05 13:27:56 UTC
Hello, can you please test if this is still happening using the latest appimage? It seems to be a packaging issue.
Comment 4 ITicDigger 2021-03-06 17:42:54 UTC
(In reply to farid from comment #3)
I tried it. The problem began to look different: now there is no video track in the exported file.
Comment 5 farid 2021-03-07 11:26:41 UTC
(In reply to ITicDigger from comment #4)
> (In reply to farid from comment #3)
> I tried it. The problem began to look different: now there is no video track
> in the exported file.

Which version are you using? Is it the AppImage? Send a screenshot of your timeline please. Are you still on the same system and hardware?
Comment 6 ITicDigger 2021-03-08 13:00:23 UTC
Created attachment 136488 [details]
screenshot of timeline
Comment 7 ITicDigger 2021-03-08 13:02:30 UTC
(In reply to farid from comment #5)
Especially to take this screenshot, I made a test project from scratch and suddenly everything worked! The video was rendered in MPEG-2 format in adequate time and the video track was in place. I repeated this experiment again - and again successfully.
Last Appimage (20.12.2) As you asked.
Hardware changed. OS changed to Ubuntu 19.10 x64
Comment 8 emohr 2021-03-08 17:08:03 UTC
Thank you for the feedback and contribution. Glad to hear it works.
Comment 9 farid 2021-03-08 17:12:27 UTC
(In reply to ITicDigger from comment #7)
> (In reply to farid from comment #5)
> Especially to take this screenshot, I made a test project from scratch and
> suddenly everything worked! The video was rendered in MPEG-2 format in
> adequate time and the video track was in place. I repeated this experiment
> again - and again successfully.
> Last Appimage (20.12.2) As you asked.
> Hardware changed. OS changed to Ubuntu 19.10 x64

Cool :)