AVS Script trouble

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Postby Ciato » Sat Nov 11, 2006 8:48 pm

I think I might have found the problem.
The mjpeg source I edited with is 29 FPS, but the deinterlaced Huffy is 23 FPS.
I have a feeling adding AssumeFPS(29.97) after the deinterlacing commands might bring it back to where it should be.
Ciato
 
Joined: 19 Jan 2002

Postby Warpwind » Sat Nov 11, 2006 9:20 pm

was it 29.97 to start with or 29? those fps are different (it's not a case of near engough is good engough for fps unfortunetly).

I only use assumefps(whatever) when it's really close to the fps anyway I'm not sure if 23 to 29.97 is too far you may end up with really fast footage.

alter the values in decimate until the huffyuv meets the fps you need. All your files in premiere should be the same fps.
User avatar
Warpwind
 
Joined: 07 Oct 2002
Location: middle of the desert

Postby Warpwind » Sat Nov 11, 2006 9:35 pm

double posting

guides wrote:Decimate:

Cycle - The number tells decimate how regularly to remove a frame. For NTSC IVTC it is 1 in every 5 frames. Later you will see some examples where decimation is used differently or not at all..
Mode - The mode will govern what frame in a sequence gets deleted. This decision will affect how smooth the output will be. For a simple NTSC Telecine of anime, mode of 2 is best - you can read the decomb manual for info on the other modes.


more info here http://www.animemusicvideos.org/guides/ ... etb3a.html

so you should just be able to add
Decimate(cycle=5, mode=2)
and it should be 29.97fps (I'm assuming your source is NTSC)
if it isn't alter the number next to cycle until you get the fps you want.

Also if you click "file information" in virtualdubmod it should give you all the info on the file including fps after running it through the .avs script.
User avatar
Warpwind
 
Joined: 07 Oct 2002
Location: middle of the desert

Postby Ciato » Sat Nov 11, 2006 9:53 pm

Source AVI = 29.97 FPS
mjpegs used to edit = 29.97 FPS
Re-encoded Huffy = 23.976 FPS

But I'll try Decimate(cycle=5, mode=2)
Thanks :D
Ciato
 
Joined: 19 Jan 2002

Postby Ciato » Sat Nov 11, 2006 11:58 pm

I had to put cycle to the max (25), and even then I didn't get 29.97 FPS.
I got 28.77

I guess that's close enough to 29.97 to use AssumeFPS
Ciato
 
Joined: 19 Jan 2002

Postby Scintilla » Sun Nov 12, 2006 12:20 am

Um, Decimate(cycle=5) will reduce 29.97fps to 23.976fps... if you want video at 29.97, you shouldn't be using this filter at all.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby AMV_4000 » Sun Nov 12, 2006 12:47 am

OK, you said your using an avi file... what codec is your avi? does it play right outside of premiere? Like in Virtual Dub? it may be a bad codec or bad encode of a video... re-encoding the video might be a solution.... if the avs scripting dosnt work..
User avatar
AMV_4000
 
Joined: 10 Apr 2002
Location: USA

Postby Ciato » Sun Nov 12, 2006 1:37 am

Is there a decent deinterlacing filter that won't alter my FPS?

When I started work on this video a year ago (and then forgot about it for 8 months) I didn't know about all of this stuff, so my timeline is all in 29.97fps.
Ciato
 
Joined: 19 Jan 2002

Postby Scintilla » Sun Nov 12, 2006 1:45 am

Ciato wrote:Is there a decent deinterlacing filter that won't alter my FPS?

When I started work on this video a year ago (and then forgot about it for 8 months) I didn't know about all of this stuff, so my timeline is all in 29.97fps.

Most deinterlacing filters won't change your FPS. EADFAG goes over a bunch of possibilities <a href="http://www.animemusicvideos.org/guides/avtech/interlaceremoval.html">here</a>; I've never used any of them myself.

Decimate is not, and never has been, a deinterlacing filter; all it does is get rid of extra frames.
(In fact, its partner function Telecide isn't really a deinterlacer either; it's a field matcher that uses a deinterlacer if it can't find a non-combed match and postprocessing is turned on.)
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Warpwind » Sun Nov 12, 2006 3:59 am

he was using telecide with decimate as his deinterlacer but the settings on decimate were probably incorrect giving him a different frame rate. I took the Decimate(cycle=5) from the EADFAG because it suggested that with telecide and NTSC (29.97) footage in.

Personally I use
TomsMoComp(1,5,1)
which I believe doesn't alter fps (it's in the amvapp)

but then I'm a PAL user so this stuff is a bit different and more difficult *cough* blending *cough* for me.
User avatar
Warpwind
 
Joined: 07 Oct 2002
Location: middle of the desert

Postby Pwolf » Sun Nov 12, 2006 4:01 am

just remove the decimate() filter and it will be 29.97

Pwolf
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Postby Willen » Sun Nov 12, 2006 6:23 am

If it's like most AVI files for computer playback (downloaded video), it's most likely already de-interlaced so doing it again is unnecessary. Most DV-AVI files (from camcorders or output from Windows Movie Maker, etc.), though, do need de-interlacing if there is to be any editing beyond just basic scene rearranging, especially if the final output is for computer playback.

For de-interlacing (keeping 29.97 fps) I use either TDeint() or TomsMoComp(). Sometimes one does a bit better with certain anime than the other.
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Postby Scintilla » Sun Nov 12, 2006 9:49 am

Warpwind wrote:he was using telecide with decimate as his deinterlacer...

Technical note: Telecide plus Decimate does not deinterlace; it performs an inverse telecine. In other words, Telecide plus Decimate restores the original progressive frames and gets rid of the duplicates created by the telecine process, which usually gives you a frame rate of 23.976 when you're done. More on this in EADFAG; I don't wish to repeat.

You can use a deinterlacer as part of an IVTC process (and most IVTC plugins do), but you should not use an IVTC solution if all you need is deinterlacing (without reducing the frame rate).
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Ciato » Sun Nov 12, 2006 12:25 pm

I went frame by frame in VirtualDubMod to check and the footage was in fact interlaced.

I used TomsMoComp so things should be ok this time.
Ciato
 
Joined: 19 Jan 2002

Postby Warpwind » Sun Nov 12, 2006 6:35 pm

Scintilla wrote:
Warpwind wrote:he was using telecide with decimate as his deinterlacer...

Technical note: Telecide plus Decimate does not deinterlace; it performs an inverse telecine. In other words, Telecide plus Decimate restores the original progressive frames and gets rid of the duplicates created by the telecine process, which usually gives you a frame rate of 23.976 when you're done. More on this in EADFAG; I don't wish to repeat.

You can use a deinterlacer as part of an IVTC process (and most IVTC plugins do), but you should not use an IVTC solution if all you need is deinterlacing (without reducing the frame rate).


Ah thanks for that. I think I get it now. I had always thought that telecide by deinterlacing created duplicate frames and thus increased the fps. Which is why I thought decimate was necessary.

But if telecide keeps the same framerate why is decimate even mentioned in the guide? Is it just for completeness sake?
User avatar
Warpwind
 
Joined: 07 Oct 2002
Location: middle of the desert

PreviousNext

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron