+ Reply to Thread
Results 1 to 18 of 18
-
If there is meant to be an image there I am not seeing it.
The question is why they they are 29.970 fps.
If they have been telecined then you can Inverse Telecine (IVTC) them with Avisynth, re-encode them at 23.976 fps, then use DGpulldown to get 25 fps playback.
If they were actually shot at 29.970 fps then there is no nice way to get back to 25 fps. In that case you either have to
a) slow everything down, which would be noticeable
b) discard almost 1 in 5 frames, which will be jerky
c) Blend frames, which will be visibly ugly
However I have no idea what your source is, so I cannot say which is applicable.Read my blog here.
-
Hi guns1inger and thanks for replying.
SorryI edited the post, now you should be able to see the pic.
I think they were 23.976fps so they have been telecined.
I have done this kind of conversion before but starting from VOBs (creating the .d2v file with DGIndex).
Now I am dealing with avi and I don't know exactly how to do.
I'm gonna try to understand the IVTC stuff and let you know.
Thanks for now. -
I have had good help both from you and manono in the past.
Hoping in manono then. -
Here is the sample, I hope it's fine.
http://rapidshare.com/files/251581100/sample.avi.html -
Yes, it's a good sample. That particular one was just blend deinterlaced to make it 29.97fps with 2 blended frames in every cycle of 5 frames. For that one there's a filter that can pretty much 'fix' it and restore it to 23.976fps so you can then do whatever you like with it:
23976avi.avi
The script I used is:
AVISource("C:\Path\To\Video.avi",audio=false)
Import("C:\Path\To\SRestore.avs")
ConvertToYV12()
SRestore(omode="pp3")
TDecimate()#part of the TIVTC package
http://avisynth.org/mediawiki/Srestore -
Thanks!
As guns1inger said, you are the man for this stuff!
But what have I to put into the SRestore script? -
That's what the link was for - to explain how to use it and the filters needed. OK, here's the complete script I used:
LoadPlugin("D:\AviSynth Stuff\Dlls\MT_MaskTools.dll")
LoadPlugin("D:\AviSynth Stuff\Dlls\TIVTC.dll")
LoadPlugin("D:\AviSynth Stuff\Dlls\Average.dll")
LoadPlugin("D:\AviSynth Stuff\Dlls\RemoveGrain.dll")
AVISource("E:\Test\samplenew.avi",audio=false)
Import("D:\AviSynth Stuff\plugins\SRestore.avs")
ConvertToYV12()
SRestore(omode="pp3")
TDecimate()
Adjust for your names and paths. Make sure you also get the srestore.avsi. I think I renamed the MT_MaskTools from it's original name. You have to be careful to get the most recent RemoveGrain. You have to have a recent TIVTC. Import the SRestore.avsi (I renamed it as .avs) to your script. Test the script out in VDub(Mod) and if something's wrong it should give you an error message pointing to the culprit. Here's the thread about it:
http://forum.doom9.org/showthread.php?t=95924 -
Originally Posted by manono
I'll try and let you know. -
I created this testscript1 script:
LoadPlugin("C:\Programmi\AviSynth 2.5\Dlls\MT_MaskTools.dll")
LoadPlugin("C:\Programmi\AviSynth 2.5\Dlls\TIVTC.dll")
LoadPlugin("C:\Programmi\AviSynth 2.5\Dlls\Average.dll")
LoadPlugin("C:\Programmi\AviSynth 2.5\Dlls\RemoveGrain.dll")
AVISource("sample.avi",audio=false)
Import("SRestore.avs")
ConvertToYV12()
SRestore(omode="pp3")
TDecimate()
When I test it with VirtualDubMod I get this error:
Avisynth open failure:
RemoveGrain: invalid mode 19
(SRestore.avs, line 45)
(D:\...\testscript1.avs, line 8) -
SRestore() requires lots of other filter that you have to download and install:
Originally Posted by SRestore() docs -
It works!
Thank you for your precious help.
And what about the audio? I must end up with a 25fps video so, do you think I am going to have sync issues? -
The audio? I don't mess with WMA. Someone else will have to help. However, if you change the length of the video, you'll also have to change the length of the audio.
Just because you used SRestore to get that video back to 23.976fps, and just because you're making a PAL DVD, doesn't necessarily mean you have to change the length (or framerate) of the video. It can be encoded at PAL 720x576 resolution but using the 23.976fps framerate. Then when done, to make it compliant for PAL DVD run the M2V through DGPulldown set for 23.976->25. That's up to you though. The audio will still have to be reencoded to make it PAL DVD compliant. To AC3 or MP2 audio, most likely. -
Originally Posted by manono
Ok, I'll try asap and let you know. -
After a quick test it seems there are no sync problems.
Many thanks to manono for his help
Similar Threads
-
It's possible a .bat for avi that convert at 25fps and merge with mp3 ?
By Robertus in forum ProgrammingReplies: 10Last Post: 14th Aug 2010, 12:36 -
Changing AVI from 29fps to 25fps
By Ric76 in forum Video ConversionReplies: 11Last Post: 22nd Jul 2009, 14:12 -
avi is 23.97fps,srt is 25fps
By Soixante in forum SubtitleReplies: 7Last Post: 3rd Dec 2008, 14:26 -
12.497fps AVI --> 25fps PAL MPEG
By DRP in forum Video ConversionReplies: 3Last Post: 4th Jan 2008, 02:39 -
why 25fps avi or 23.97fps avi
By theewizard in forum DVD RippingReplies: 8Last Post: 12th Jun 2007, 08:03