PDA

View Full Version : how to batch mpa --->mp2 without belight?


BabaG
30th November 2006, 01:41
i need to batch a great many mpa files to mp2 files. i want to
keep everything about the files the same as the original mpa
files except i need to change the frame rate from 29.97fps to
25fps. could someone walk me through this? or point me to
the best way to do this?

fwiw, this is related to a thread in the virtualdub/virtualdubmod
forum called 'm2t problems.' i'm changing a lot of hdv m2t files
from 29.97fps to 25fps. this is being done by:

1. extracting the audio from the 29.97 m2t to a 29.97 mpa (dgindex)
2. processing the 29.97 m2t down to a 25fps m2v (ffmpeg/avisynth)
3. processing the 29.97 mpa down to a 25fps mp2 (belight)
4. recombining the 25fps m2v and mp2 files into a 25fps mpg (mplex)

so far, the snag in the process is the batching of the 29.97
mpa's down to 25fps mp2's with belight. belight seems to be
having a continuing and long term problem with its batch
functionality (just skimmed the belight release thread and
there are lots of references to this problem).

thanks,
BabaG

Mug Funky
30th November 2006, 07:42
mpa = mp2 just rename it.

as for framerate, well audio doesn't have a frame rate. it only needs to be retimed if there's been a speed change in the video (ie 23.976 to 25).

Pookie
30th November 2006, 12:11
If you haven't changed the delay yet from the DGindex demux:

08 - Track1 T01 DELAY -425ms.mpa

Command Line

for %a in (*.mpa) do delaycut -auto -out "%~na.mp2" "%a"


or

Batch File

for %%a in (*.mpa) do delaycut -auto -out "%%~na.mp2" "%%a"

Search for Jsoto Delaycut

BabaG
30th November 2006, 18:48
thanks again pookie. came over here to try and spare you
more work but i guess you found me ;)

are you saying to install the jsoto delaycut exe and then run
the commands in your post? iow, the commands require the
package?

thanks,
BabaG

Pookie
1st December 2006, 00:02
Yes, just download DelayCut. It is a single executable and can run either from the command line or via GUI.