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 January 2013, 10:55   #1  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
Variable frame rate

I have a DVD which i want to encode with a VFR. What should i do with the v2 timecodes generated my ffmpegsource? Do i need to make any change in the aviscript?
http://www.mediafire.com/view/?tkm5a5m755lcqy1 << timecode.txt

Last edited by x265; 29th January 2013 at 12:03.
x265 is offline   Reply With Quote
Old 29th January 2013, 12:18   #2  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 6,673
what do you achieve by using vfr?
Atak_Snajpera is offline   Reply With Quote
Old 29th January 2013, 12:27   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
Quote:
Originally Posted by x265 View Post
I have a DVD which i want to encode with a VFR. What should i do with the v2 timecodes generated my ffmpegsource? Do i need to make any change in the aviscript?
http://www.mediafire.com/view/?tkm5a5m755lcqy1 << timecode.txt
That timecode file is purely CFR, because that's how things are stored on a DVD. As Atak_Snajpera said you need to know why you want to use VFR and yes, you would need to change your script.
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 12:40   #4  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
for certain reasons a lot of anime is created with some sections having motion in 23.976 frames each second, while other sections have motion in 29.97 frames each second. You can store it all in one framerate of course, but if you do you will either have to duplicate or remove frames, and that will create jerkiness in the motion. Which is undesirable since it looks bad.
x265 is offline   Reply With Quote
Old 29th January 2013, 13:21   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
See TIVTC or maybe AnimeIVTC for automatic or manual CFR to VFR. Some people use YATTA, but I don't know if there's any easy guide out there.
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 14:12   #6  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
################################################################
# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\Abhijith Nair\Desktop\Monster Project\VideoFile.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
TFM(order=1, slow=2).TDecimate(mode=1)
crop(8, 2, -6, 0)
Spline36Resize(704,480) # Spline36 (Neutral)
NLMeansCL(A=7, h=0.25, sse=false, S=3)
fastlinedarkenmod2(strength=30, thinning=0)
Sharpaamcmod(aatype="eedi2", dark=0, thin=0, sharp=0, smooth=-1)
Lsfmod(strength=35)
#################################################
What changes should i make here?
x265 is offline   Reply With Quote
Old 29th January 2013, 14:52   #7  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
See the TIVTC/TDecimate docs.

/edit:
removed 1 pass TIVTC example, because it is useless without the explanations.

Last edited by sneaker_ger; 29th January 2013 at 15:50.
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 15:13   #8  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
What's the difference between a one pass and a two pass?
x265 is offline   Reply With Quote
Old 29th January 2013, 15:18   #9  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
Quote:
Originally Posted by x265 View Post
What's the difference between a one pass and a two pass?
I'm no specialist on TIVTC, maybe someone else can chime in.

Last edited by Guest; 29th January 2013 at 15:19. Reason: rule 6
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 15:36   #10  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
Quote:
Originally Posted by sneaker_ger View Post
maybe someone else can chime in.
I hope so.
x265 is offline   Reply With Quote
Old 29th January 2013, 15:38   #11  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 349
Maybe "megui_folder\tools\avisynth_plugin\TDecimate - READ ME.txt" can help you.
bxyhxyh is offline   Reply With Quote
Old 29th January 2013, 15:50   #12  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
what happens when i set a two pass?
x265 is offline   Reply With Quote
Old 29th January 2013, 15:51   #13  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
Oh, that readme is really good. I removed my example because you really need to understand what is explained in that readme before actually using it. One and two pass examples can be found here.

Quote:
Originally Posted by x265 View Post
what happens when i set a two pass?
See the examples. Basically the two pass mode will not create black frames for padding, so it can be directly used for the final encode (without blackness at the end, though you could of course ignore that or cut it afterwards) or if you want to do some seeking, but you have to run the first past .. first. (Like running once with "avs2pipemod -benchmark script.avs" or similar.)

Last edited by sneaker_ger; 29th January 2013 at 16:04.
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 16:51   #14  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
Ok i will try and let you know.

Last edited by x265; 29th January 2013 at 16:54.
x265 is offline   Reply With Quote
Old 29th January 2013, 16:53   #15  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
http://forum.doom9.org/showthread.ph...05#post1611905
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 16:54   #16  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,001
if you know exactly where the part of 23.976fps and 29.97fps were at, you can manual split them apart, encoded them separately with their respected frame rate, and then join them back together, i supposed there's a mp4box gui that can generate the timecode automatically during appending clips with different frame rate.
lansing is offline   Reply With Quote
Old 29th January 2013, 16:59   #17  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,141
I don't know if there's a GUI but writing a timecode_v1 file by hand for such a case is trivial.
sneaker_ger is offline   Reply With Quote
Old 29th January 2013, 17:30   #18  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
Quote:
Originally Posted by lansing View Post
if you know exactly where the part of 23.976fps and 29.97fps were at, you can manual split them apart, encoded them separately with their respected frame rate, and then join them back together, i supposed there's a mp4box gui that can generate the timecode automatically during appending clips with different frame rate.
The video of the OP is interlaced but the signs are not.

<< OP

<< ED

Last edited by x265; 29th January 2013 at 17:43.
x265 is offline   Reply With Quote
Old 30th January 2013, 10:25   #19  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
http://www.mediafire.com/view/?77kbj8ongd0pfxj << VFR timecode.
x265 is offline   Reply With Quote
Old 1st February 2013, 11:13   #20  |  Link
x265
Registered User
 
x265's Avatar
 
Join Date: Oct 2012
Posts: 176
Is there any guide for learning YATTA?
x265 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 18:25.


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