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. |
12th June 2017, 22:53 | #1 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Ghetto bobbing
When meth addicts steal your bobbers and you're too poor to buy new ones, what can you use instead? Here are two options:
Code:
mpeg2source("212.d2v").converttorgb().separatefields() A=selecteven().GeneralConvolution(0,"0 0 0 0 3 0 0 1 0") B=selectodd().GeneralConvolution(0,"0 1 0 0 3 0 0 0 0") Interleave(A,B).spline64resize(720,480) Code:
mpeg2source("212.d2v").converttorgb().separatefields().spline64resize(720,480) A=selecteven().GeneralConvolution(0,"0 0 0 0 1 0 0 1 0") B=selectodd().GeneralConvolution(0,"0 1 0 0 1 0 0 0 0") Interleave(A,B) Code:
mpeg2source("212.d2v").converttorgb().separatefields() A=selecteven().spline64resize(720,480,src_left=0,src_top=0.25,src_width=720,src_height=240) B=selectodd().spline64resize(720,480,src_left=0,src_top=-0.25,src_width=720,src_height=240) interleave(A,B) EDIT: wait. I think that's what I accidentally succeeded in doing... can anyone check and make sure I'm not crazy?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 12th June 2017 at 23:51. |
12th June 2017, 23:11 | #2 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
...what?
Quote:
Why don't you just use bob(), for goodness' sake? Or one of the far, far better alternatives you've been told about over and over and over? I dread to think what a newbie would make of this place if he accidentally thought something you'd posted was what counted as reasonable, well-informed advice here. |
|
12th June 2017, 23:16 | #3 | Link |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Bobbing is by its nature a subpixel shift, which means it is by definition an interpolating operation. You want to move the sampling points (pixel centers) by a fractional distance between two such points, so you have to interpolate between the samples to find new ones.
Speaking of which though, what's your stance on considering pixels as square areas rather than sampling points, these days? |
13th June 2017, 00:27 | #5 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
That's not ghetto. That's a fancy rich-people bobber. This thread is about ghetto bobbing.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
13th June 2017, 00:39 | #6 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
EDIT: Considered by many, a "Sane Person bobber"
__________________
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 ??? |
|
13th June 2017, 01:01 | #7 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Regardless, it does not advance the extremely important study of ghetto bobbing (bob-deinterlacing video without a proper bob-deinterlacer)
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
13th June 2017, 09:10 | #8 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
@Katie
You gave the answers yourself, I think .... You can compare (frame by frame...) your 3 proposals with standard bobbers easily by interleaving all versions and stepping through, or by arranging the versions as rows and columns for simultaneous real time playback. At the end of your scripts you should add Code:
AssumeFrameBased() Edit: So here is what I got from a 1920x1080i25 video source: http://www.mediafire.com/file/034d1j...to_Bobber1.mkv Last edited by Sharc; 13th June 2017 at 12:31. Reason: Example added |
14th June 2017, 02:04 | #10 | Link |
Registered User
Join Date: Jan 2016
Posts: 98
|
I don’t see how your experiment would be faster or result in higher quality/ fidelity than Bob(0.0, 1.0), which will “strictly preserve the original fields and just fill in the missing lines”. See bottom of this page.
It works for RGB and both luma and chroma in YV16 and YUY2. More details in the following two forum posts. |
14th June 2017, 06:59 | #11 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
|
|
14th June 2017, 18:56 | #13 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Quote:
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
14th June 2017, 19:14 | #14 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
In the first post shouldn't it be ConvertToRGB(interlaced=true) since you're using it right after the source filter ? Or are ghetto rules different ?
Ghetto Supastar. That is what you are. https://www.youtube.com/watch?v=RtIGCGu9L90 |
19th June 2017, 04:43 | #15 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
What difference would it make? Remove converttorgb() entirely if it makes you feel better. It's only there for TMPEGEnc compatibility, and as a prerequisite for generalconvolution.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 19th June 2017 at 04:47. |
19th June 2017, 04:59 | #16 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
The difference is chroma artifacts from progressive upsampling of chroma, but since you put it after the source filter, you're still interlaced. You'll get "chroma ghosting" interlaced artifacts as demonstrated below in the field, before you even do anything else You can't remove it completely if you plan to use generalconvolution - and wasn't that the main idea you were playing with ? The solution is put it after separatefields() , or use interlaced=true if you leave it as you initially had it Last edited by poisondeathray; 19th June 2017 at 05:28. |
|
23rd June 2017, 03:52 | #17 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
Those are exactly the artifacts that I've been seeing in the early seasons of South Park. This warrants further investigation. Thank you.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
23rd December 2018, 01:04 | #18 | Link | |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
BTW, ghetto bobbing can be fed into Yadifmod2, with VERY good results,
Quote:
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
|
|
|