View Full Version : VFR Question
Raven2x
19th April 2006, 05:56
Alright I got some anime Im trying VFR on.
The intro and credits are progressive (I need to keep it at 29.97).
DecombVFR (or TIVTC) get the intro right (29.97 there), and the middle (all 24FPS) however the credits, it mistakes as 24 FPS off and on during the credits.
I know you can stop the decimation with a vfrovr file however telecide just won't back off from it no matter what I do. Is there anyway to tell telecide to just not do anything to it at all manually.
Optimally it would be nice if you could just make a file overriding the entire process telling things when its 29.97 (with deinterlace) or 24 FPS (with telecide n decimate)
darkavatar1470
19th April 2006, 13:26
playing around with the setting takes a lot of time, but can still miss a few frames, and won't work on another clip, so I'd rather Yatta the whole thing manually.....
If you're sure only the OP & ED are in 30p ,
then you might be better off just to encode in 3-parts, and mux them together afterwards....
---
ugh, forgot about filesize...well..um, if you really care,
first do a test encode, cut the file in 3-parts, see how big each part is and set your final encode accordingly...
or some fancy calculations would be needed, since the OP & ED should be a lot higher than avg. bitrate......
foxyshadis
19th April 2006, 14:43
If you don't want to play ratecontrol guru:
oldcount=framecount # this line must be before decimation
op=trim(0,op_end)
main=trim(op_end+1,ed_start-1).tdecimate(mode=1)
ed=trim(ed_start,0)
# junk to keep length the same
oldfps=framerate
averagefps=(float(framecount)/float(oldcount))*oldfps
assumefps(averagefps).Nicefps()
and a timecode file
# timecode format v1
assume 23.976
0,op_end,29.97
ed_start,999999,29.97
If you want to make tdec do it, the override file format is:
0,op_end v
op_end+1,ed_start-1 f
ed_start,movie_end v
Tdec will complain if movie_end does not match the actual # of frames in the video.
Raven2x
20th April 2006, 17:55
If you don't want to play ratecontrol guru:
oldcount=framecount # this line must be before decimation
op=trim(0,op_end)
main=trim(op_end+1,ed_start-1).tdecimate(mode=1)
ed=trim(ed_start,0)
# junk to keep length the same
oldfps=framerate
averagefps=(float(framecount)/float(oldcount))*oldfps
assumefps(averagefps).Nicefps()
and a timecode file
# timecode format v1
assume 23.976
0,op_end,29.97
ed_start,999999,29.97
If you want to make tdec do it, the override file format is:
0,op_end v
op_end+1,ed_start-1 f
ed_start,movie_end v
Tdec will complain if movie_end does not match the actual # of frames in the video.
Shouldnt it be .tfm.tdecimate(mode=1)?
foxyshadis
20th April 2006, 20:15
I assumed he'd already done field-matching/deinterlacing beforehand, but if not, sure.
Raven2x
20th April 2006, 20:52
I assumed he'd already done field-matching/deinterlacing beforehand, but if not, sure.
mpeg2source("C:\movie.d2v")
oldcount=framecount
A=Trim(0,47218).tfm.tdecimate(Mode=1)
B=Trim(47219,0).KernelDeInt(Order=1)
oldfps=framerate
averagefps=(float(framecount)/float(oldcount))*oldfps
assumefps(averagefps).Nicefps()
LanczosResize(640,352)
This is my final script (The intro was decimateable as well).
However, using tfm.tdecimate doesnt seem to actually do anything!
The entire clip stays at 27min30sec no matter if the length crap is there or not. And the entire clip is at 29.97.
So I figured I would add .AssumeFPS(23.976) to both of the clips and join them. It seems it will work.
So this is the finale.
mpeg2source("C:\movie.d2v")
A=Trim(0,47218).tfm.tdecimate(Mode=1).AssumeFPS(23.976)
B=Trim(47219,0).KernelDeInt(Order=1).AssumeFPS(23.976)
A+B
LanczosResize(640,352)
And it seems to be working fine ~ I just have to update the timecodes with the new frame numbers (due to decimation...)
Raven2x
21st April 2006, 01:21
AssumeFPS and join worked great.
Alright im done then.
:D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.