Log in

View Full Version : Split Mpeg Files


Dexoknott
5th July 2002, 14:26
Hi!

Is there anyone that knows how to (Easy) split mpeg files in to independent files that can be watched on there own ?

1loser
8th July 2002, 06:10
I'm not an expert at this but I think to get the best results you need to demux and mux again with bbMPEG. You can get the programs you need at Doom's download page (http://www.doom9.org/software.htm).

And a hint from Doom's site: Click on that page, press Ctrl-F (or Alt-F in Netscape) and enter the name of the program you're looking for

These are the programs I use and they work great

bbTools 1.9
bbMPEG 1.24b18

Inside of bbTools is a small file called bbdmux. I create two bat files in notepad called video demux.bat and audio demux.bat.

Put the line below in notepad and rename the extension to bat. Rename your movie to video.mpg.
bbdmux video.mpg 0xe0 video.m2v

Put the line below in notepad and rename the extension to bat.
bbdmux video.mpg 0xc0 audio.m2a

Put the bat files, the program bbdmux and the video.mpg file in the same folder. Double-click video demux.bat and wait for it to create a file called video.m2v. Than double-click audio.bat and wait for it to create a file called audio.m2a.

Use bbMPEG to create the new video at whatever length you want. If you are using windows XP make sure you follow the first sentence. Multiplexing with bbMPEG (http://www.doom9.org/mpg/bbmpeg.htm)

Okay this is not the easiest method but you will get the best results this way.

WarpEnterprises
8th July 2002, 10:40
use TMPGenc.

1loser
8th July 2002, 13:06
Originally posted by WarpEnterprises
use TMPGenc. I used to TMPGenc but it doesn't always have the BEST results so I stopped using it. You could have at least told the person how to use TMPGEnc to do an edit or directed them to a link that would help them. That's the whole purpose of this forum to help others.

poopity poop
8th July 2002, 23:51
tmpeg is easier:

Start tmpeg
file>mpeg tools
demultiplexor tab
load the file
double click on the sound or video that you want
save the sound/video file

Is this want you wanted to know, because I'm not really sure what an "mpeg split into seperate files so that you can watch them on their own" means.

BBmpeg is free...yes, but its very complicated and tmpeg does the same thing faster and better.. I'm nto sure what "problems" you've had...but you shoudl talk about them in a forum

1loser
9th July 2002, 00:17
Originally posted by poopity poop
I'm nto sure what "problems" you've had...but you shoudl talk about them in a forum Many people have this problem with TMPGEnc, when you have a large movie that you just finished encoding to SVCD and you now want to split it to fit on two CD's. After you split the file the audio at the end of the CD will stop about 20 seconds before the end of the movie. Do you use TMPGEnc for spliting SVCD's or for just mpg files? I never discussed this as to why it happens all I know is many people have this problem. The method I described takes longer and has a longer setup time but once you set it up and use the bat files it's not that much trouble and the results are perfect everytime. I use to use TMPGEnc for everything but now I don't use it for anything.

poopity poop
9th July 2002, 02:15
interesting. No I would not have experienced that. I split my movies up front. I decide when and where to split them and overlap them. Extract two different audio streams, two different video streams. I use huffYUV and just have 2 completly independant .avi's and then I encode them. I then use the multiplexor to splice the audio and video together to the two different streams.
So if you just use it for what I descibed...which is a hell of a lot more accurate than splitting up the mpegs at the end (more chance of an oversize) then you shoudln't have too many problems

1loser
9th July 2002, 03:20
Originally posted by poopity poop
interesting. No I would not have experienced that. I split my movies up front. I decide when and where to split them and overlap them. Extract two different audio streams, two different video streams. I use huffYUV and just have 2 completly independant .avi's and then I encode them.I did that when I first starting converting from avi to SVCD but the experts told me that's not the best way of doing it. I'm guessing that some bits get wasted that way and for other reasons. It's not the professional way of doing things.Originally posted by poopity poop I then use the multiplexor to splice the audio and video together to the two different streams.
So if you just use it for what I descibed...which is a hell of a lot more accurate than splitting up the mpegs at the end (more chance of an oversize) then you shoudln't have too many problems I don't have to split the mpg's because I encode the video with Cinema craft and the audio with besweet and than mux them with bbMPEG. Actually the way I'm doing it is really more accurate and never out of sync. I probably thought the same as you when I first began encoding a few months ago.

poopity poop
9th July 2002, 13:21
but the experts told me that's not the best way of doing it
Who are these experts? And... did I explain fully how I keep my a/v sync?
Actually the way I'm doing it is really more accurate and never out of sync.
Did I... fully explain how I keep my a/v sync? I...don't have any problems keep an a/v sync, did I allude to that? Don't make judgments
It's not the professional way of doing things
Professional - (noun) Someone who gets paid for doing something
Amatuer - (noun) Someone who doesn't
Someone paying you mr professional? If so, I'd like to get in touch with you.
----------------------------------------------
Oh...There is this advanced tool called avisynth you may have heard of....

one file:
video1=mpeg2source("blehbleh")
audio1=wavsource("blehbleh")
audiodub(video1,audio1)
resize
filters
ivTC
etc
trim(0,70200)

Another file:
video1=mpeg2source("blehbleh.d2v")
audio1=wavsource("blehbleh.wav")
audiodub(video1,audio1)
resize
filters
ivTC
etc
trim(60800,150000)

Load each file into vdub and extract the audio in eccence spliting up the .wav into...perfectly synced .wavs. Then make huffYUV .avis out of those 2 .avs's then ENCODE THEM.
How am I losing sync? Oh....I'm not!..that's right

Think before you post

1loser
9th July 2002, 21:37
Originally posted by poopity poop
Professional - (noun) Someone who gets paid for doing something
Amatuer - (noun) Someone who doesn't
Someone paying you mr professional? If so, I'd like to get in touch with you.The word professional can be used as an adjective, adverb and noun. Try taking your own advice and think before you post! It seems your feelings were hurt because you are still doing your encoding as a beginner (inexperienced, unskilled person; novice). Now that's a noun only!

poopity poop
10th July 2002, 00:10
I have nothing to prove to you

DVD__GR
10th July 2002, 01:21
Sorry guys but I think you want to torture yourself!!
sorry for my bad english.GET ORDIX M-PACK 2000 and then tell me your opinion.....it does splitting and merging seem lame job!!

duronlib
13th July 2002, 14:23
:o You'd better try DVDCutter, it's very good in it, especially the registered version, it has versatile features, you can download it in www.cnet.com
Oh, the latest version is v3.1, you can visit its homepage