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. |
25th July 2014, 16:18 | #1 | Link |
Registered User
Join Date: Jun 2014
Posts: 5
|
24fps->60fps for Anime footage
Hello,
I'm new here, but know of and was reading on this board for a long time. I want to interpolate my Bluray-Animes, because I observe a nasty shaky movement especially in pure pans, since I got a newer and larger monitor. (I also noticed banding since then on many sources, but this is another matter) Now I tried many Avisynth-Filters like InterFrame, SVPFlow and DePan, but they all are not satisfactory, because I definitely don't want to introduce artefacts. DePan is momentarily my favorite, because it introduces the least artifacts on the interpolated frames. The problem for DePan are scenes where a background pans with one velocity and a foreground (figures, faces, ...) pans/moves with another velocity. This results in jittery movement for one or another. DePan doesn't seem to be able to differentiate well enough between these mixed pans and normal ones. Heck sometimes pans with a perfectly still image has a trust value much lower than these mixed movements. (In the depan documentation it's also not mentionend, but it seems the dxmax, dymax affect the trust-value, even though 'stab' should be defaulted to 0) Also a small problem seems, that for perfectly still scenes depan can actually introduce jitter! I would need a dxmin, dymin feature for that, because in the log the dx and dy always move around +0.0,-0.0,+0.1,-0.1 for perfectly still scenes. Also there are two methods using depan. Using DePan or using ChangeFPS with following DePanStabilize. I noticed, that the latter method seems to perform worse when detecting motion, possibly because of the duplicated frames in-between. SVPFlow is another matter. The parameters are not very well documented, so its really hard to tweak it. I tried getting it to recognize only global motion, like hinted to in the svpproject wiki for the GUI-Version: http://www.svp-team.com/wiki/Watching_anime My best settings were: Code:
super = SVSuper( "{ scale:{ up:0, down:4 }, gpu:1 }" ) vectors = SVAnalyse( super, "{ block:{w:32, overlap:0 }, main:{ search:{ coarse:{type:2, distance:-6, satd:false}, penalty:{ lsad:0 }, distance:0, bad:{sad:0} } } }" ) SVSmoothFps( super, vectors, "{ rate: { num:60000 , den:1001, abs:true }, algo:2 , mask:{ cover:0 }, scene:{ blend:false, mode:0 } }", url="www.svp-team.com", mt=4 ) Does anyone know of some method to only interpolate perfect pans without moving objects or can tweak DePan a bit better than me or ... ? Last edited by avih; 1st August 2014 at 21:27. |
26th July 2014, 10:50 | #2 | Link | |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 357
|
Quote:
Last edited by creaothceann; 26th July 2014 at 11:00. |
|
26th July 2014, 17:25 | #3 | Link | |
Registered User
Join Date: Jun 2014
Posts: 5
|
Quote:
The 60fps footage I got really looks awesome and is exactly what I want, if the pan recognition wouldn't be so random. Is there maybe another way to prepare a clip which can get better results in DePanEstimate? Denoising for example helps extremely. Maybe it's possible that higher contrast or heavily overcleaned/denoised footage would lead to better results. But I don't know how DePan works, to know where to start with this. |
|
27th July 2014, 00:27 | #5 | Link |
Registered User
Join Date: Jun 2014
Posts: 5
|
50 or 60 (59.94), I don't really see the difference. 60Hz is standard maximum for many monitors, so I thought that would be best. That can be done with factor 5/2. But maybe your point is 24->48 would make less interpolation glitches, because there wouldn't be so much to interpolate... This is worth a try. Edit: Won't alleviate the problem.
Last edited by xyzdragon; 27th July 2014 at 00:40. |
27th July 2014, 03:25 | #7 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,562
|
You should check out MadVR interpolation if you're only going to watch on a PC. MadVR has an option to blend to your monitor's framerate instead of juddering. (The artifacts of blending are usually less noticeable than the artifacts of flow or depan in motion. Flow tends to compress better, on the other hand.) That beats warping your backup to conform. Unfortunately, there's really no solution to flowing differing background/foreground framerates. clouded was writing the celforeground/celbackground plugins partly for that purpose, but the project got too difficult to finish.
|
28th July 2014, 12:42 | #8 | Link |
Registered User
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
|
Just a question - are you throwing the right tool at the problem? More specifically, are you sure that what you observe isn't the result of incorrect field order, (poor) telecine handling, etc. earlier in the life of those videos? Just a thought .
|
28th July 2014, 19:03 | #9 | Link | |
Registered User
Join Date: Jun 2014
Posts: 5
|
Quote:
My avisynth script therefore: Code:
function ´(clip) { data = DePanEstimate( clip, trust=5, dxmax=20, dymax=20, stab=-0.5, info=true, extlog="motiondata.log" ) t0 = data t1 = DePan( clip, data, offset=0.5, mirror=15 ).DeleteFrame(0) Interleave( t0,t1 ) } DirectShowSource("D:\Blurays\ichiban_bd1_006.mkv", audio=false, convertfps=true, fps=23.976) Trim(100,-200) ConvertToYV12() Crop(2,2, -2,-2) fps1to2() Crop(4,4, -4,-4) |
|
28th July 2014, 20:33 | #10 | Link |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 357
|
Some nitpicks...
DSS2 is better. DirectShowSource often had problems with frame-accurate seeking for me. Perfectly correct number would be 24.0/1.001. Isn't it already? Tried AvsPmod / VirtualDub (while using DSS2)? |
1st August 2014, 21:27 | #11 | Link | |
Capture, Deinterlace
Join Date: Feb 2002
Location: Right there
Posts: 1,972
|
Quote:
Generally, try to be reasonable with the size and relevance of attachments. Thanks. Last edited by avih; 1st August 2014 at 22:01. |
|
Tags |
anime, depan, frames interpolation, svp |
Thread Tools | Search this Thread |
Display Modes | |
|
|