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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th September 2021, 14:26   #1521  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 150
Quote:
Originally Posted by Katie Boundary View Post
...the two fields be from slightly different images.
That exactly is how "motion" in connection with video is "defined", at least used: The two fields contain different images. Shot at a slightly different time. So what happened from the first to the second point in time is "motion" of some or all objects in the pictures.
If you can't accept this, w_m seems to be right with his last sentence. A question of terminology.
Frank62 is offline   Reply With Quote
Old 19th September 2021, 18:06   #1522  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 9,765
Quote:
Shot at a slightly different time.
So progressive is temporally from the same position in time [excluding time taken for left to right, top to bottom, raster scan],
and interlaced fields are from temporally and also spatially different positions in time and space.
Katie should really teach herself to code, then she could better acquaint herself with the problem, that would be an education.
Miss Boundary is real exasperating, I bet its hell in their hourse deciding whats for supper.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 19th September 2021 at 18:29.
StainlessS is offline   Reply With Quote
Old 20th September 2021, 09:35   #1523  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,851
Quote:
Originally Posted by StainlessS View Post
Katie should really teach herself to code, then she could better acquaint herself with the problem, that would be an education.
Hear hear.
(Ok, I might have been watching the house of commons channel too much xD)

Jokes aside, she would grasp some of those things much much better if she was able to read and write code herself 'cause this way she would be able to actually test her ideas while right now she can only "trust" us with what we're telling her.

Quote:
Originally Posted by StainlessS View Post
I bet its hell in their house deciding whats for supper.
ROTFL
Think about the chat with her husband, like:

Honey, how did your day go?

- Fine, I went to work, it was a normal day, I got stuck in traffic a bit on my way back home, but anyway... What about you?

Terrible, I came up with a revolutionary idea about duplicates detection, but everyone on Doom9 is saying it can't be used as it's not that simple...

Last edited by FranceBB; 20th September 2021 at 09:38.
FranceBB is offline   Reply With Quote
Old 22nd September 2021, 03:20   #1524  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 849
Quote:
Originally Posted by Frank62 View Post
That exactly is how "motion" in connection with video is "defined", at least used:
No. Motion means that a thing used to be in one place in space, and now it's in another.

Quote:
Originally Posted by FranceBB View Post
Think about the chat with her husband,
I'm not likely to ever have a husband, given that I'm only attracted to women.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 22nd September 2021, 13:30   #1525  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,851
Quote:
Originally Posted by Katie Boundary View Post
Motion means that a thing used to be in one place in space, and now it's in another.
Let's just stick with "difference" and we're good XD
No, jokes aside, we understand what you're saying, honestly, we do, but on the other hand it's just not as easy to detect differences (motion in your case) through an algorithm, but hey, if in the future someone will try to improve TDecimate and co. further he's gonna be more than welcome, but right now, if it doesn't fulfill your / our needs with any of the modes available, I guess we're just gonna have to live with it... :')

Quote:
Originally Posted by Katie Boundary View Post
I'm not likely to ever have a husband, given that I'm only attracted to women.
Ah! Of course! Sorry, my fault, everything makes sense now eheheh.

(I'm joking of course )

Ok, I should really get back to work now, I shouldn't check stuff on Doom9 while I'm at work, but I'm... like... addicted to this forum as I end up here most of the time anyway since I use Avisynth at work on a daily basis. :P

Last edited by FranceBB; 22nd September 2021 at 13:32.
FranceBB is offline   Reply With Quote
Old 23rd September 2021, 00:14   #1526  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 849
Quote:
Originally Posted by FranceBB View Post
Let's just stick with "difference" and we're good XD
No, jokes aside, we understand what you're saying, honestly, we do, but on the other hand it's just not as easy to detect differences (motion in your case) through an algorithm,
It totally is. There's an unlimited number of algorithms that you can make based on the guidelines that I posted, but pretty much any algorithm based on those guidelines will be better than the options present in TFM.


Example algorithm 1:

Find average of A and E.
Find average of B and D.
If C is closer to the average of A and E than to the average of B and D, then treat C as interlaced.

Example algorithm 2:

m1 = |A-B|
m2 = |B-C|
m3 = |C-D|
m4 = |D-E|
n1 = |A-C|
n2 = |B-D|
n3 = |C-E|
If m1, m2, m3, and m4 are all bigger than n1, n2, and n3, then treat C as interlaced.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.

Last edited by Katie Boundary; 23rd September 2021 at 00:25.
Katie Boundary is offline   Reply With Quote
Old 23rd September 2021, 11:43   #1527  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 150
Quote:
Originally Posted by Katie Boundary View Post
No. Motion means that a thing used to be in one place in space, and now it's in another.
That's correct. But I wrote: "In connection with video", where your explanation/definition never happens. We are talking of pixels, bits, information, representations of pictures, not of "things".
Frank62 is offline   Reply With Quote
Old 24th September 2021, 19:53   #1528  |  Link
SaurusX
Registered User
 
Join Date: Feb 2017
Posts: 99
Anyone ever run into this problem with TFM? The field matching fails to use the correct field combination and you end up with chunky aliased edges, particularly apparent in animation lines. It never happens if the source is completely stable, but if there's gate weave from a film source then hold on to your hat. You have to manually override with the correct field combo.

https://imgsli.com/NzA0MjU

This is a small-fry example. On occasion the entire frame will be huge chunky (but not combed) scanlines.
SaurusX is offline   Reply With Quote
Old 25th September 2021, 03:37   #1529  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 386
Quote:
Originally Posted by SaurusX View Post
This is a small-fry example.
Share a short snippet of original video and your script.
VoodooFX is offline   Reply With Quote
Old 25th September 2021, 18:38   #1530  |  Link
SaurusX
Registered User
 
Join Date: Feb 2017
Posts: 99
Quote:
Originally Posted by VoodooFX View Post
Share a short snippet of original video and your script.
Check out frame 32 and 33 in this clip using the following script.

Code:
MPEG2SOURCE("E:\Media\Video Editing Tools\MeGUI-2913-64\scripts\SwatKats\Tests\SwatKats Example.d2v")
TFM(slow=2,pp=4,mode=4)
TDecimate(mode=1)
https://mega.nz/file/qjpgXRqK#kS4NW-...OPjYM7B-Y-mYmE
SaurusX is offline   Reply With Quote
Old 25th September 2021, 20:56   #1531  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 386
Quote:
Originally Posted by SaurusX View Post
Anyone ever run into this problem with TFM?
Many times, especially on animations like this.

Instead of TFM try this line (check if it fixes more than it destroys):
QTGMC(Preset="Slower").SelectOdd.TDecimate(mode=1).QTGMC( Preset="Medium", InputType=1, Sharpness=0.2)
VoodooFX is offline   Reply With Quote
Old 26th September 2021, 08:35   #1532  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 849
Quote:
Originally Posted by Frank62 View Post
I wrote: "In connection with video", where your explanation/definition never happens.
LOL, are you high? It happens all the time in video. It's the primary cause of differences between frames.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 27th September 2021, 08:57   #1533  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 150
Senseless.
Frank62 is offline   Reply With Quote
Old 9th October 2021, 01:25   #1534  |  Link
markfilipak
Registered User
 
markfilipak's Avatar
 
Join Date: Jul 2016
Location: Mansfield, Ohio (formerly San Jose, California)
Posts: 263
Katie Boundary! Hahaha... The joke's on you, folks. I visualize a T.Rex eating a guy who's sitting on a toilet as a comet streaks across the sky.

Edit: Oh, I see "Miss Boundary" has a T.Rex as an avatar -- that, after enlarging it to see it well. Well, "Miss Boundary", you need a better looking/better defined avatar. People are missing the joke.

Last edited by markfilipak; 9th October 2021 at 01:42.
markfilipak is offline   Reply With Quote
Old 9th October 2021, 14:22   #1535  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,583
I think you are the only guy that missed it.
videoh is offline   Reply With Quote
Old 9th October 2021, 17:32   #1536  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 386
Quote:
Originally Posted by Katie Boundary View Post
Unless it's around a scene change. Or it's a fade. Or there's literally any other change in the image that isn't caused by motion (someone turns a light on, for example).
But photons are moving from a bulb to a camera's lens...
A scene change and a fade... thermodynamics would tell that there is no motion, but quantum mechanics would disagree, I think. Anyway, a film editor moved his hand to make those effects, so literally they are caused by motion too.
VoodooFX is offline   Reply With Quote
Old 9th October 2021, 20:32   #1537  |  Link
markfilipak
Registered User
 
markfilipak's Avatar
 
Join Date: Jul 2016
Location: Mansfield, Ohio (formerly San Jose, California)
Posts: 263
Quote:
Originally Posted by videoh View Post
I think you are the only guy that missed it.
I missed it? Hahaha... Missed what? I laughed my ass off. This whole thread segment with "Miss Boundary" is the silliest thing I've read in a long time. Thanks for the laughs.
markfilipak is offline   Reply With Quote
Old 10th October 2021, 13:46   #1538  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,478
Well, unfortunately it distracts from the topic. Much of the "discussion of basics of interlacing" deserves a separate thread. And a lot less personal insults. After all the time and number of involved people, it is now a bit hard to separate.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Reply

Tags
tdeint, tivtc

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 22:55.


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