Page 1 of 1

Improved movie preloading

Posted: 26 Oct 2017, 17:45
by CartoonMonkey
Whenever I preload a sequence at either 1080p or maybe 2x that resolution, preloading is very very slow.
(Something like 15 minutes on a fast system, lots of ram to load a 1.5 minute long video. Importing a video at it's native resolution to a new project with preload ON)

Any way to improve the speed when pre-loading for the next builds?

Re: Improved movie preloading

Posted: 28 Oct 2017, 17:35
by Fabrice
I don't think it will change as we use ffmpeg technology.

but hint : it depends on the codec of the video. so maybe it's an explanation (because I don't have such a slow import here)

Re: Improved movie preloading

Posted: 29 Oct 2017, 20:59
by CartoonMonkey
Can you recommend a Windows program to convert my clients movies to FFMPG on Windows 10 x64? Handbrake?

Re: Improved movie preloading

Posted: 30 Oct 2017, 06:12
by Elodie
Handbrake does a good job, indeed.

Re: Improved movie preloading

Posted: 30 Oct 2017, 08:43
by ematecki
TVPaint only works with uncompressed data (unless you DON'T preload, but that has it's own quirks)
Importing 90s of 1080p @ 30fps will use :
90*30 = 2700 frames * 8Mb/frame = 21Gb of RAM...
Flushing this to the tmp file is what slows you down the most.
Is the tmp file on a really fast HDD/SSD, and is the file you're importing on ANOTHER disk ?
(And I mean disk, not another partition of the same disk).

Re: Improved movie preloading

Posted: 30 Oct 2017, 13:45
by schwarzgrau
Could you recommend any codec or setting which would be ideal to import it in TVPaint?

Re: Improved movie preloading

Posted: 30 Oct 2017, 16:13
by Elodie
Image sequences :mrgreen:

Re: Improved movie preloading

Posted: 30 Oct 2017, 16:24
by schwarzgrau
Thank you Elodie!
I assume if possible JPEG sequences, cause they are much smaller and faster to read then PNGs?

Re: Improved movie preloading

Posted: 30 Oct 2017, 16:29
by ematecki
Depends on what you'll do with the imported frames.
- JPEG is lossy (even at 100% quality !), good for reference material that won't show up in the final product, because it's smaller than PNGs.
- PNG in non-lossy, better for material that WILL show up in the final product.