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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th June 2004, 17:27   #41  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally posted by scharfis_brain
for sure, I cannot implement this mzself, I just had some thoughts...

so, why is it not possible to accept a slight A/V async to achieve that only frames on scene changes (and not within a scene) are getting dropped? Most of the FIlms have very much cuts, so it should be okay...

I do not mean the 24 / 30 hybrid problem here. I think about weird patterns....
you gonna download that clip off my server or what? LOL
been sitting there for 3 days


read your PMs!!!
Zep is offline   Reply With Quote
Old 19th June 2004, 17:55   #42  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Re: Re: Blend results are disappointing

Quote:
Originally posted by Zep
darn. now what? more and more streams are like those.
Do you even want to try to adjust audio or is that too much
of a pain to get into?
I personally don't have the time to tackle this large project. I would fdecimate() it at 29.97 and live with it.

Quote:
i wish i had to a way to do the whole clip like i did in by tests with out doing it manually just to see how good it comes out on a full encode.
It is very easy to write down simple sequences that defeat your idea. That is why I haven't taken it very seriously. (Readers: This was discussed only in a PM exchange with Zep.)

Quote:
Are there any free compilers that can do avisynth filter dev with? I have some ideas but i can't ask you to keep messing with this. It is time i get my hands dirty and i always wanted to get into filters tests so now is a good as time as any
http://forum.doom9.org/showthread.ph...osoft+compiler

Good luck! Unless it involves coordinated audio adjustment I believe you are destined for terminal frustration. But I'll keep an open mind.

I'm going back to DGMPGDec development.

Last edited by Guest; 19th June 2004 at 18:00.
Guest is offline   Reply With Quote
Old 19th June 2004, 19:09   #43  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Re: Blend results are disappointing

Quote:
Originally posted by neuron2
I tried to run your restore24 scripts but I got an error that the script wasn't returning a video clip and I didn't have time to to track that down. Also, there was a syntax error on a levels call, so apparently this script had never run. Anyway, please try the fixed version and report back. Thank you.
Sorry Donald, but ... no.

A syntax error on a levels call ... c'mon, do you think I would provide you with such a sucking script?

I just cross-checked on a clean setup, and the package does run out of the box there. And so it does on my two other machines on which I checked it also. So it must be an error on your side. I suspect either a conflict with some auto-loaded plugins, or with avisynth_c.dll.

The better news is: with the new version of fdecimate, the issue seems to be gone.

Playtime after soccer EM will have finished for today ...


- Didée
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 20th June 2004, 04:13   #44  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
@zep:

I examined some hundreds of frames of the begining of that file.

the pattern of that movie at the beginning:

...23232323 -> first frames until the 1st singleton shos up
*******
132323232323232 -> 15 frames in 36
2232323232323232 -> 16 frames in 39
2232323232323232 -> 16 frames in 39
2232323232323232 -> 16 frames in 39
2232323232323232 -> 16 frames in 39
223232323232323 -> 15 frames in 35
*******
1323.... -> frames after the 2nd singleton

okay, that sums up to 2x15 and 4x16 frames (=94 frames)
between two singletons (including one singleton)
that had been telecined into 36 + 4x39 + 35 = 227 frames

this results into a final framerate of:

94 frames * 59.84fps / 227 frames = 24.821 fps

and now please re-read my post(s) above.

I strongly suggested counting frames, didn't I?

I think, that this weird pattern occured due to a
speedup of this movie.
A lot of broadcastes do this to be able to show more ads.

I can see this kind of movie destruction in germany, too...

This means, fdecimate(fps=24.821) *SHOULD* (not tested, coz it crashes on my K6-2)
result in a skip & blendfree 24.821 fps stream...

as I everytime say: "count your frames!"

btw. smartdecimate seems to suffer skips and dupes even if set to the correct decimation ratio at the beginning, after some cycles had been passed, smartdecimate seems to catch the pattern....
(not intensively tested, coz complete clip isn't DLed yet here, but you can remove that file from your space)
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 20th June 2004, 06:23   #45  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally posted by scharfis_brain


I strongly suggested counting frames, didn't I?
yes and my reply is still the same.

For me walking the episode to make sure is NEVER gonna happen.
In fact this is exactly the kind of stuff i WANT my computer
to do so i do not have to

Can you imagine if every TV show changed the pattern each week
just like the show sent you. OUCH!!! That show I sent you
changed the pattern 2 times in 3 weeks.

of course now this means maybe we can talk DG into writing
a pattern finder/counter filter LOL



Quote:
I think, that this weird pattern occured due to a
speedup of this movie.
A lot of broadcastes do this to be able to show more ads.

I can see this kind of movie destruction in germany, too...

This means, fdecimate(fps=24.821) *SHOULD* (not tested, coz it crashes on my K6-2)
result in a skip & blendfree 24.821 fps stream...

as I everytime say: "count your frames!"
i will give it go but what if the patterns change in the next 19
minutes of the episode? Or the pattern breaks at an edit point?
(which it does and which that clip I sent you never reached an
edit point)



Quote:
btw. smartdecimate seems to suffer skips and dupes even if set to the correct decimation ratio at the beginning, after some cycles had been passed, smartdecimate seems to catch the pattern....
(not intensively tested, coz complete clip isn't DLed yet here, but you can remove that file from your space)
can you show me the script you use for smartdecimat please.
(the parms I tried didn't work so well on signletons the rest
though was good)

I'm leaving the clip up for now since a number of people saw
my post to you about the clip and asked for it too in PMs.

thanks
Zep is offline   Reply With Quote
Old 20th June 2004, 06:32   #46  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Re: Re: Re: Blend results are disappointing

Quote:
Originally posted by neuron2
I personally don't have the time to tackle this large project. I would fdecimate() it at 29.97 and live with it.
ok i thought as much


Quote:
It is very easy to write down simple sequences that defeat your idea. That is why I haven't taken it very seriously. (Readers: This was discussed only in a PM exchange with Zep.)
I never said it couldn't be defeated . In fact i said it WOULD
be defeated on some patterns and even listed one of those
patterns for you BUT my MAIN point was

It works on the ABC broadcast streams and that is all i need
(athough the ABC pattern is chaotic it is consistently chaotic LOL)

For other patterns from other broadcasters you would have to
find then insert/replace ***OTHER*** patterns just for them


Quote:
http://forum.doom9.org/showthread.ph...osoft+compiler

Good luck! Unless it involves coordinated audio adjustment I believe you are destined for terminal frustration. But I'll keep an open mind.
Thanks for link!

yeah most likely gonna be a head hitting wall thing but
at least I get to learn to code filters on the way. LOL

I also feel, as you know from my PMs, the audio would need
to adjusted. Lets hope someone figures out a way to do this
whithout having to mess with audio.

you know in if a mov wrapper you can have each frame stay
on screen a different amount. If avu could do that this would
be so easy to fix. To leave audio alone the tell the singleton
to stay on screen for 12ms and the tripleton to to 1 frame
on Decimate to get off the screen 12ms sooner.

Quote:
I'm going back to DGMPGDec development.
HAHA well that is where I think everyone wants you anyway
Zep is offline   Reply With Quote
Old 20th June 2004, 07:26   #47  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally posted by scharfis_brain
@zep:



This means, fdecimate(fps=24.821) *SHOULD* (not tested, coz it crashes on my K6-2)
result in a skip & blendfree 24.821 fps stream...

no go. mixed results. Singletons are cut and many dupes remain
so of course jerky playback.

i tried .5 ,1,2 and 5 on threhold and interestingly enough 5
was the best which I think means some low metric frames (0 to 5)
are cut which left some room for more signeltons to stay in since
they are mostly greater than metric 5 and if one is lower than 5
the change is not so HUGE, so the jerkiness is not so noticable.

DG would have to explain this as I'm only guessing based on the 1 clip


So what is your smartdecimate script?
Zep is offline   Reply With Quote
Old 20th June 2004, 09:50   #48  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
the script used:

loadplugin("c:\x\avisynth_c.dll")
loadCplugin("C:\x\smartdecimate.dll")

a=avisource("aclip.59.94.FPS.avi")
a.separatefields()
selectevery(4,0,3)
weave()
smartdecimate(1241,2997,bob=a,weave=a)


smartdecimate has additional fieldmatching paramters, that may improve the decimation, please read its doc for further information.

it was 4:00 in the morning I tested this before going to bed, so don't rely on the things I said about smartdecimate in the post above
(I only had about 1000 frames to test on)

btw. does the pattern I posted change or is that pattern constant all over the episode?
I assume, that it already jerks like hell on TV, especially on those points: 231323
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 20th June 2004, 13:33   #49  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Re: Re: Blend results are disappointing

Quote:
Originally posted by Didée
Sorry Donald, but ... no.

A syntax error on a levels call ... c'mon, do you think I would provide you with such a sucking script?
There is no boolean as the last parameter for Levels on the version of Avisynth I have installed.
Guest is offline   Reply With Quote
Old 20th June 2004, 14:20   #50  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Re: Re: Re: Blend results are disappointing

Quote:
Originally posted by neuron2
There is no boolean as the last parameter for Levels on the version of Avisynth I have installed.
Oh. Now that you mention it: yes, once upon a time, Avisynth didn't have the coring parameter for levels().

- Didée
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 20th June 2004, 15:13   #51  |  Link
Leak
ffdshow/AviSynth wrangler
 
Leak's Avatar
 
Join Date: Feb 2003
Location: Austria
Posts: 2,441
Re: Re: Re: Blend results are disappointing

Quote:
Originally posted by neuron2
There is no boolean as the last parameter for Levels on the version of Avisynth I have installed.
http://prdownloads.sourceforge.net/a...nth_170604.exe

That should fix that problem nicely...

np: Richard Devine - Randale (Asect : Dsect)
Leak is offline   Reply With Quote
Old 20th June 2004, 18:53   #52  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally posted by scharfis_brain
the script used:

loadplugin("c:\x\avisynth_c.dll")
loadCplugin("C:\x\smartdecimate.dll")

a=avisource("aclip.59.94.FPS.avi")
a.separatefields()
selectevery(4,0,3)
weave()
smartdecimate(1241,2997,bob=a,weave=a)


smartdecimate has additional fieldmatching paramters, that may improve the decimation, please read its doc for further information.

it was 4:00 in the morning I tested this before going to bed, so don't rely on the things I said about smartdecimate in the post above
(I only had about 1000 frames to test on)


thanks

Well i will put up the whole episode, if you want. PM me if you want the whole thing
to test on.


Quote:
btw. does the pattern I posted change or is that pattern constant all over the episode?
I assume, that it already jerks like hell on TV, especially on those points: 231323
beats me. It changed due to edits for sure and edit points but I got too burnt
out on walking to walk it any more. there may well be a pattern
change and that is my whole point of needing an app to scan streams and find
the patterns and cycle counts for us.

An app to find patterns, the frames at which the pattern runs
and the cycle amounts per range etc... would be great then you
could decimate ranges with different options per range.
Zep is offline   Reply With Quote
Old 21st June 2004, 09:27   #53  |  Link
Zep
Registered User
 
Join Date: Jul 2002
Posts: 587
Quote:
Originally posted by scharfis_brain
the script used:

loadplugin("c:\x\avisynth_c.dll")
loadCplugin("C:\x\smartdecimate.dll")

a=avisource("aclip.59.94.FPS.avi")
a.separatefields()
selectevery(4,0,3)
weave()
smartdecimate(1241,2997,bob=a,weave=a)


smartdecimate has additional fieldmatching paramters, that may improve the decimation, please read its doc for further information.

it was 4:00 in the morning I tested this before going to bed, so don't rely on the things I said about smartdecimate in the post above
(I only had about 1000 frames to test on)

btw. does the pattern I posted change or is that pattern constant all over the episode?
I assume, that it already jerks like hell on TV, especially on those points: 231323

your PM mailbox is FULL. I can't sent you a private message.
please delete a bunch of old PM's.

thanks

Last edited by Zep; 21st June 2004 at 19:09.
Zep is offline   Reply With Quote
Old 21st June 2004, 10:31   #54  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
PM box has some space now
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.