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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th August 2014, 03:08   #41  |  Link
alexxdls
Registered User
 
Join Date: Nov 2013
Posts: 26
Quote:
Originally Posted by Myrsloik View Post
And remember that ffms2 also works for image reading if you want to try something else.
I dubt it supports high bit depth images...

Last edited by alexxdls; 25th August 2014 at 09:53.
alexxdls is offline   Reply With Quote
Old 25th August 2014, 12:35   #42  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
It does, as it's based on ffmpeg.
kolak is offline   Reply With Quote
Old 27th October 2014, 12:29   #43  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 890
! am confused. I tried to load the imwri.dll from test3.
It gave a message cannot load plugin
Should I use test 2 plugin? I am using 32 bit only.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 6th November 2014, 03:06   #44  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,669
@Myrsloik

Any possibility of a single plugin for r25?
Reel.Deel is offline   Reply With Quote
Old 6th November 2014, 10:34   #45  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by Reel.Deel View Post
@Myrsloik

Any possibility of a single plugin for r25?
I at least have one workaround in mind so dllpath won't be needed anymore now that plugins can get their own path in r25. No idea if my mingw skills will be enough to slap it into single file submission though. But I'll try. Higher on the list is alpha support in FFMS2 though. Poor linux users can have no alpha...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 25th November 2014, 16:54   #46  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Posted test4 in both 32 and 64 bit versions. This one removes dllpath and needs vs R25. In combination with vs R25 it can easily be loaded with loadplugin or autoloaded (if you dump that huge lump of files into the autoload directory, not recommended but it should work).

It also has a slightly newer imagemagick but with ffmpeg.exe removed (don't try to read mpeg files it). Try it and see what happens. Apart from being usable there are no other improvements since I don't feel like making my own imagemagick distribution.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 21st December 2014, 00:16   #47  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
I get this error using VapourSynth Editor
Code:
vapoursynth.Error: Read: Failed to read image properties: vsedit-32bit.exe: RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagickModulePath/662
The script is this one
Code:
import vapoursynth as vs

core = vs.get_core()
core.std.LoadPlugin("C:/Program Files (x86)/VapourSynth/plugins32/imwri/imwri.dll")
src = core.imwri.Read('C:/Users/MonoS/Desktop/Personale/B2wAZhvIgAEraOP.png')

src.set_output()
MonoS is offline   Reply With Quote
Old 21st December 2014, 00:22   #48  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by MonoS View Post
I get this error using VapourSynth Editor
...
Does that happen with all image files or just that one? Does it work outside the editor?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 21st December 2014, 17:12   #49  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
Nothing, tried using vspipe and changing file, but nothing, still the same error

Last edited by MonoS; 22nd December 2014 at 15:46.
MonoS is offline   Reply With Quote
Old 23rd December 2014, 15:05   #50  |  Link
18fps
Registered User
 
Join Date: Oct 2008
Posts: 56
Quote:
Originally Posted by alexxdls View Post
I dubt it supports high bit depth images...
What it does not supports is image sequences, only single images.
18fps is offline   Reply With Quote
Old 27th December 2014, 15:35   #51  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,844
It does support sequences also, just use ffmpeg naming convention for image sequences.
kolak is offline   Reply With Quote
Old 7th January 2015, 21:06   #52  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by MonoS View Post
Nothing, tried using vspipe and changing file, but nothing, still the same error
Confirmed. Apparently it still looks for the already installed imagemagick binaries for some reason.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 14th January 2015, 00:18   #53  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
After an evening of debugging I can proudly report that ImageMagick has some of the worst code I've looked at in a while. Including my own ancient YATTA code.

It automatically initializes itself when its dlls are loaded and it misuses its own api to set the path to use so it can never work. I suggest you send hate letters to the ImageMagick developers so they stop writing code. The world will be better off that way.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 14th January 2015, 02:32   #54  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,669
That's a pity to hear that. If I'm understanding correctly this is the end of imwri? Are there better alternatives? Could ffmpeg be used to write images (similar to ffms2 but for exporting)?
Reel.Deel is offline   Reply With Quote
Old 14th January 2015, 02:37   #55  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by Reel.Deel View Post
That's a pity to hear that. If I'm understanding correctly this is the end of imwri? Are there better alternatives? Could ffmpeg be used to write images (similar to ffms2 but for exporting)?
It's only a maybe end. If they apply the changes in my bug report it can still be made to work. Have to wait and see. I could also compile my own fixed binaries but that's extremely annoying and the build system on windows is a joke.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 14th January 2015, 14:55   #56  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
A small update. My fix has been accepted and the next ImageMagick release will have it. Expect a new and finally properly self contained release when version 6.9.0-4 is out.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 19th January 2015, 01:38   #57  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
The impossible is happened
Thank you
MonoS is offline   Reply With Quote
Old 28th January 2015, 23:45   #58  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
HAHAHA! YOU THOUGHT THE STORY WOULD END HERE? FOOLS!

The ImageMagick developers decided to simply release the broken 6.9.0-3 binaries as 6.9.0-4. Because why not? They've now wasted yet another evening for me. Maybe one day they'll get around to release updated binaries...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 29th January 2015, 12:47   #59  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
WTF, wonderful!

I saw some 7.0 binaries in some repo, maybe they are preparing your commit for the next release??
MonoS is offline   Reply With Quote
Old 12th February 2015, 00:36   #60  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Here's test6. Tell me if it works. Only briefly tested.

Had to compile my own imagemagick binaries because that's how shit the official ones are. At least it appears to work.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.