Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th December 2018, 21:02 | #1 | Link |
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
|
Problem processing large video
I am trying to process a 4K video encoded ProRes 4:2:2 HQ.
Even when I try to simply open (commenting out the decimate) nothing seems to happen (no significant disk, CPU or memory activity): Code:
from vapoursynth import core import vapoursynth as vs c = core.ffms2.Source('a:\video.mov') #c = core.std.SelectEvery(c, cycle=3, offsets=[0,1]) c.set_output() |
29th December 2018, 23:02 | #3 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Your drive is super slow
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
29th December 2018, 23:16 | #4 | Link |
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
|
My A:\ is mapped to an NVME PNY CS2030 480GB drive.
Not really my idea of super slow: Source: https://www.techadvisor.co.uk/review...eview-3655600/ |
30th December 2018, 06:29 | #8 | Link | |
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
|
Quote:
Never had problems opening files but in this case, for a very large and low compressed video, it is definitely slow. And this was only a 12 minutes master, what if it is a 2-hour master. The suggestion that it must be my hard drive I frankly find not very helpful. |
|
30th December 2018, 06:49 | #10 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Slow before opening ? As if it were indexing ?
or slow seeking performance "after" you were "patient ?" Did you use core.lsmas.LibavSMASHSource , which is for ISO base media formats ? - This doesn't index and should open immediately (core.lsmas.LWLibavSource is for other formats, and indexes) |
30th December 2018, 06:56 | #11 | Link | |
Cary Knoop
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
|
Quote:
And indeed, once it is working, consecutive access is almost instantly. Thanks! |
|
30th December 2018, 07:39 | #12 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
When using the ffms2 I usually create the index file with ffmsindex (add the created index to the call) and then open the Vapoursynth script.
This doesn't really speed things up, but it allows to know what time is spend on creating the index. |
30th December 2018, 09:36 | #13 | Link |
Registered User
Join Date: May 2005
Posts: 1,462
|
If you have a nVidia card, you could also give DGDecodeNV a try. Creating the .dgi file may take a while, but its frame-serving processing power is phenomenal.
__________________
Gorgeous, delicious, deculture! Last edited by asarian; 30th December 2018 at 09:39. |
1st January 2019, 13:09 | #16 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Is mov in ffms2 frame accurate? You should test it.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 1st January 2019 at 17:36. |
|
|