View Full Version : how do you edit out commercials in mpeg2 caps?
tomos
2nd January 2003, 23:58
i capptured a program with ati's tv proggy, but i dont want all the ads in there. is there anything i can use to just edit out the ads without recompressing? i capped in all i frames. i also read that tmpeg can do the no recompress part, but i dont think it's accurate for looking through frames, is it?
DJ Bobo
3rd January 2003, 00:09
AFAIK, there is no software that can cut MPEG-2 files 100% accurately, due to the nature of MPEG files: the frames aren't encoded separately as MJPEG for example. So TMPG is the way to go, cut at the place you want, and hope that it will be as accurate as possible.
tomos
3rd January 2003, 00:21
i just tried it and it is 12 seconds out which is unusable.
i guess i'll have to recompress it to some avi codec that can actually be edited and then recompress it back to mpeg-2 later.
this is the last time i am capping to mpeg. it sucks.
DJ Bobo
3rd January 2003, 00:47
12 seconds?! that much?! I was talking about +/- 2 seconds, but not 12. I'm a bit surprised. Are you sure you have the latest TMPG version?
tomos
3rd January 2003, 01:27
i have version TMPGEnc 2.58.44.152.
thanks for the quick replies but i am almost done converting it into a huffyuv avi. i'll leave it overnight to compress to mpeg-2.
2 seconds is still too much for my liking though.
Mike456
3rd January 2003, 14:45
Why do you convert them to avi? VirtualDubMod can open MPEG2 files. You can cut them there and then frameserve the video to tmpgenc
tomos
3rd January 2003, 17:52
i can edit them the vid exsctly where i want in vdub. doesnt frameserving only do video? no audio?
Mike456
3rd January 2003, 18:45
It delivers audio and video.
tomos
3rd January 2003, 19:06
thanks, i am looking into this now. do you have any links on what to do? i haven't played around much with frameserving.
cjv
3rd January 2003, 23:33
If you captured in all I-frames, then you should be able to edit it easily. You should lose a lot less than 12 seconds!
There is a program called M2-edit Pro that works really well, and you won't have to re-encode and lose quality. Unfortunately it is expensive, but they may have a demo version available to try.
It's worth looking into, and if a trial is available, it would save you a lot of time and quality.
cjv
tomos
4th January 2003, 00:35
i am dl'ing a demo now. thanks.
also, the vdubmod proggy gave me an error for my mpeg-2 vid, does not contain video stream. funny how i can play it in media player. :confused:
cjv
4th January 2003, 01:33
I think VDubMod can only open MPEG-2 files in VOB and d2v format, not straight MPEG2.
cjv
dar1us
4th January 2003, 08:45
Thanks CJV:)
I was trying to remember the name of those programs, there is M1 Edit Pro and things like that. I have been thinking and thinking... what were they called. Now I remember:) - but... they ARE good pieces of software, far far better than TMPG for editing out such stuff and you could sieve through an MPEG to look very quickly with those programs.
Cheers again
tomos
4th January 2003, 15:58
i'm still downloading. :angry: damn 56 k
cjv
4th January 2003, 19:20
I just looked at the trial download size..approx 27 megs. Yea, it appears that would take quite a while on 56k. :( I'm sorry, I never think of things like download size. I really hope it works for you!
cjv
tomos
4th January 2003, 19:48
it should take less than 2 hours at 56k usually, but i am trying through other means ;)
7megs done, 13 to go. :sly:
dvd_maniac
5th January 2003, 06:49
I capture using ATI AIW 8500 128mb using MMC 7.7.0.1 and when I come to a commercial I simply pause the recording, when the commercial is done I unpause. Do you use this version for your ATI card?
tomos
5th January 2003, 14:15
yep i do, but you cant be fast enough to be exact with those. someone may come in and talk to me and i may miss the restart and miss a part of the program.
more than that, if i leave it to capture on a timer or something, that doesnt pause automatically at the right places anyways.
i am used to leaving the whole thing to record - ads included since i am used to capping to mjpeg in avi io and then just editing in vdub before recompressing to divx.
tomos
8th January 2003, 03:03
i got that proggy now, and it works great. (i got version 4 btw). takes a while to search through to the right frames, but it saves the files right down to the right frame unlike tmpegenc.
thanks for the replies. :D
dar1us
8th January 2003, 04:26
My guess is that it simply writes an I-Frame somehow by taking a screenshot of whatever image is built on the last frame you wish to keep.
What is capturing like with Gop: IIIII anyone. Does it look terrible? The files would have to be huge!
cjv
8th January 2003, 05:12
Capturing all I-frames looks almost like using MJPEG @ Q17 or so, but with many more MPEG artifacts. (looks utterly horrible with noisy sources)
MJPEG has a much nicer look imho. Filesizes can get as high as 15megs/second, so it's not usually worth it, unless you have a slow CPU and need hardware assist from an MPEG card.
cjv
tomos
8th January 2003, 05:14
well, i did a cap today, and a 32min 23 sec cap takes 3.49 gigs. that's caping at 720x576 at 15mbps vbr (according to ati) and sound at 224 i think (not sure since ati's tv proggy doesnt tell me)
bb
8th January 2003, 07:50
You can use PVAstrumento to create a PVA file from your MPEG-2. The use PVACut 3.30 (in conjunction with DVD2AVI_PVAView) to cut the video (at GOPs only). Then use PVAstrumento again to correct the MPEG-2 file (video, audio, synching, error correction) and create an MPEG-2 video file and a separate mpa audio file (using the demux option).
You can use that MPEG-2 file (.m2v) to create a d2v file using the regular DVD2AVI 1.76. Open the d2v file in VirtualDubMod or in GordianKnot for transcoding, e.g. to DivX or XviD. Use BeSweet to transcode the mpa audio file, e.g. to Ogg Vorbis or MP3.
If you prefer to stay with MPEG-2, then don't demux in PVAstrumento, but create a program stream instead (PS).
Another option is to use AviSynth frame serving together with the new MPASource filter (see AviSynth forum). You can create a d2v file from your original MPEG-2 file (including the commercials), then use an AVS file containing MPEG2Source and MPASource to open it through AviSynth. You should now be able to cut with frame accuracy. This method is for transcoding, not for keeping the MPEG-2 file.
bb
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.