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 24th September 2012, 16:31   #1  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
Help with weird deinterlace

I have a bluray source (indexed in a .dgi file), PAL, and it has a weird deinterlace: it has 5 interlaced frames and 1 progressive.

Which deinterlacing filter should I use?

And other thing, how to solve the "no function named McBob" message?

Thanks.
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 16:40   #2  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
upload a sample clip and post the script that you use
lansing is offline   Reply With Quote
Old 24th September 2012, 16:45   #3  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
5i + 1p is a funny pattern. That's 1 additional field per 11 source fields. Ratio 12/11 is 1.09, which is (roughly) *double* the ratio of 24<>25 fps.

To avoid the message about MCBob, you simply don't use MCBob.
__________________
- 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!)

Last edited by Didée; 24th September 2012 at 16:52.
Didée is offline   Reply With Quote
Old 24th September 2012, 17:24   #4  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
Quote:
Originally Posted by lansing View Post
upload a sample clip and post the script that you use
OK, this is what I do:

I have the BD fully ripped to the PC.

This is the m2ts info:

Code:
Video
Count                            : 201
Count of stream of this kind     : 1
Kind of stream                   : Video
Kind of stream                   : Video
Stream identifier                : 0
ID                               : 4113
ID                               : 4113 (0x1011)
Menu ID                          : 1
Menu ID                          : 1 (0x1)
Format                           : VC-1
Commercial name                  : VC-1
Format profile                   : AP@L3
Internet media type              : video/vc1
Codec ID                         : 234
Codec                            : VC-1
Codec                            : VC-1
Codec/Family                     : VC-1
Codec/Url                        : http://www.microsoft.com/windows/windowsmedia/format/codecdownload.aspx
Codec profile                    : AP@L3
Duration                         : 3070000
Duration                         : 51min.
Duration                         : 51min. 10seg. 0ms
Duration                         : 51min.
Duration                         : 00:51:10.000
Bit rate                         : 20722726
Bit rate                         : 20,7Mbps
Width                            : 1920
Width                            : 1 920pixeles
Height                           : 1080
Height                           : 1 080pixeles
Pixel aspect ratio               : 1.000
Display aspect ratio             : 1.778
Display aspect ratio             : 16:9
Frame rate                       : 29.970
Frame rate                       : 29,970fps
Frame count                      : 92008
Resolution                       : 8
Resolution                       : 8bits
Colorimetry                      : 4:2:0
Chroma subsampling               : 4:2:0
Bit depth                        : 8
Bit depth                        : 8bits
Scan type                        : Interlaced
Scan type                        : Entrelazado
Scan order                       : TFF
Scan order                       : Campo superior primero
Interlacement                    : Interlaced
Interlacement                    : Interlaced
Compression mode                 : Lossy
Bits/(Pixel*Frame)               : 0.333
Delay                            : 11650.667
Delay                            : 11seg.
Delay                            : 11seg. 651ms
Delay                            : 11seg.
Delay                            : 00:00:11.651
Delay, origin                    : Container
Stream size                      : 7952346051
Stream size                      : 7,41GIB (86%)
Stream size                      : 7GIB
Stream size                      : 7,4GIB
Stream size                      : 7,41GIB
Stream size                      : 7,406GIB
Stream size                      : 7,41GIB (86%)
Proportion of this stream        : 0.85663
Buffer size                      : 1843200
I put the m2ts in DGIndexNV and get a DGI file.

I don't have anything in the script but the source (DGSource).

Here is the m2ts sample, trimmed with DGIndexNV:

http://www.mediafire.com/?6m46ll9ytb4tr68

About the McBob thing, I'm actually trying to solve it to use it...
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 18:01   #5  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
The source is crap. It's a 25-->30fps conversion with sliding blending (similar to ConvertFPS, but actually it seems somehow different), and afterwards it has been phase-shifted.

Contact the dealer, and sing the "gimme my money back" song.
__________________
- 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 24th September 2012, 18:05   #6  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
OK, and in a different, constructing way, how can I deinterlace the video? Any suggestions?
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 18:15   #7  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Match the fields with just TFM(). After that, you can enjoy the blending crappiness in all its glory.

There is nothing more that could be done. The blending is done in a funky unusual way, so that the blendreversal tools (like RestoreFPS) will fail big time.
__________________
- 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 24th September 2012, 18:33   #8  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
OK, thanks, I'll leave it just with TFM(), if there's nothing more to be done...

What is the difference with TFM().TDecimate() and TFM(pp=0).TDecimate()?

And what about the McBob? Why my Avisynth doesn't load it?

Thanks.
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 18:43   #9  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
I had a feeling it might be Doctor Who or Torchwood!

Code:
bob.srestore # or a better bobber (qtgmc for instance)
does a pretty good job, but the chroma still shows a little residual blending. As I recall, some episodes of Torchwood (Countrycide springs to mind) also had blending problems even in PAL format - they used it as a bit of a guinea pig for doing effects in HD, and some new Sony HD cameras - so that may not help on other episodes.

Planet of the Dead was released on Blu-ray in the same way (I did contact 2entertain to complain, but they had no plans to re-release), and I wrote an article on how I fixed it (which requires the PAL DVD):

Restoring the Doctor Who Specials (scroll right to the bottom).

David
wonkey_monkey is offline   Reply With Quote
Old 24th September 2012, 18:58   #10  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
*deleted*

edit:

Hoho, I fooled myself by just looking at TFM, and worse, not disabling the pp.

Forget what I have or had written. It's indeed a blendbox-normconversion, with some chroma oddities. Srestore is mandated, but the chroma issues.
__________________
- 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!)

Last edited by Didée; 24th September 2012 at 19:08.
Didée is offline   Reply With Quote
Old 24th September 2012, 19:08   #11  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
Sorry, but I'm no expert on avisynth. That restore function also deletes the deinterlace, right?

So is that all I can do? I don't have the DVDs and I don't quite understand your guide...
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 19:13   #12  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Quote:
Originally Posted by eXtremeDevil View Post
Sorry, but I'm no expert on avisynth. That restore function also deletes the deinterlace, right?

So is that all I can do? I don't have the DVDs and I don't quite understand your guide...
You need to "bob" the video first, which is what "deletes" the deinterlace, then srestore selects the least blended frames from the result, and aims to get back to the original 25fps.

That is pretty much all you can do, without studying the video and trying to determine the chroma blending pattern, and then writing your own filter to fix it... just using srestore will give you a much more watchable result though - no more juddering pans.

David
wonkey_monkey is offline   Reply With Quote
Old 24th September 2012, 19:21   #13  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
So I guess I'll leave it like that. Will I see that black and white effect on action scenes or it will be almost invisible? 'Cos I remember watching "Children of earth" and every time someone was running I could see some black and white parts...
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 19:48   #14  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Yeah, you probably will see something like that. They really did make a mess of it...
wonkey_monkey is offline   Reply With Quote
Old 24th September 2012, 22:44   #15  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
I've just tryed bob() and repal(). It seems to "delete" the b&w effect. Is that OK?
eXtremeDevil is offline   Reply With Quote
Old 24th September 2012, 23:46   #16  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
I can't see a lot of difference between srestore and repal on your sample clip, except that repal makes a better choice on one frame with particularly blended chroma and is slower. Maybe this b&w effect is something else and repal just happens to handle it better.

If it looks okay to you, it's okay.

David
wonkey_monkey is offline   Reply With Quote
Old 25th September 2012, 10:19   #17  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Guys, it's really easy...
1) move to the UK
2) capture the original free-to-air 1080i50 HD broadcasts


(No, before anyone asks, I didn't do this)

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 25th September 2012, 15:55   #18  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
Quote:
Originally Posted by 2Bdecided View Post
Guys, it's really easy...
1) move to the UK
2) capture the original free-to-air 1080i50 HD broadcasts


(No, before anyone asks, I didn't do this)

Cheers,
David.
Two Davids? :P

Then I will have the BBC HD logo haha

Look at these captures:

http://www.mediafire.com/?dmtgl1pgfjl35wg

In the source ones you can see the b&w effect with bob.srestore, although in the encodes the frames are equal in that scene.

But look at a different frame on the encodes, there's the effect, but depending of the filters the color is b&w in different places.

Which filter do you guys recommend, seeing the differences? I mean, for a proper visualization.

EDIT: Forgot to upload the screencaps xDD

Last edited by eXtremeDevil; 25th September 2012 at 16:01.
eXtremeDevil is offline   Reply With Quote
Old 25th September 2012, 17:10   #19  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
Quote:
Originally Posted by eXtremeDevil View Post
Then I will have the BBC HD logo haha
That would be a lot easier to remove It's not on the current BBC One HD broadcasts btw - they dropped it during the Olympics and thankfully have forgotten to put it back (for now).

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 25th September 2012, 19:38   #20  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 164
And apart from that, what do you guys think of the different encodes?
eXtremeDevil 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 10:41.


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