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 > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th April 2010, 21:25   #1  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
25i to 23.976p conversion

Hello Guys

I have some PAL DVD's in which the video is hard telecined@25 interlaced fps using bottom field first.
I want to convert those videos back to original 23.976fps progressively.

After reading lots and lots of articles I have used some plugins but I am not able to get the desired quality.
I am currently using MeGUI with the following filters-

LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\TomsMoComp.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\TemporalCleaner.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\TIVTC.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\SmoothDeinterlacer.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\MSharpen.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\Decomb.dll")
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\trail1.d2v", info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\TDeint.dll")
TDeint(mode=1,order=-1)
crop( 8, 8, -8, 0)
ChangeFPS(23.976)
Lanczos4Resize(720,528) # Lanczos4 (Sharp)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise


Also note that I have to manually convert the frame rate to 23.976 which makes the video slight shuttering.

Please give ur views on-
1. The Deinterlace plugin being used
2. The Detelecine plugin being used
3. The frame rate of the video

Pls help me to solve this problem; any new suggestions/improvements/corrections are most welcome.
albert1234 is offline   Reply With Quote
Old 29th April 2010, 21:30   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Telecined PAL is rare on DVDs. In fact, I have never seen a telecined PAL DVD. Also, deinterlacing a telecined source is not a good way to proceed.

So please post a link to an unprocessed source sample.

Last edited by Guest; 29th April 2010 at 21:34.
Guest is offline   Reply With Quote
Old 29th April 2010, 22:51   #3  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 418
lolwut You're using TDeint and ChangeFPS. Try tfm(d2v="C:\trail1.d2v", slow=2, hint=false) and AssumeFPS("ntsc_film"). Then you'll also have to slow down the audio. ChangeFPS will remove frames in this case which is not what you would normally want.

Last edited by Gser; 29th April 2010 at 22:55.
Gser is offline   Reply With Quote
Old 29th April 2010, 23:00   #4  |  Link
Warperus
Registered User
 
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 139
albert1234
1) Do not use deinterlace at all
2) AFAIK there is no such thing as 25i in PAL DVD. Assuming it's 50i, we have standard 2:2 pulldown. You can simply weave fields instead of anything else. Slight color degradation is possible, but other than that you should be ok.
3) AssumeFPS is more common for PAL conversions. You'll have to work additionally with sound though.

Quote:
crop( 8, 8, -8, 0)
...
Lanczos4Resize(720,528) # Lanczos4 (Sharp)
You are blurring the whole image for unknown reason and transform it into non-standard resolution. What do you want from these transformations?
Warperus is offline   Reply With Quote
Old 30th April 2010, 00:12   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Warperus View Post
standard 2:2 pulldown
We've had this discussion several times already. "standard 2:2 pulldown" does not exist. It just means "progressive". Yes, there can be a one-field phase shift that is fixed by field matching, but that is not pulldown. Pulldown means a top or bottom field is repeated, which is not the case for progressive PAL, with or without a phase shift.

[Yes, I know my old Decomb documentation erroneously refers to 2:2 pulldown.]

Instead of guessing, the OP should post a sample as I requested.
Guest is offline   Reply With Quote
Old 30th April 2010, 05:35   #6  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Sorry neuron2, I don't know how to trim a dvd-video; so that the I can get a short .vob file

But to make things a bit more clear, I am posting u the mediainfo of the file-

ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Bit rate mode : Constant
Bit rate : 7 768 Kbps
Nominal bit rate : 8 000 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4/3
Frame rate : 25.000 fps
Standard : PAL
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Bottom Field First
Bits/(Pixel*Frame) : 0.749
albert1234 is offline   Reply With Quote
Old 30th April 2010, 05:44   #7  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,345
you could use dgsplit or dgindex (mark in/mark out) to cut a sample

FYI, mediainfo can be inaccurate - it just reads the header information (e..g it might be progressive flagged as interlaced or vice versa, or some other pattern). It's more important to examine the actual content

Last edited by poisondeathray; 30th April 2010 at 05:48.
poisondeathray is offline   Reply With Quote
Old 30th April 2010, 09:46   #8  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Hoosh! at last uploaded clips;
my net connection really sucks, took 1.5 hrs to upload two 20MB clips!!!

OK back to the topic, both the clips are music videos.

Even they are from same source they are applied with different interlacing; very hard to determine, check it out-

http://www.mediafire.com/download.php?hjhyjy3hyjt

http://www.mediafire.com/download.php?k0m2xnhczgr

pls reply asap
albert1234 is offline   Reply With Quote
Old 30th April 2010, 09:49   #9  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Quote:
Originally Posted by Gser View Post
Try tfm(d2v="C:\trail1.d2v", slow=2, hint=false) and AssumeFPS("ntsc_film").
whats with "tfm(d2v="C:\trail1.d2v", slow=2, hint=false)"
albert1234 is offline   Reply With Quote
Old 30th April 2010, 10:48   #10  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
srestore(frate=23.976)

That got rid of most of the blends.

http://avisynth.org/mediawiki/Srestore

edit: that works on the first sample.

For the second sample,

TempGaussMC_beta2(edimode="eedi2")
srestore()

http://forum.doom9.org/showthread.ph...26#post1378526

I'd suggest splitting the footage so you can apply different scripts to each different section of video.
But I am also no where near the best when it comes to these things. Hopefully someone more knowledgeable drops by.
__________________
http://www.7-zip.org/

Last edited by Audionut; 30th April 2010 at 11:03.
Audionut is offline   Reply With Quote
Old 30th April 2010, 12:29   #11  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
The first one - Beautiful.vob - can't be fixed. It's been blend deinterlaced already and can't be unblended. Parts of it also seem to have had an improper interlaced resize done on it. It was made by idiots.

The second one, as Audionut says, just needs a bobber and and SRestore.
manono is offline   Reply With Quote
Old 30th April 2010, 20:22   #12  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 418
Quote:
Originally Posted by albert1234 View Post
whats with "tfm(d2v="C:\trail1.d2v", slow=2, hint=false)"
figure it out
Gser is offline   Reply With Quote
Old 30th April 2010, 20:53   #13  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Quote:
Originally Posted by Audionut View Post
srestore(frate=23.976)

That got rid of most of the blends.

http://avisynth.org/mediawiki/Srestore

I know how to use.dll plugin files in MeGUI script creator but I dont know how to use .avs script files.

On the above mentioned website there is "srestore.avsi" script. How to use it??
albert1234 is offline   Reply With Quote
Old 1st May 2010, 04:00   #14  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Using your avs file in the first post as a template.

LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\mt-masktools.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\removegrain.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\repair.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\mvtools2.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\verticalcleaner.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\eedi2.dll")
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
import("C:\Program Files\megui\tools\avisynth_plugin\srestore.avsi")
mpeg2source("C:\trail1.d2v", info=3)
ColorMatrix(hints=true, interlaced=true, threads=0)
TempGaussMC_beta2(edimode="eedi2")
srestore()
crop( 8, 8, -8, 0)
Lanczos4Resize(720,528)


Do note that this will be slow. It's slow for a reason. TempGaussMC is one of the better bobbers.
If it's to slow, you could replace TempGaussMC with a different bobber. I don't know of any other decent bobbers as I don't deal with interlacing all that often.
__________________
http://www.7-zip.org/

Last edited by Audionut; 1st May 2010 at 04:13.
Audionut is offline   Reply With Quote
Old 1st May 2010, 05:54   #15  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Quote:
Originally Posted by Audionut View Post
Using your avs file in the first post as a template.

LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\mt-masktools.dll").........................I don't know of any other decent bobbers as I don't deal with interlacing all that often.
Thanks man for the script but MeGUI gives me error saying
ScriptError : there is no function named "TempGaussMC_beta2"
albert1234 is offline   Reply With Quote
Old 1st May 2010, 07:34   #16  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
Sorry, add this.

import("C:\Program Files\megui\tools\avisynth_plugin\TempGaussMC_beta2.avsi")
__________________
http://www.7-zip.org/
Audionut is offline   Reply With Quote
Old 2nd May 2010, 09:04   #17  |  Link
albert1234
Registered User
 
Join Date: Jun 2009
Posts: 9
Quote:
Originally Posted by Audionut View Post
Sorry, add this.

import("C:\Program Files\megui\tools\avisynth_plugin\TempGaussMC_beta2.avsi")
Now MeGUI is giving new error!
It says -

The file C:\trail1.avs cannot be opened.
Error msg for ur refrence:Script Error: There is no function named "mt_makediff"
(C:\Program Files\megui\tools\avisynth_plugin\TempGaussMC_beta2.avsi, line 349)
(C:\Program Files\megui\tools\avisynth_plugin\TempGaussMC_beta2.avsi, line 159)
(C:\trail1.avs, line 9)
albert1234 is offline   Reply With Quote
Old 2nd May 2010, 09:39   #18  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,281
http://manao4.free.fr/masktools-v2.0a41.zip
http://home.arcor.de/kassandro/prere...eGrain-1.0.rar
http://avisynth.org.ru/mvtools/mvtools-v2.5.10.zip
http://web.missouri.edu/~kes25c/EEDI2v092.zip
http://home.arcor.de/kassandro/prere...calCleaner.rar

You need to rename the "mt-masktools-25.dll" to "mt-masktools.dll"

Depending on the CPU you have, you can use either the sse2 or sse3 versions removegrain, repair and verticalcleaner. Rename each of the files, removing the sse2 or sse3 part depending on which you choose. ie: rename "removegrainsse2.dll" to "removegrain.dll"

Copy mt-masktools.dll, removegrain.dll, repair.dll, verticalcleaner.dll, mvtools2.dll and eedi2.dll to,

C:\Program Files\megui\tools\avisynth_plugin\
__________________
http://www.7-zip.org/
Audionut is offline   Reply With Quote
Reply

Tags
25i to 24p, best deinterlace, detelecine, interlace to progressive, pal

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 11:53.


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