Log in

View Full Version : Changing FPS of m2ts file


deco20
25th November 2013, 17:28
Hi! Is there a way to change FPS of m2ts and then save it as m2ts using Avisynth? Because I'm struggling with strange FPS like 23.974 or 23.975. FFVideoSource shows me these strange FPSs, DirectShowSource shows standard 23.976, but I think that FFVideoSource is more reliable. I know that there are functions like AssumeFPS or ChangeFPS but I don't know how can I use it when I want to save it again to m2ts.

Guest
25th November 2013, 17:35
It's unlikely it is not 23.976. Can you post a link to a small unprocessed source sample so we can see from the stream syntax itself what is going on versus trusting some tool.

Also, is the m2ts from a bluray? If not where does it come from?

deco20
25th November 2013, 18:31
m2ts comes from a blu-ray and here is the sample:
http://we.tl/dSpfbQftOF

To cut it out I used DGSplit 1.2.

Guest
25th November 2013, 19:05
It must be 23.976 if it is from a bluray. I also confirm that the stream specifies 23.976. So nothing to fix here.

deco20
25th November 2013, 19:19
But what if they messed up this videos? When I created subs for it in 23.976 and mux it with BD it was obviously out of sync. Could it be something related to variable framerate?

Guest
25th November 2013, 19:26
Likely your process was messed up. You'd have to open a new thread in Subtitles about that.

tebasuna51
26th November 2013, 11:14
... but I think that FFVideoSource is more reliable....

Nope. By default FFVideoSource put the fps checking timestamps of first and last videoframes, and most the times you finish with unnacurate fps values like 23.975.

After FFVideoSource I always use AssumeFps(24000,1001), when I know the source is 23.976 from BluRay.

turbojet
26th November 2013, 12:32
Same suggestion from tebasuna51 about assumefps also applies to directshowsource due to rounding errors.

deco20
26th November 2013, 18:17
I see. Thanks for advices. I will try to create sup again.