Log in

View Full Version : problem with mplex.exe -- (pookie?)


BabaG
10th December 2006, 19:52
mplex.exe is truncating exported files in my batch process.

this is carried over from the virtualdub forum but may be more
apropriate to this one. the thread this refers to in the virtualdub
forum is 'm2t problems.'

http://forum.doom9.org/showthread.php?t=118440

the issue is converting 29.97 hdv m2t into 25fps hdv in batches
as there are a great many files.

the software employed is :

dgindex
avisynth
ffmpeg
tdeintv1
Jsoto Delaycut
mplex.exe

the process is, essentially :

make a d2v and strip out the audio to mpa
convert the picture to m2v 25fps
delaycut on the audio to mp2
multiplex the new picture (m2v) with the audio (mp2) to mpg

a great process involving batch scripts was articulated by pookie
in the other thread.

all (i think) of the files i mplex'ed are coming up short. they
don't seem to all end at a uniform length or anything, just seem
to be truncated, often by a lot.

i checked the length of an original m2t file.
checked m2v and mpa against it. came up ok.
checked the m2v and mp2. also ok.
checked the mpg resulting from the mplex process and it's only
around a quarter the length it should be. maybe a lot less.

all the other steps seem fine and in sync.
process of mplexing in batch seems to go ok (to my untrained eye).

final mpg's are short, though.

any thoughts?

thanks again for all your help on this pookie. it's been a great
help and has made something i couldn't even begin to think of
doing manually into a really viable process. (just wish i'd known i
had 19 tapes instead of the 4 i originally thought i had

BabaG

Pookie
10th December 2006, 22:15
Simplify the troubleshooting process for yourself. Test on only a single file. Copy an original transport stream to a folder and work on it in there. Run the batch on that single file.

Try muxing with the gui version of mplex and see if it still truncates. Sounds like you've isolated the problem to the muxing step. The command line version probably needs the settings tweaked a bit to continue. Try adding -l 0 -S 0 -M to the command line version, but first try the GUI one.

Also, are you certain the batch file is identifying the correct audio and video pairs ? It isn't muxing the audio from fileA to the video of fileB ?:D

Are you certain the audio stream is mpa/mp2 and not AC3 ? Drag one of your original files into Gspot to verify.

Perhaps the audio is getting corrupted during the cutting process in Delaycut, or Delaycut sees too many errors and exits. Just for testing purposes, re-encode the audio file to another MP2 before you run Delaycut on it. You can use besweet/belight.

You aren't running out of disk space during the muxing?