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. |
13th August 2014, 00:42 | #21 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
|
|
13th August 2014, 03:19 | #22 | Link | |
Registered User
Join Date: Nov 2013
Posts: 26
|
Quote:
Please And just one note more Code:
import vapoursynth as vs core = vs.get_core() import os core.std.LoadPlugin(path=r"d:\TOOLS\MyDCPConverter\Tools\imwri-64.dll") core.std.LoadPlugin(path=r"d:\TOOLS\MyDCPConverter\Tools\fmtconv.dll") vl = core.imwri.Read(r"F:\TEMP\TRAIN-DRAGON-2_TLR-G-3D_RU-XX_RU-00_51_2K_TCF_20140417_DWA_IOP-3D\REEL2\000034L.png") vr = core.imwri.Read(r"F:\TEMP\TRAIN-DRAGON-2_TLR-G-3D_RU-XX_RU-00_51_2K_TCF_20140417_DWA_IOP-3D\REEL2\000034R.png") v = core.std.StackHorizontal([vl,vr]) v.set_output() Code:
vr = vl Code:
vr = core.imwri.Read(r"F:\TEMP\TRAIN-DRAGON-2_TLR-G-3D_RU-XX_RU-00_51_2K_TCF_20140417_DWA_IOP-3D\REEL2\000034L.png") It seems like I can't output video with two different imwri.Read's, doesn't it? Last edited by alexxdls; 13th August 2014 at 04:30. |
|
13th August 2014, 13:32 | #23 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
It actually appears to be because of how imagemagick was compiled when creating a single file plugin. The error message actually comes from pthreads. I'm trying to think of how to fix it.
Anyway, next update will have grayscale support.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
17th August 2014, 19:00 | #25 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
That's how you do it. Are the files named test_000.tif, test_001.tif...?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
17th August 2014, 19:13 | #27 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Try using the full path. And yes, it has to start at 0 at the moment.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
17th August 2014, 19:30 | #29 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Yes, I'll add it for the next test version.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
18th August 2014, 00:51 | #31 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
Code:
s = source s = core.imwri.Write(s, ...) s.set_output()
__________________
Buy me a "coffee" and/or hire me to write code! |
|
24th August 2014, 01:16 | #38 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Maybe in a day or two when I finish all the big changes. I decided to go back and redo a fairly big amount of code because the C++ api is useless.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
24th August 2014, 18:11 | #40 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Third test and a small list of notable changes in the first post. The dllpath argument is back and so is the dll mess. I'll probably get around to making a single file dll compile some day with mingw. But that's complicated.
This should more or less be the final version. ImageMagick as a library is simply too abstracted/awkward/horrible to use to return native colorspaces. On the positive side I think it can do most important things, read and write a big pile of formats as image sequences. If I ever locate a better library to use maybe I'll have another go. And remember that ffms2 also works for image reading if you want to try something else.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
|