Does anybody have a solution to this? Basically I have converted a whole bunch of dvds to mkv using a software called 'makemkv' and what I have realised after all this time is that the output files have motion blur during scenes of increased movement. If I had known this earlier I would've never converted them to mkv, I would've just ripped the vob files and kept them untouched but now that I am in this situation, does anybody know how to remove them completely?
I am using handbrake to make the files smaller, but even by selecting the decombe filter and experimenting with the deinterlace filters, it wont get rid of it 100%. The 'slower' setting on the deinterlace filter will reduce it by a great deal, but I am looking for a way to just get rid of it completely.
Anybody know of any other software or any solutions?
I have tried converting them back to vob files, but the blur still follows through.
Please see the attached files so you know what I mean.
+ Reply to Thread
Results 1 to 30 of 149
-
-
It looks like they were blend-deinterlaced. It's not motion blur. Do you have a short sample you can make available? Pictures don't really tell us much. And I take it the DVDs aren't available any more? MakeMKV doesn't reencode so the blending didn't come from it, Maybe it was already in the source DVDs. In any event, the chances are the damage can't be reversed.
Now, if you're taking pictures from a player that's deinterlacing the MKV, there's hope. If the MKVs are still interlaced they can be unblended successfully. But not with Handbrake. Only AviSynth can do the job and Handbrake doesn't use it. -
Sure here is a sample. If you pause the video at different times you'll see the blur throughout. The eye can't pick it up whilst its in motion which is maybe the reason why I never noticed it before but now I know it is there it is bugging me.
The thing is if I watch the original dvd in my dvd player on my tv, the blur is non-existent, the movie plays sharply. It is only after I have ran it through makemkv to contain all the vob files with a .mkv extention that this occurs. It is mostly on older movies, recent films don't have this problem at all. -
That's not the output from MakeMKV. It's from Handbrake. This has already been deinterlaced and resized and converted to H.264 video and AAC audio. How about a sample from the MakeMKV repackaged DVD? And you can leave off the censor certificate and credits next time. Something with steady movement.
If you're in England, what are you doing with an NTSC source? If there's a PAL DVD available, it's probably much better. If this was downloaded originally, maybe after being reencoded by a clueless idiot, then all bets are off. -
Bollywood movies don't come in pal, at least not the old ones they only come in ntsc format, so this is the only format they can be purchased.
I have attached a sample of the output from makemkv, sorry i couldnt leave the credits out but it's only a few seconds anyway. -
That's not entirely true but I accept that this particular one may not be available as a PAL DVD.
Anyway, this sample is much better. It's field-blended and interlaced. It has to be unblended using an AviSynth script, one such as:
Yadif(Mode=1)#or the better and slower QTGMC
SRestore()
It came from what was originally a PAL source and the result will be a 25fps video. You can't do this in Handbrake but some program that accepts AviSynth scripts as input. The linked video only unblends it. It doesn't address any of the other problems with the movie, such as the shaky picture, the edge enhancement, or the severely blown-out whites.
http://www.mediafire.com/download/q39ilaaf4afbeva/Bol_Radha_Bol.mkv -
I have no idea why mkvmerge is being used to revamp DVD vob's (MPEG-2) to an mkv container. The DVD appears to have been made from VHS. Is the O.P. trying to re-encode to h264? The DVD appears to be blend-deinterlaced, then encoded as interlaced. I would have decoded the original DVD to lossless AVI and fixed it up in Avisynth (the color is awful and there are all kinds of motion control and frame jitter problems). I think we should go back to the original DVD to see what it looks like, and start there.
The aspect ratio in the mkv version is absurdly incorrect, and the video has been cropped. NOTE:" no one makes movies as 16x9 except for TV programs. The original movie was 2:35:1.Last edited by sanlyn; 19th Mar 2014 at 11:32.
-
I corrected my post. imdb reports the original aspect ratio of the movie is 1:875:1.
Last edited by sanlyn; 19th Mar 2014 at 11:32.
-
Can anyone explain how I get the output like how manono did it? I downloaded avisynth but I havent got a clue what to do with it. Do I use it in conjunction with virtual dub mod or something?
-
You need to make a script file (plain text, you can use NotePad) with the extension AVS.
http://avisynth.nl/index.php/Main_Page#New_to_AviSynth_-_start_here
Within that file you open the source video and call Yadif and SRestore.
Code:ffVideoSource("filename.mkv") Yadif(mode=1, order=1) SRestore()
http://avisynth.nl/index.php/FFmpegSource
http://avisynth.nl/index.php/Yadif
http://avisynth.nl/index.php/Srestore
Finally, you open that AVS script as it was a video file in any editor or encoder that supports AVS scripts as input. Like VirtualDub, the x264 cli encoder, etc.
Yes, it's a PITA for someone just starting with AviSynth. But not so bad once you get set up. And there's nothing else that has these advanced abilities. -
Ok I get the part where I open up notepad and paste in that script and save as avs file.
now you mentioned I need to download yadif, ffmpeg and srestore.
I have downloaded yadif, ffmpeg but I can't find srestore anywhere, do you have a download link for this?
I already have virtual dub so I am familiar with that one. -
SRestore is an AVSI script. You can download it from the link I gave. Put the .AVSI file in AviSynth's plugins folder.
AVSI scripts in AviSynth's plugins folder are imported automatically when AviSynth starts. Most dll filters do so to. Yadif is an exception, you need to import it into your script manually with:
Code:Load_Stdcall_plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")
Manono alluded to this, but QTGMC() is better than Yadif(). But it's much slower and requires a bunch of other filters. Start with Yadif() and once you get that working consider using QTGMC() instead.Last edited by jagabo; 25th Sep 2013 at 10:06.
-
Ok so let me get this straight.
what I have done is saved that srestore.avsi file and put into the plugins directory of Avisynth 2.5.
Now what do I do with yadif? I have downloaded it and extracted all the files. Inside the folder it has a whole bunch of files titled avisynth, gpl, Makefile, yadif.dll etc etc. but where do I put these? Do these go to the plugins folder of Avisynth 2.5 as well?
Do I just transfer all the files or just the yadif.dll? -
Just put yadif.dll in your plugins folder. The other files are not plugins. Leave them where they are.
Last edited by sanlyn; 19th Mar 2014 at 11:33.
-
Ok here's what I have done. I have copied the yadiff plugin file into the plugins directory as you suggested. and what I have also done is copied the ffms-2.17-x64.7z file into that directory as well (I think this is what I am supposed to do). This is the FFmpegSource that jagabo mentioned in the above post.
Next I have created the avs file and copied and pasted what jagabo put in the same post, but obviously with the directory where the video is, so my script looks like this
ffVideoSource("C:\Documents and Settings\Administrator\Desktop\Bol Radha Bol.mkv")
Yadif(mode=1, order=1)
SRestore()
next I opened up virtual dub and tried to open this avs file and the following error message came up, "avi import filter error: (unknown) (80040154).
What have I forgot to do, or have I missed a step? -
Probably missing this statement for ffms2:
Code:loadCplugin("Path\to\Avisynth\plugins\ffms2.dll")]
Last edited by sanlyn; 19th Mar 2014 at 11:33.
-
Hehe, maybe it should, but it won't because the DAR is 4:3. On a 16:9 display (unless using the zoom) it'll be surrounded on all four sides by a lot of black. Almost all classic Indian widescreen films on DVD are 4:3. Just another way the Indian home video companies screw the consumer.
Edit: Oh, I see you've now cropped and resized it for better viewing on 16:9 TV sets. -
Are you able to write me a step by step guide on how you do this? I am banging my head against the wall here. I have been using virtual dub for years, but I am totally new to this kind of video processing. I'm just completely lost I appreciate all your assistance, but what I really need is a complete breakdown of what exactly I need to do, almost like an idiots guide from start to finish.
-
Show us your entire avs script, not just part of it.
@manono, yeah but resizing reveals even more defects (ick!). Would take a lot of work, and if those bouncing objects are in the original source forget it. A learning experience, though.Last edited by sanlyn; 19th Mar 2014 at 11:33.
-
I demuxed the video because, as sanlyn said, converting it to the MKV container is stupid if you're planning on going back to work with it again. Yes, I realize you hadn't planned on working on it again when you first made it. Then I used the M2V I got, made a D2V project file with DGIndex and used the DGDecode.dll with that D2V and MPEG2Source to make the script. Get the DGMPGDec package and read the 3 included docs. Then read them several more times until you understand. They have the best written explanation of how to create AviSynth scripts (in my opinion). I then used this script:
LoadPlugin("D:\AviSynth Stuff\Dlls\DGDecode.dll")
LoadPlugin("D:\AviSynth Stuff\Dlls\MT_MaskTools.dll")
LoadCPlugin("D:\AviSynth Stuff\Dlls\Yadif.dll")
Import("D:\AviSynth Stuff\plugins\SRestore.avs")
MPEG2Source("E:\Test\test.d2v")
Yadif(Mode=1)
Srestore()
I opened it in XviD4PSP, and encoded it for MKV. Apparently XviD4PSP resized it behind my back where I thought I had kept the original resolution and set a SAR. I have an MP4 where I did it right.
Most of the NTSC Indian classic film DVDs are so godawful horrible that a working knowledge of AviSynth is an absolute necessity if you want to make them presentable.
Are you able to write me a step by step guide on how you do this? -
First, comment out the bottom two lines and see if the script opens in VDUB:
ffVideoSource("C:\Documents and Settings\Administrator\Desktop\Bol Radha Bol.mkv")
#Yadif(mode=1, order=1)
#SRestore()
If it does, you'll then need to load the Yadif.dll into the script:
Load_Stdcall_plugin("C:\Path\To\yadif.dll")
ffVideoSource("C:\Documents and Settings\Administrator\Desktop\Bol Radha Bol.mkv")
Yadif(mode=1, order=1)
#SRestore()
See if that opens. If it does, remove the comment from the final line and see if it opens.
Always provide the complete script and error message when you don't understand. -
That's not your entire script. It's only the last 3 lines.
If you copied the file "ffms-2.17-x64.7z" in its entirety into your plugins folder, remove it and place it in a separate folder. A ".7z" file is not a plugin, it's a package compressed with the 7Zip compressor. If you don't have 7Zip, I've attached a plain-vanilla .zip version of the same ffms2 download, below. Download that ffms2 zip to a separate folder, unzip it, and look for two files: ffms2.dll and ffms2.avsi. Copy both of them into avisynth plugins. Don't copy any of the other ffms2 files.
You will also need the Haali Media Splitter for mkv's, mp4, and other stuff. If you don't already have it, the Haali installer can be downloaded here: https://www.videohelp.com/download/MatroskaSplitter23062013.exe . Double-click the .exe and it will install.
Here's the entire script, including the two "LoadCplugin" lines you'll need:
Code:# #=== Avisynth plugins used: #- requires Haali Media Splitter: https://www.videohelp.com/tools/Haali-Media-Splitter #- Haali installer: https://www.videohelp.com/download/MatroskaSplitter23062013.exe #- ffms2.dll #- ffms2.avsi #- yadiff.dll #- sRestore.avsi loadCplugin("D:\AviSynth\plugins\ffms2.dll") loadCplugin("D:\AviSynth\plugins\yadiff.dll") ffVideoSource("path\to\source\video\Bol Radha Bol.mkv") Yadif(mode=1, order=1) SRestore()
Last edited by sanlyn; 19th Mar 2014 at 11:34.
-
I copied that entire script obviously replacing the directory to my video with what it is, but I am still getting avi import error on virtual dub. here is what my script looks like now.
-
Hey ignore my last post, I was using the wrong virtual dub, for some reason it doesnt work on recent virtual dub but does on the older versions. manono I am using your method, and to this point I have succesfully loaded the video file into virtual dub! I am now reading the rest of the guide.
-
manono I have managed to load the file into virtual dub but now that its in there I am a bit at lost as to what to do next? The guide doesn't tell me what to do once I have the video in virtual dub
-
Ok here's where i am. I have attached the script that I am using and the error message. I am missing something. I get the same error message with virtual dub.
Similar Threads
-
Motion blur with XviD AVIs
By bruce73 in forum Newbie / General discussionsReplies: 6Last Post: 29th Dec 2012, 09:26 -
Reducing motion blur
By gzaloprgm in forum EditingReplies: 0Last Post: 1st Aug 2012, 00:29 -
Deinterlacing or Motion Blur possibly?
By spiegel32 in forum EditingReplies: 9Last Post: 5th Sep 2009, 08:13 -
HD footage has excessive motion blur.
By mattlolwtf in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 9Last Post: 5th Apr 2009, 23:05 -
AVCHD - motion blur problem
By Coroner in forum Newbie / General discussionsReplies: 4Last Post: 8th Dec 2008, 16:59