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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th July 2009, 16:50   #1  |  Link
Peuj
Registered User
 
Peuj's Avatar
 
Join Date: Oct 2004
Posts: 223
Need help with a script

Hi,

I use an AviSynth script in ffdshow from the following web site to double the frame rate http://www.avsforum.com/avs-vb/showthread.php?t=719041.

The script and settings are:
Quote:
Avisynth tab checked
YV12 checked,
Add FFdshow Video source Unchecked,
3:2 Pulldown box: Smooth timestamps checked,
check Buffer back/Ahead: 9, 9

setmtmode(5)
Last=ffdshow_source()
setmtmode(2)
super = MSuper(pel=2,hpad=4,vpad=4)
backward_vec = MAnalyse(super,chroma=false, blksize=16, isb = true, search=5, searchparam=1)
forward_vec = MAnalyse(super, chroma=false, blksize=16)
MFlowFps(super, backward_vec, forward_vec, num=0, mask=1, ml=49)
distributor()
This script works well but not with all kind of movies.
With some movies Reclock and my player still report the original frame rate then the player crashes after few seconds. With other movies the player crashes just after 1 or 2 seconds max.

As I'm new with Avisynth script I don't know where to start to solve the problem. Any help will be welcome.

The problem seems related with 4/3 movies at 25fps.
Crash:
Quote:
Video #0 : MPEG-4 Visual at 857 Kbps
Aspect : 640 x 480 (1.333) at 25.000 fps

Video #0 : RealVideo 4
Aspect : 640 x 480 (1.333) at 25.000 fps
Works:
Quote:
Video #0 : MPEG-4 Visual at 994 Kbps
Aspect : 608 x 336 (1.810) at 25.000 fps

Video #0 : MPEG-4 Visual at 977 Kbps
Aspect : 640 x 368 (1.739) at 23.976 fps

Video #0 : MPEG-4 Visual at 1 333 Kbps
Aspect : 672 x 272 (2.471) at 25.000 fps

Video #0 : MPEG-4 Visual at 693 Kbps
Aspect : 608 x 256 (2.375) at 23.976 fps

Video #0 : MPEG-4 Visual at 843 Kbps
Aspect : 848 x 480 (1.767) at 29.970 fps

Video #0 : MPEG-4 Visual at 1 024 Kbps
Aspect : 512 x 384 (1.333) at 29.970 fps


* An other newbie problematic. I would like to keep my final frame rate to 50fps to stick with my TV refresh rate of 50Hz. So I've thought to use ConvertFPS().
Should I use it first to convert 23.976 fps and 29.970 fps to 25 fps or should I use it after the double frame rate?



* With HD movies I cannot use the double frame rate script because my CPU go to 100% so I've just tried to use ConvertFPS() to convert 23.976 fps to 25 fps.
But this doesn't work well with all movies.
I've used Info() to see the frame rate reported after ConvertFPS():
- With ConvertFPS(25), Info() reports 25 fps but Reclock and my player still report 23.976 fps.
- With ConvertFPS(30), it works well: Info() reports 30 fps and Reclock also reports 30 fps.

Again this happens only with some HD movies
Doesn't work:
Quote:
Video #0 : AVC at 4 727 Kbps
Aspect : 1280 x 536 (2.388) at 23.976 fps

Video #0 : AVC at 4 863 Kbps
Aspect : 1280 x 544 (2.353) at 23.976 fps
Work:
Quote:
Video #0 : AVC at 1 413 Kbps
Aspect : 1280 x 720 (1.778) at 23.976 fps

Video #0 : AVC at 1 250 Kbps
Aspect : 1280 x 720 (1.778) at 23.976 fps


* Last question: where can find information about the FFdshow settings like 3:2 Pulldown box and Buffer back/Ahead?


Thanks
Peuj is offline   Reply With Quote
Old 15th July 2009, 20:40   #2  |  Link
n0an
Britain's Finest!
 
n0an's Avatar
 
Join Date: Jun 2009
Posts: 143
--Removed--

Sorry!
n0an is offline   Reply With Quote
Old 15th July 2009, 21:56   #3  |  Link
Peuj
Registered User
 
Peuj's Avatar
 
Join Date: Oct 2004
Posts: 223
Quote:
Originally Posted by n0an View Post
--Removed--

Sorry!
I've hoped an answer
Peuj is offline   Reply With Quote
Old 16th July 2009, 11:06   #4  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
hey buddy, I've never used any frame rate interpolation script...so I can't really help you on that, maybe Jeremy could?

getting this to work on 1080p files will prolly require a massively o/c i7, so you may wanna lower your expectations

maybe you're having a bad case of mod2 files, why not resizing to your screen native res? I'd advise using lanczos3 for luma and bicubic 1.0/0.0 for chroma.

more infos here : http://ffdshow-tryout.sourceforge.ne...video:avisynth

Last edited by leeperry; 16th July 2009 at 11:08.
leeperry is offline   Reply With Quote
Reply


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:50.


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