View Full Version : script for restore videos
fenomeno83
23rd July 2010, 11:07
Hello! I have some videos record indoor, with an old low level videocamera minidv and a 720p recording phone.
So, these videos are very important and I want restore quality (sharp, less noise, etc).
So here there are small part of videos (one from videocamera converted in h264, but quality is very near to original, and one from record phone):
http://www.zshare.net/download/785996472718fd9a/
Can you suggest me a good script (also very slow, no problem)
for restore that videos? thanks
fenomeno83
23rd July 2010, 19:00
no replies? :(
sKRUVEN
24th July 2010, 15:16
You should upload the original files. laurea_0_62.mp4 the aspect is all wack on that one or do you want 2:40? Something is weird with that one, make sure to use square pixels.
Anyway this it what i would use if your source is PAL DV Widescreen 25i (I dont know much about restoring only some basic denoising and sharpening, works on my old dv tapes).
AviSource(".avi",pixel_type="yv12")
TempGaussMC_beta2(EDIMode="NNEDI2")
Spline36Resize(768,432)
fft3dGPU(plane=4, mode=1, precision=2, sigma=3, bt=4, bw=32, bh=32, ow=16, oh=16, sharpen=0.7)
LSFmod(defaults="slow", strength=80)
Removegrain(mode=1)
selectevery(2,0)
fenomeno83
25th July 2010, 17:56
thanks!!!
here original avi
http://www.zshare.net/download/78669516def65e5e/
Must I change spline36resize(x,y)? What resolution?
and about 1280x720 mp4 phone video? Must I use spline36resize?
thanks
sKRUVEN
25th July 2010, 19:43
Depends on what resolution you want, you can use any 16:9 res from 1024x576 and down (The PAL D1/DV Widescreen square-pixel equivalent). You can use full 1024x576 depends on what you are going use it for. Some standalone players cant play videos with a resolution over 720 etc.
You dont need to resize the phone video.
sKRUVEN
26th July 2010, 16:10
Hmm whats up with the blackbars in the video from the dv cam? Does your camera film it that way? If not then you have captured it wrong. Cant realy see if the aspect is right, if it is then you only need to crop it and leave the res.
The footage should be in a 720x576 frame size with a pixel aspect of 1.42. (It will look squeezed together and thats why you have to resize it to 1024x576 when you go to square pixel).
fenomeno83
27th July 2010, 18:36
I captured video from minidv in avi uncrompressed with pinnacle 12. Mediainfo say me 720x576 with 16:9 aspect, also if there are vertical and orizzontal bar (as a small video inside the screen..my pc monitor is 1920x1080). Information about camera say also that records in 16:9.Maybe can I try another tool to capture?what can I use?
ps: video in avi uncrompressed that I uploaded is cut with virtualdub (mediainfo show in this video 5:4 aspect..maybe has changed something, but player seems show in the same manner of original on which mediainfo says 16:9)
Ok, this is not a problem..I use script(wthout spline36resize) in ripbot and encode in mp4/h264 with quality 18.
it encode in 16:9 and vertical blackbar are removed (video occupies more screen..all witdh and there are only orizzontal bars) and looks great in old tv and lcd 16:9 tv
here result:
http://www.zshare.net/video/78738984ee0137d3/
I have a intel core I5 and script use 30% of total cpus.
How can I use 100%.
I download avisynth 2.5.8, replace multihtread avisynth dll and put MT.dll in plugin folder.
What must I add in the script to use more power?
sKRUVEN
28th July 2010, 12:49
MediaInfo says pixel aspect ratio:1.0 on your clip it should say 1.42. You will loose alot of res the way you use now.
Did you use Direct stream copy in virtualdub when you cut it?
Install Cedocida DV Codec and try to capture with Virtualdub.
I dont use MT so cant help you with that.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.