Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th August 2008, 10:55 | #1 | Link |
Registered User
Join Date: Nov 2006
Posts: 5
|
Script to change the framerate of a mpeg ?
I have an mpeg movie of 120 seconds.
I'd like to reencode it reducing its lenght (about 60 seconds). In other word, I'd like to run it more speedly so i can capture it and encod again in mpeg (for example, with HC). Some script ? Thanks |
24th August 2008, 18:12 | #3 | Link |
Cost Effective
Join Date: Nov 2007
Posts: 64
|
As neuron2 indicated above, it is not very clear what exactly you want to do, but this is my understanding
1. Create d2v index file and demux audio using dmpgdec (as part of megui (under tools -> d2v) or using the standalone from (http://neuron2.net/dgmpgdec/dgmpgdec.html) 2. Create avs, make sure to load dgmpegdec Plugin LoadPlugin(/...dll) Or have it in your avisynth's autoload folder 3. Script Code:
v = DGDecode_mpeg2source(path to your d2v file.d2v) a = WAV/AC3/MPA Source(path to your demuxed audio) Audiodub(v,a) AssumeFPS((v.FramerateNumerator)*2, v.FramerateDenominator, true) ResampleAudio(a.Audiorate) SelectEven If you don't need for your mpeg framerate to be DVD compliant (assuming it was to begin with) then you can leave out SelectEven. Last edited by Umamio; 24th August 2008 at 18:22. |
Thread Tools | Search this Thread |
Display Modes | |
|
|