This image is taken from a bluray version of a film.
Have a look at the green invasion into many areas, I think it's called fringing, but I'm not sure.
Apparently it was badly captured during the film/video conversion, with a misaligned camera.
A friend of mine told that it's possible to correct that, possibly using a Virtualdub plugin. Is that true?
How should I proceed?
+ Reply to Thread
Results 1 to 15 of 15
-
-
Shifting the red channel up by a few lines helps. I don't know if there's a VirtualDub filter for this but in AviSynth:
Code:ImageSource("Bend.jpg") red = ShowRed() # separate red, green, blue channels green = ShowGreen() blue = ShowBlue() red = red.Crop(0,2,0,0).AddBorders(0,0,0,2) #shift red up by two lines MergeRGB(red, green, blue) # merge red,green,blue back together
-
Do you know AviSynth at all?
A full script might look like:
Code:LWLibAVVideoSource("filename.m2ts") # load video ConvertToRGB(matrix="rec.709") # HD YV12 to RGB red = ShowRed() # separate red, green, blue channels green = ShowGreen() blue = ShowBlue() red = red.Crop(0,2,0,0).AddBorders(0,0,0,2) #shift red up by two lines MergeRGB(red, green, blue) # merge red,green,blue back together ConvertToYV12(matrix="rec.709") # back to HD YV12 # any other cleanup here...
In addition to the bad red channel registration, your sample image looks like poorly upscaled standard definition video tape. It could probably use some other filtering. -
Well, know Avisynth as I should I don't know. But I used it a lot a few years ago to convert mkv files onto DVD, and also to correct many problems the video or audio tracks had.
I collected a large list of plugins, which I still have, even if I do not use them.
AviSynth tools would become very handy to convert many DVDs I have onto mkv, using some plugins to improve resolution, at least visually. So I would love to find a way to do that, which I guess there might be.
In those times I used AvsP to look at how things changed with plugins and HCenc to make the conversion. They turned out beautifully.
But I don't know what programs to use in HD.
About the film, even if it comes from a Bluray, I don't think the film was masterized to HD, it certainly looks like an upscale. -
All the functions I used in that script are built into AviSynth. Except LWLibavVideoSource(). If you don't have that you will need to get the LSMash package and put LSmashSource.dll in AviSynth's plugins folder.
If you want to upscale DVDs you'll want to use nnedi3. If you ever install MCTemporalDenoise or QTGMC you will already have nnedi3. Cartoons upscale pretty well.
https://forum.videohelp.com/threads/387998-Ripping-a-DVD-in-order-to-deinterlace-decom...it#post2511590
Real video doesn't upscale as well but you can get results better than your TV/DVD player can give.
Post a short sample of this Blu-ray video (don't re-encode) if you want input on it. Or of a DVD you want to upscale.Last edited by jagabo; 2nd Mar 2018 at 10:59.
-
Oh, I forgot. I have been using Vidcoder to make my DVD to MKV conversions.
Excellent as the program is, it doesn't allow any enhancements.
My task would be to get similar results to what I get playing and upscaling DVDs in my Proview DVP-858 player.
The upscaling is much better than on most BD players. I even thought of getting an HD capture recorder and use the Proview HDMI output. But I'm sure there must be a way to get a similar result with soft. Isn't it? -
You can use any editor/encoder that supports AviSynth scripts as input. VirtualDub FilterMod, VirtualDub, MeGUI, x264 cli encoder, etc.
-
How do you proceed with x264 encoder for instance, in order to load the video file and the plugins?
Can I use some AvsP HD version (if any) to check different plugins and gradations?
Any tutorial anywhere? -
I use Notepad to edit my AVS scripts, VirtualDub to view the results. You can use AvsP if you want. Tutorial for what? Upscaling? I've posted many examples here. Search for nnedi3_rpow2.
-
Yes, I also used Notepad for editing the scripts, and I did have a collection of them. They are probably on one of my old IDE HDDs.
Then I loaded them in AvsP to check on the results, and then (in that case) in HCenc to generate the DVD files.
I wondered if there was some tutorial for upscaling and for working with HD files, in MKV or whatever. On the script up above you used LWLibAVVideoSource. Do I have to use that?
Will search for nnedi3_rpow2, here and on Google. -
Use whatever source filter you want. For MPEG 2 sources (DVD) I would use DgDecode (DgIndex and Mpeg2Source()). I don't know of any upscaling tutorials.
http://avisynth.nl/index.php/Nnedi3
http://avisynth.nl/index.php/DGDecode
http://avisynth.nl/index.php/LSMASHSource -
Correct me if I'm wrong. These are examples of upscaling?
https://forum.videohelp.com/threads/387998-Ripping-a-DVD-in-order-to-deinterlace-decom...it#post2511590
First I generate the d2v or avs file (how did I do that?) to load the DVD files, load the script into X264 or MEGUI, upconvert it, using filters or not, and get what file type from it? -
Yes, that was from a DVD. The DVD was made from a studio analog video tape.
Use DgIndex to make the index file. Then make a script with Notepad that starts with:
Code:Mpeg2Source("filename.d2v")
Code:TFM() TDecimate()
Code:QTGMC()
Code:nned3_rpow2(4, cshift=Spline36Resize", fwidth=1920, fheight=1080) # for a 16:9 video, 1440x1080 for a 4:3 video awarpSharp(depth=10) Sharpen(0.3)
Finally load the script into X264 or MEGUI or whatever program you plan to use to encode.
I recommend you use DgIndex to extract a short portion of your video (mark a 30 second segment from the main movie, then File -> Save Project and Demux Video) and upload it (the m2v) here to get more detailed instructions for the particular video.
Similar Threads
-
how can i switching the highest color with draft color in premiere cs5 ?
By m6gpower in forum EditingReplies: 0Last Post: 3rd Mar 2014, 03:32 -
background color
By JoeSinger in forum Newbie / General discussionsReplies: 11Last Post: 25th Feb 2014, 08:21 -
No Color
By Yodat in forum DVD & Blu-ray PlayersReplies: 11Last Post: 1st Feb 2014, 20:43 -
Invasion of privacy? Data mining?
By Mr.Delusional in forum DVB / IPTVReplies: 3Last Post: 26th Nov 2013, 23:27 -
regarding color spaces
By Aston in forum Newbie / General discussionsReplies: 3Last Post: 6th Mar 2013, 12:27