LarryHotdogs
10th December 2015, 20:25
Hello,
I am trying to use VapourSynth to read in a sequence of .dpx files, which I believe should be supported. When I preview the script in the editor, I get the message:
Error getting the frame number 0:
Read: Format mismatch for frame 0, is RGB30 but should be RGB48
Running 'check script' results in:
Script was successfully evaluated. Output video info:
Frames: 864 | Time: 0:00:28.800 | Size: 1920x1080 | FPS: 30/1 = 30 | Format: RGB48
Besides that the frame rate should be 23.976, it looks like it's detecting the sequence okay.
My script is as follows:
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"C:\Program Files\VapourSynth\plugins64\imwri64\imwri.dll")
video = core.imwri.Read(r"path_to_v001.%04d.dpx", 1001)
video.set_output()
And then I assume it could be a simple fix just by manually setting some properties so I've tried playing around with things like
video = core.std.SetFrameProp(video, prop="Format", intval=vs.RGB48)
video = core.std.SetFrameProp(video, prop="FPS Num", intval=24)
But I have no idea what I'm doing so I'm sure that's complete nonsense.
Using VapourSynth r29 and imwri test6
Anyone have any ideas?
Thanks!
I am trying to use VapourSynth to read in a sequence of .dpx files, which I believe should be supported. When I preview the script in the editor, I get the message:
Error getting the frame number 0:
Read: Format mismatch for frame 0, is RGB30 but should be RGB48
Running 'check script' results in:
Script was successfully evaluated. Output video info:
Frames: 864 | Time: 0:00:28.800 | Size: 1920x1080 | FPS: 30/1 = 30 | Format: RGB48
Besides that the frame rate should be 23.976, it looks like it's detecting the sequence okay.
My script is as follows:
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"C:\Program Files\VapourSynth\plugins64\imwri64\imwri.dll")
video = core.imwri.Read(r"path_to_v001.%04d.dpx", 1001)
video.set_output()
And then I assume it could be a simple fix just by manually setting some properties so I've tried playing around with things like
video = core.std.SetFrameProp(video, prop="Format", intval=vs.RGB48)
video = core.std.SetFrameProp(video, prop="FPS Num", intval=24)
But I have no idea what I'm doing so I'm sure that's complete nonsense.
Using VapourSynth r29 and imwri test6
Anyone have any ideas?
Thanks!