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 8th April 2006, 10:18   #1  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
Deinterlacing of Star Trek dvd

Hi

I'm having a hard time encoding some video to x264. I want to make a backup of my StarTrek dvd to x264 but it seems to be interlaced, and in VLC the deinterlacer "linear" produces the best result. But how and what deinterlacer should I use with AVISynth 2.5? I tried using "Telecide(order=1)" and it did make the video much better, but there is still some interlacing. I can send a part of the m2v file to analyse if someone would be so kind (and tell me how to split it)

Some of you might already have figured it out, I'm a total newbie in this area of video editing and processing

PS. I don't think that it matters how i demuxed the files, but I tell just in case. Using dvd decryptor I enter IFO mode and checked "Enable Stream Processing" and demuxed the video to an m2v file.
Hvidgaard is offline   Reply With Quote
Old 8th April 2006, 10:29   #2  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,642
provide an unprocessed VOB fragment, please.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 8th April 2006, 10:31   #3  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
tell me what program to use
Hvidgaard is offline   Reply With Quote
Old 8th April 2006, 11:06   #4  |  Link
Lil' Jer
Registered User
 
Join Date: Jan 2006
Posts: 156
Star Trek is hybrid material which contains both pure interlaced material, the special effects, and telecined 24fps sections. There are a couple of things you can do. You can do a vfr encode using the tdecimate function from TIVTC or you can try using mode=3 in Decomb's decimate.
Lil' Jer is offline   Reply With Quote
Old 8th April 2006, 11:07   #5  |  Link
Lil' Jer
Registered User
 
Join Date: Jan 2006
Posts: 156
Quote:
Originally Posted by Hvidgaard
tell me what program to use
You can use Cuttermaran or you can just select a section of the video in DGIndex and do "Save project and demux video".
Lil' Jer is offline   Reply With Quote
Old 8th April 2006, 11:13   #6  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
Quote:
Originally Posted by Lil' Jer
Star Trek is hybrid material which contains both pure interlaced material, the special effects, and telecined 24fps sections. There are a couple of things you can do. You can do a vfr encode using the tdecimate function from TIVTC or you can try using mode=3 in Decomb's decimate.
Will try that, and btw, itīs a PAL dvd
Hvidgaard is offline   Reply With Quote
Old 8th April 2006, 11:16   #7  |  Link
Lil' Jer
Registered User
 
Join Date: Jan 2006
Posts: 156
Quote:
Originally Posted by Hvidgaard
Will try that, and btw, itīs a PAL dvd
Then it may be a bit more tricky then. Those solutions would be for the NTSC version and I don't think they'd work for the PAL version. Upload a sample vob somewhere and that would really help.
Lil' Jer is offline   Reply With Quote
Old 8th April 2006, 11:45   #8  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
A sample m2v file, the first 1003 frames. Contains both special effects and normal video.

http://s65.yousendit.com/d.aspx?id=2...P3N695UJ09WI96
Hvidgaard is offline   Reply With Quote
Old 10th April 2006, 21:54   #9  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
noone that can help me out here?
Hvidgaard is offline   Reply With Quote
Old 10th April 2006, 22:50   #10  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
Capturing and trying to display Star Trek PAL material on a PC is what got me started with computer video and it turns out to be one of the most difficult types of material to work with.

At the end if the day, I decided to try and make as many progressive frames as possible but to default to just leaving the frames alone or using simple deinterlacing if things got too complicated.

So give my PFR plugin a go - just leave it at default settings and see what you think.

regards
Simon
PS Always compare the source with the final output on the display device you plan on watching it with and don't single step.
Si is offline   Reply With Quote
Old 10th April 2006, 23:00   #11  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
Si

Will try that tomorrow I was thinking of perhaps it would be an idea to split the source into the interlaced parts and the noneinterlaced part and process them separately to get better quality?
Hvidgaard is offline   Reply With Quote
Old 12th April 2006, 14:22   #12  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,642
PFR just would mess up with it

sometime ago I wrot a function called Repair_PAL_TNG_DVD() or so. it aims for such DEFT-conversions.

but maybe you're still satisfied with either:

fielddeinterlace()

or

Tdeint(full=false)
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 12th April 2006, 18:34   #13  |  Link
Si
Simply me
 
Si's Avatar
 
Join Date: Aug 2002
Location: Lancashire, England
Posts: 610
Quote:
Originally Posted by Hvidgaard
Si

I was thinking of perhaps it would be an idea to split the source into the interlaced parts and the noneinterlaced part and process them separately to get better quality?
Well, if you've got the time and patience then that is always the best way to do things :-)

But usually people around here want/need an automatic/semi-automatic process :-)

My filter is very pragmatic and useful for those in a hurry .

I'm sure scharfis_brains's solution is much better.

regards

Simon
Si is offline   Reply With Quote
Old 12th April 2006, 23:29   #14  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
@scharfis_brain

I'm all in for better quality, so the next best would not do it for me so any help you can give would be appreciated I don't mind spending some time writing avs scripts that would spilt the video in the to "easy" parts, and the problamatic parts.

If you have looked at the sample you can se what script/deinterlacer that would be best (VLC has an deinterlacer "linear" that will do the job very good, don't know if it can be used!)
Hvidgaard is offline   Reply With Quote
Old 19th April 2006, 18:38   #15  |  Link
Stingrey
Registered User
 
Join Date: Mar 2004
Posts: 52
I made a good experience with TDeint on Babylon 5, which is also hybrid, with the following settings:

TDeint(mode=0,full=false,tryWeave=true)

Explanation:
mode=0 - same rate output
full=false - check all input frames for combing first
tryWeave=true - Basically, this setting allows TDeint to try to use per-field motion adaptation instead of per-pixel motion adaptation where possible.
Explanations are taken from TDeint Readme.
__________________
"We are what we are and not,
what we seem to be!"
Siegfried Kobilza
Stingrey is offline   Reply With Quote
Old 19th April 2006, 19:51   #16  |  Link
Markbo98
Registered User
 
Join Date: Jun 2002
Posts: 25
Here is some info I found on processing hybrid material.
I think it's for NTSC, so you may have to adjust it for PAL.

Better deinterlacing in Post-processing
-------------------------------------

When Telecide cannot match a field, it has to deinterlace the frame.
By default it uses FieldDeinterlace... but FieldDeinterlace isn't all that good.
You can specify other filters to do the interlacing on those frames.
Two deinterlacers that can do this are KernelDeinterlace and TDeinterlace.
To use these, do as follows:

To use KernelDeint:

MPEG2Source("C:\yourfolder\blah.d2v")
Telecide(order=1,guide=1,hints=true=,post=1) #1 for Top Field First or order=0 for Bottom.
KernelDeinterlace(order=1) #See readme for kerneldeinterlace options.
Decimate(cycle=5, mode=2)

To use Tdeint:

MPEG2Source("C:\yourfolder\blah.d2v")
orig = last
loadTdeint()
Telecide(order=1,guide=1,hints=true,post=1) #1 for Top Field 1st or order=0 for Bottom.
Tdeint(order=1,clip2=orig)
Decimate(cycle=5, mode=2)
Markbo98 is offline   Reply With Quote
Old 19th April 2006, 23:46   #17  |  Link
Hvidgaard
x264 FTW :D
 
Join Date: May 2005
Posts: 27
@Stringrey - Works very well

@Markbo98 - Didn't try KernelDeint, but didn't have much luck with Tdeint, no visual diffence over Stringreys Tdeint, perhaps a tiny tiny bit worse

@scharfis_brain - and change I can try that function af yours?
Hvidgaard 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 00:41.


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