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 > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th March 2018, 08:09   #21  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
Did thorch work after installation? Are the color-files in the same folder?
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 12th March 2018, 09:05   #22  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,393
Quote:
Did thorch work after installation?
Yes.

Quote:
Are the color-files in the same folder?
Thorch folder or some other folder?
__________________
certain other member
smok3 is offline   Reply With Quote
Old 12th March 2018, 12:45   #23  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
Quote:
Originally Posted by smok3 View Post
Thorch folder or some other folder?
the colorizing files should be in the same folder as the images that are supposed to get colorized. Don't forget to download the model "./download_model.sh", that has to be in the same folder as well, cause its the trained file on how it should colorize.

EDIT:
You need to run the script in the same folder as the coloring files are.
__________________
Automatic Colorization

Last edited by color; 12th March 2018 at 12:48.
color is offline   Reply With Quote
Old 12th March 2018, 21:57   #24  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,393
@color: thanks, I have missed more than one step, downloading model now ...
__________________
certain other member
smok3 is offline   Reply With Quote
Old 13th March 2018, 13:19   #25  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
It's easy to miss. Hope it works. Otherwise feel free to ask.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 22nd March 2018, 16:15   #26  |  Link
trondmm
Registered User
 
Join Date: Apr 2010
Posts: 9
This looks really promising. I'll have to play around with it this easter.

I'm wondering - if I have parts of the clip in color, can I use that to help the colorizer figure out the correct colors?
trondmm is offline   Reply With Quote
Old 23rd March 2018, 11:19   #27  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 220
i hope someone port this as AVS/VS Plugin somedays
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 29th March 2018, 15:36   #28  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
Trondmm, sadly no, thats not really how it works, the file is trained by images they used who created the "coloring AI". There should be a way to teach it but I don't know how and didn't get answer when asking them.

Amayra, I hope someone will port it, there is a port off another system but its not free and they take pay for every image you colorize and they are not as good (in my eyes) http://demos.algorithmia.com/
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 2nd June 2018, 17:56   #29  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
I also want to add that using CNR2 you can get better color flow. (if you know what I mean)
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 4th June 2018, 05:35   #30  |  Link
rsd2015
Registered User
 
Join Date: Jan 2016
Posts: 4
Tutorial works fine, but how to combine?

Quote:
Originally Posted by color View Post
I will try it out tomorrow, thank you for the script. What is better to use instead of directshowsource? I want to make the best tutorial.
color, your tutorial worked fine for me on Win 10 x64, I've got the original and colorized images and .mp4s, but I'm not sure how to combine them in an avisynth script.
rsd2015 is offline   Reply With Quote
Old 9th June 2018, 22:40   #31  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
rsd2015, I did import the images, change the framerate to the same as the original and resized the image, using warp sharp to not get color bleading when mergin. Then I used:

Quote:
B=DirectShowSource("original_video.mp4")
C=DirectShowSource("colorized_video.avi")
Overlay(B, C.BicubicResize(B.Width, B.Height), mode="chroma")
I know people don't like DirectShowSource, but I don't know whats better and I have a lot of problem with imagesource and similar to get the framerate right. This works for me. But if someone know better for mp4 that works great just give me a hint.

PS. I'm logging in once a week, so you guys know I'm not gone.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 29th September 2018, 13:14   #32  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
A little update. There were an update not long ago on "Ubuntu on Windows". It seems like its faster. One movie that tooked 36 minutes before, now took 28 minutes. Good news, it might be faster on some movies to colorize.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 29th September 2018, 19:59   #33  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 1,650
Any chance you could post a link to an output video? A scene with lots of cuts and different angles?
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 29th September 2018, 23:06   #34  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
There is on the first page one clip (to YouTube) if you click the image.

Link

I will try finding a cc0 movie that I can show more on indoor and outdoor scenes.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 1st October 2018, 09:27   #35  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
Here you go, just klick on the image to watch it on youtube there is two scenes filmed indoors:

__________________
Automatic Colorization

Last edited by color; 1st October 2018 at 09:30.
color is offline   Reply With Quote
Old 11th December 2018, 06:24   #36  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Location: Sweden Dalarna
Posts: 131
New step added cause Ubuntu does not update automatic anymore, well not in 18.04. The lates one is a bit faster also to colorize, so it's a great idea to update.
__________________
Automatic Colorization

Last edited by color; 11th December 2018 at 06:36.
color is offline   Reply With Quote
Reply

Tags
automatic colorizing

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 02:40.


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