Log in

View Full Version : video is stuttering after using srestore


nel-son
31st August 2016, 09:33
hi,

i'm converting a carton series and had no problems with blends with the encoded episodes, yet. only some episodes had some blends that i could fix with badframes. but now the episodes have much more blends (but no double blends) and i've tried

srestore(omode=3)

the blend-detection is very good, but now the resulting clip is stuttering. i've tested other 'omodes' and other 'speed'-settings, but its always the same. i've testet srestore 2.7e and 2.7h. here is an example.

i can see the stuttering at the beginning when the "camera" moves over the river. but there are no blends in that scene, blends starting a little bit later.

can this be fixed?

example: http://www.mediafire.com/download/5avatug6euxgode/test.zip

nel-son

TheSkiller
31st August 2016, 12:27
Can't extract your ZIP, it requires a password (why would you do that?!).

nel-son
31st August 2016, 15:13
sorry, password: doom9test

TheSkiller
31st August 2016, 17:15
Can't find anything wrong there. The camera pans are smooth; there are no dropped or duped frames in those. I looked at them frame by frame as well as at normal speed. Unlike camera pans, animation is not done at full frame rate (this is normal), so one can never really say for sure if a frame has been dropped or duped but it looks fine to me. A bit of blending is left during the animation parts but it's not obvious at normal speed.

nel-son
31st August 2016, 17:28
the blends are not in the camera pans. they are later in the clip. in the test file they begin at 00:00:30, when the man comes to the shop.

without srestore the camera pans looking good, but with srestore the are stuttering. i have to use teh filter for the whole video. so i think there is something wrong with the filter in scenes without blends.

manono
1st September 2016, 09:22
You should upload a sample from the source and not one you already reencoded. In addition, you should provide your complete script. I have an idea of what went wrong but without an untouched source sample I can't be sure.

nel-son
1st September 2016, 10:31
this is an untouched source sample. i've not encoded it. the camera pans don't stuttering in this sample, but they are after encoded the video with srestore.

import("d:\Srestore_27h.avsi")
v1 = LWLibavVideoSource("input1.mkv",threads=1)
a1 = LWLibavAudioSource("input1.mkv")
a = audiodub(v1,a1).trim(1510,0)
v2 = LWLibavVideoSource("input2.mkv",threads=1).BicubicResize(640,474)
a2 = LWLibavAudioSource("input2.mkv")
b = audiodub(v2,a2).changefps(25.000).assumefps(24000,1001,true)
audiodub(a,b)
trim(0,30500)
srestore(omode=3)

the script is a little big longer than as the sripts i use normally, it because i sync the german language with the english video. using changefps AND assumefps in one script maybe is not the best choice, but it was the only way i could sync the german audio stream to the video. to check the 2 videos are sync i used stackhorizontal(a,b) and therefore i resized the german video to the resolution auf the english video. now, bicubicresize is useless.

manono
1st September 2016, 19:40
this is an untouched source sample.
Where?

nel-son
1st September 2016, 20:23
the sample i've uploaded isn't encoded by me. i have so no other source file.

i habe the problem after encoding it with srestore, there is no stutting without srestore, but then i have a lot of blends.

johnmeyer
1st September 2016, 22:17
What manono was asking was where did you upload the clip? I think you forgot to include a link to the upload.

nel-son
1st September 2016, 22:43
oh. i've posted the link in the first post: http://www.mediafire.com/download/5avatug6euxgode/test.zip

password: doom9test

manono
2nd September 2016, 00:26
Now I'm confused. That first sample is your 'source'? Before you applied Srestore to it?
i have to use teh filter for the whole video.
No, you don't. You can apply the filter to whatever range of frames you like. Is that what you want to do? And the word is 'the', not 'teh'. I'll assume it was a typo and not 'hipster talk'.

i habe the problem after encoding it with srestore, there is no stutting without srestore, but then i have a lot of blends.
You're using it for a purpose for which it wasn't intended. It's for hard telecined sources that were blend deinterlaced. Those 'clean' pans prove it wasn't done like that. That and it's already 23.976fps, not 29.97fps. Someone already did a pretty bad job of the IVTC.

This whole thread is getting dangerously close to warez territory. So, let me get this straight. You're asking for help with a copyrighted video you downloaded from someone else who screwed it up? You can't just buy the original and (presumably) un-screwed up version?

nel-son
2nd September 2016, 07:09
this isn't a download. i've created the files from a disc source some years ago and encoded it with handbrake or any other tool. i can't remember what i've done at this time. i don't know where the discs are, maybe they are in the attic or somewhere. i could't find them.

No, you don't. You can apply the filter to whatever range of frames you like.

ok, but for thta i have to search the problematic scenes manually.

is there any way to rescue the video?

manono
2nd September 2016, 09:14
Nice save. :)

Well, you said SRestore does a good job with the blended parts but makes the pans play jerky. So, I know of no way to fix it without going over it manually. Maybe someone else does.

nel-son
2nd September 2016, 09:28
when srestore can detect blends, it it possible to find scenes with blends before i wahtch the video, for example with a text file "blends detected: frame 1002, 1004, 1008, ...". so i can use srestore in only the problem scenes and let the rest as it is.

StainlessS
2nd September 2016, 09:47
You can use ClipClop() and a frames/ranges command file to replace only blended frames with srestore frames.

http://forum.doom9.org/showthread.php?t=162266&highlight=clipclop

EDIT: Cant remember if srestore produces same number of output frames as input (necessary for ClipClop).

nel-son
2nd September 2016, 10:38
yes, srestore can produce clips with the same number of output clips.

but i don't understand your plugin. i have to search manually for the scenes with blends and can replace the other scenes (without blends) with scenes from the replacement clips. but clipclop can't do this automatically: replace the non-blend frames with frames from the replacement clip?

StainlessS
2nd September 2016, 13:51
Sorry ne!-son, I thought that your post #5 (EDIT: post #15) was a statement (that you could find frames) whereas it seems that you intended it to be a question.
In that case clipclop not of use.