View Full Version : Cutting Mpeg-2 files?!
tutu
11th April 2003, 16:42
I searched through topics but could not find a satisfying answer for my problem. Anybody knows a good program to cut one mpeg-2 file in pieces and save the pieces as mpeg-2 files also(with the same parameters), having the possibility to play the file in order to determine exactly where you want to cut?
FreQi
11th April 2003, 20:57
Did you try using virtualdub, avisynth, and mpeg2dec3.dll ? I'm not sure, but if you used a script like the one below, maybe you could put virtualdub in Direct Stream Copy and make youre cuts that way.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
MPEG2Source("the mpeg2 file here")
#Crop(?,?,?,?)
#*Resize(?,?)
But then again I do't work with mpeg2's so you got me. *shrug*
Karyudo
12th April 2003, 01:01
I think you will be very happy playing with Womble MPEG-2 VCR. It can do all the stuff you've outlined: play a source, decide where to cut, make a number of in/out decisions, and then do all the cuts at once.
I've only ever played with it once or twice, just to test stuff out, but it was pretty impressive.
tutu
12th April 2003, 07:03
This Womble Mpeg-2 VCR seems very interesting, I will test and let you know. Tnx.
symonjfox
12th April 2003, 13:54
Originally posted by FreQi
Did you try using virtualdub, avisynth, and mpeg2dec3.dll ? I'm not sure, but if you used a script like the one below, maybe you could put virtualdub in Direct Stream Copy and make youre cuts that way.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
MPEG2Source("the mpeg2 file here")
#Crop(?,?,?,?)
#*Resize(?,?)
But then again I do't work with mpeg2's so you got me. *shrug*
This way is not very easy to do. I always do it, but a MPEG 2 PS cutter will be easyer to use.
For example, I record about 3 hrs of music videos. I select only the ones I haven't or I like. Using my old way, it's diffcult because, I have to DEMUX MPv and MPa tracks and encode them separately and then REMUX together after compression. It works, but it's not my favourite job.
Instead if I cut just the videos I like, and save them as separate MPG PS file, then it's really easy to encode & remux everything with audio always on synch.
I hope you understand.
I heard about PVACUT, but it doesn't work for me because my board records in MPEG 2 PS, not MPEG 2 TS or PVA.
Originally posted by symonjfox
I heard about PVACUT, but it doesn't work for me because my board records in MPEG 2 PS, not MPEG 2 TS or PVA.
No problem: you can convert your MPEG-2 to PVA (e.g. using PVAstrumento), then cut using PVACut (I-frames only), then convert back to MPEG-2. As far as I know there are many DVB people doing it that way (even some analogue MPEG-2 capturerers, ugh!). I use PVACut 3.50 quite often, but I record in PVA format.
Instead of PVAstrumento you may want to try ds.jar, which can deal with AC3 streams (Java program, needs Sun's Java runtime):
http://home.arcor.de/matt2/dvb.matt/ds-archive/ds_v060g.zip
PVACut:
http://www.tirtanium.de/digi/PVACut350.zip
DVD2AVI_PVAView:
http://home.t-online.de/home/michael-ring/DVD2AVI_PVAView-1.0.zip
bb
symonjfox
16th April 2003, 11:30
Thanks, I will try!
:D
Lucike FZ
16th April 2003, 14:56
a good program to cut mpeg2 files:
MPEG2Cut - is based on DVDAVI
http://darkav.de.vu
or
Mpeg2Schnitt - new, still beta (German)
http://de.geocities.com/martin_dienert/
or
Vidomi - can cut Mpeg2 files
http://www.vidomi.com
cu
Lucike
cofferscuffs
18th April 2003, 14:48
demux, cut video with m2edit, cut audio with bsplit remux. m2edit imho is more accurate at cutting video then pvacut.
Toti
23rd April 2003, 07:34
M2Edit PRO can edit MPEG2 videos with audio. However, I don't like it since it can not edit AC3 or DTS audio with it. If you try to import AC3 it will tell you that it does not support that file.
I got the trial version and I have used it three times the most. I rather use MPEG2Cut. Isn't this ironic? The expensive program works less for me than the free program.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.