Dealing with a really bizzare framerate

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
starseekergem
Joined: Fri Sep 15, 2006 1:25 pm
Org Profile

Dealing with a really bizzare framerate

Post by starseekergem » Mon Apr 20, 2009 5:33 pm

My problem is simple. The raws I've got have a framerate of 31.25 fps and some really horrible frame blending to go with it. Does anyone know if I can fix this and still keep the audio in sync?
I provide unattributable press briefings, You leak, He is being prosecuted under the Official Secrets Act.
I am an original thinker, You are eccentric, He is loony.

User avatar
jt_x
Joined: Wed Oct 17, 2007 10:13 am
Org Profile

Re: Dealing with a really bizzare framerate

Post by jt_x » Sat Apr 25, 2009 4:53 pm

i would use AssumeFPS(29.97, 1001, true) if the audio is still off sync you could also try to convert the audio separately

-> import your video in dgindex and convert the audio to wav and then use WaveLab to squeeze it 95,904% ( = 29.97 / 31.25).

User avatar
starseekergem
Joined: Fri Sep 15, 2006 1:25 pm
Org Profile

Re: Dealing with a really bizzare framerate

Post by starseekergem » Thu Apr 30, 2009 8:41 am

I tried using that but apparently "AssumeFPS(29.97, 1001, true)" has invalid arguements.
I provide unattributable press briefings, You leak, He is being prosecuted under the Official Secrets Act.
I am an original thinker, You are eccentric, He is loony.

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Re: Dealing with a really bizzare framerate

Post by LantisEscudo » Thu Apr 30, 2009 11:51 am

Try AssumeFPS("ntsc_video", true)?

outlawed
Joined: Fri Jan 12, 2001 1:03 pm
Location: Lost
Org Profile

Re: Dealing with a really bizzare framerate

Post by outlawed » Sun May 03, 2009 9:25 am

It's possible you have a VFR file which is why you are seeing a reported strange frame rate. That would not explain shitty frame blending though.

Keep in mind assumefps will not keep the audio in sync. If you set sync audio to true then all it does is shift the sampling frequency (audio pitch will change). Frame count is not changed by assumefps.

I recommend you try to IVTC the clip and see what results you can get.

Check out fdecimate it may help. http://www.neuron2.net/fdecimate/fdecimate.html

My other advice is find another source. It's all a question of time in terms of a cost-benefit-analysis to you. How much is your time worth to mess with a shitty file you got through a third party.

Good luck.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Dealing with a really bizzare framerate

Post by Qyot27 » Mon May 04, 2009 12:04 pm

You'd want to use 30000,1001 if you want 29.97, not 29.97,1001 (but really, that's only if you're wanting to be anal about NTSC standard - 29.97,sync_audio=true works fine for most purposes). Even at that, though, you have a couple other options:

A) DirectShowSource's fps=29.97,convertfps=true parameters, which will keep the audio sync. Or if you'd prefer, fps=59.94,convertfps=true and then Decimate(2). Likewise, FFmpegSource's (2.00 only) fpsnum and fpsden parameters are meant to deal with VFR conversion. And you'd want to use fpsnum=30000,fpsden=1001 if you want 29.97.

B) If you sync_audio=true with AssumeFPS, follow that up with SSRC to fix the sample rate back to 44100 or 48000. The change from 31.25 may or may not result in a noticeable pitch change - 24->23.976 and 30->29.97 don't (at least to my ears), but those values are still very close, rather than more than a whole frame off.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”