digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Capturing / Recording (http://www.digitalfaq.com/archives/capture/)
-   -   Best way to cut commercials from tv capture? (http://www.digitalfaq.com/archives/capture/2988-best-cut-commercials.html)

nicksteel 03-14-2003 09:38 PM

Best way to cut commercials from tv capture?
 
:roll: Now that I have finally succeeded in getting good final KVCDx3's, I need to know how to best remove commercials, then use predictor and fitcd for final sizing.

:?: If I go through the entire process of creating the KVCDx3, at say 90% CQ, can I cut and merge in TMPGEnc and then predict and reencode the KVCDx3 MPEG1 at the desired rate to fit on CD?

:?: Or is there a better way?

muaddib 03-15-2003 12:38 AM

I can use the trim avisynth filter.
You can preview the exactly frames you want to trim in vdub.
Add something like this right after you load your source in the avs script:

trim(0, 7500) + trim(10500, 18000) + trim(21000, 28500)

It's just an example, and you will have to find the start and end frames for each block.
This way you will have no commercials to encode, and you will encode just once.

Grantman 05-29-2003 01:12 AM

Use trim() ?
 
If you use trim dosen't it only work for the video stream? How do you cut the audio from the commercials so that when you multiplex the audio and video are still in sync?

I use cut editing within TMPGEnc to eliminate the commercials. Since I usually supply TMPGEnc with an audio source instead of multiplexing later.

Grantman

kwag 05-29-2003 01:22 AM

I am actually searching right now for a good MPEG editor :!:
I need to edit my DMR-E20 captures ( a .VRO file ) in my PC, to remove the commercials. I won't be re-encoding, because I do a lot of captures in 6 hour mode, which is MPEG-2 at 352x240. So I just demux the .VRO into a .m2v and .ac3 ( yes, the DMR-E20 records AC3 audio 8) ), and then I encode the audio to .mp2 and mux back as VCD :D
Works like a charm :!
But I need to find a good program to edit my stream. Panasonic bundles a program called "MovieAlbum SE", but apparently it's included when you buy a DVD-RAM. Mine is a OEM drive, so I didn't get any software. I'm trying to find a link to buy the program, but no such luck yet :cry:
If anyone knows of a good program ( Not NanoPeg of MyFlix :x ), please let me know. Or a link to a site that sells the "MovieAlbum" program.

Thanks,
-kwag

jamesp 05-29-2003 05:17 AM

Re: Use trim() ?
 
You can cut the audio if you encode the audio with TMPeg

Quote:

Originally Posted by Grantman
If you use trim dosen't it only work for the video stream? How do you cut the audio from the commercials so that when you multiplex the audio and video are still in sync?

I use cut editing within TMPGEnc to eliminate the commercials. Since I usually supply TMPGEnc with an audio source instead of multiplexing later.

Grantman


MrTibs 06-12-2003 04:05 PM

I don't know of a good Mpeg2 editor so if that is what you want, please ignore my post.

For my analog captures (Huffy codec), I use VirtualDub. I do my editing there then save the settings out to "edit.vcf". From there I open the vcf file into a little hack that I wrote that translates the virtualdub file into Aivsynth Trim functions. (you can easily translate manually) and paste into my Avisynth script. No audio trouble.

kwag 06-12-2003 04:17 PM

I found what I wanted. It's MPEG-VCR http://www.womble.com/products.htm
And you don't need to re-encode. It cuts (edits) parts out of your MPEG-2 file, and then writes a new MPEG-2 file to the disk.

Edit: There are two versions: One for MPEG-1 and one for MPEG-1 and MPEG-2

-kwag

jorel 06-12-2003 04:53 PM

Kwag,
in the download page i can download only one file.
there is no choice!

is for mpeg1 and mpeg2?
:?

nicksteel 06-12-2003 05:02 PM

Quote:

Originally Posted by jorel
Kwag,
in the download page i can download only one file.
there is no choice!

is for mpeg1 and mpeg2?
:?

Click on "Purchase" on their website. The MPEG2VCR file is listed there. I have used in the past with ok results.

el_mero_zooter 06-13-2003 09:10 AM

Quote:

Originally Posted by kwag
I found what I wanted. It's MPEG-VCR http://www.womble.com/products.htm
And you don't need to re-encode. It cuts (edits) parts out of your MPEG-2 file, and then writes a new MPEG-2 file to the disk.

Edit: There are two versions: One for MPEG-1 and one for MPEG-1 and MPEG-2

-kwag

Maestro {Kwag, that is :lol: :lol: }

Seems like we almost need a separate heading {url} off of the Forum headers for Software / Applications...
we're starting to duplicate efforts.. :D :D

http://www.kvcd.net/forum/viewtopic....ghlight=mpgvcr
http://www.kvcd.net/forum/viewtopic....ghlight=mpgvcr


zTr

Dano 06-13-2003 09:28 AM

If you are capping to .avi you can search doom9 forums for vcf2avs which will convert the .vcf to .avs. You can then paste the Trim into your script and you can open the .avs directly in VDub and extract the .wav.

-Dano

vhelp 06-13-2003 07:22 PM

Hi all..

off-topic...

>> Software / Applications...

@ kwag and el_mero_zooter and..

to add to Zooter's suggestion...
And, can you add Computer too ??
Maybe make it one FORUM, since these are so closely related topic,
and still have somethign to do w/ video to some degree.. "what's the
best video/ram/cpu/mb/chipset/wires/cables/media/monitor etc. for.."


i.e., Software / Applications / Computer...

Yeah, because some like to talk about Software, while others, Computers,
and when there are issues w/ either softare/driverInstallation or hardware
or pc system issues, they seem to relate sort of. I can't think of anything
else to add to this one-for-all FORUM (if you are deciding on adding this
at all that is
)

Have a great weekend all.
-vhelp

kwag 06-13-2003 07:46 PM

Check the forum again :wink: :wink: :wink:
Is that better :mrgreen:

-kwag

vhelp 06-14-2003 07:40 AM

@ Kwag..

Yes, as always, great work !!

THANKS too many times!! :D 8O :D

-vhelp

jorel 06-16-2003 03:03 PM

i follow this steps(thanks cm) using mpeg vcr:

"Use what ever to cut the file then in mpeg-vcr, click File and Open MPEG movie. In that window that pops up, click on the small Insert Effect button. The long green band has the curser to the left, this is the start of the movie. In the Start Effect box, move down to and select Begining Fade. Then hit OK. Click the Insert Effect button again. Slide the pointer to the far right and in Start Effect box, move doen to and select Ending Fade. Then hit OK again.

Now moving the slider/pointer on the movie window ill show that there is now fade in at the start and end. Now hit the samll Save button, give an output name and select the MPEG type (VCD, SVCD, etc). Demux this file, discard the audio part and re-mux with audio that you have created fadein/out with in your Audio Editor."

:!:
in this part:
"Now hit the samll Save button, give an output name and select the MPEG type (VCD, SVCD, etc). "
seems that the prog is reencoding all again!

is there a better way to cut with fade without reencode?
:? :? :? or i loose some?

help please!
:?

kwag 06-16-2003 04:08 PM

Hi jorel,

When you select to save, you don't select VCD or anything else. You just save with defaults. If you select something other than the default that was read when you opened your MPEG file, it will be re-encoded :!:

-kwag

jorel 06-16-2003 07:22 PM

hey Kwag,
really works using the "save" without more options.
:wink:
after follow you and save as default was faster.
thanks!!

one doubt remains:
after this the prog open the new saved file and ,don't know why,
the last frames appear after the final fade... 8O
only few frames and i can't remove .... :(

:?:
what i did wrong if i follow everything like you wrote?
:?
the begining is perfect, the final do fade but show few last frames again in the new file after saved!

:?: :?

kwag 06-16-2003 07:25 PM

I guess something happened when you cut that end :!:
Can you cut that end again when the new MPEG reloaded and appears in the new window :?:

-kwag

jorel 06-16-2003 07:30 PM

Quote:

Originally Posted by kwag
I guess something happened when you cut that end :!:
Can you cut that end again when the new MPEG reloaded and appears in the new window :?:

-kwag

yes, is strange cos i cut the file and save.
open this file and do the job with fade and all is ok before i save but
after save this ,the new file saved open with the last 2 or 3 frames
is showing again after the final fade :!:
the first file where i do the job is perfect,
only the last new saved show this.
8O
my pc is crazy?!?!
:?

jorel 06-17-2003 09:06 PM

:!:
i did all again.
the final file saved show the last 2 frames(again)after fade out. 8O

maybe my choice is cut this last 2 frames... :?

how i solve this?
:wink:

kwag 06-17-2003 11:13 PM

Quote:

Originally Posted by jorel
maybe my choice is cut this last 2 frames... :?

how i solve this?
:wink:

For that, just use TMPEG tools ;)

-kwag

jorel 06-17-2003 11:55 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by jorel
maybe my choice is cut this last 2 frames... :?

how i solve this?
:wink:

For that, just use TMPEG tools ;)

-kwag

oh yes...of course,thanks Kwag. :oops:

:imstupid: :dark:

ps:
one time my keyboard plug was out of pc...
when i power on the soyo mb speak:
"keyboard not found",and in monitor show the phrase:
press f1 to continue.
do you know what i did?
:imstupid:
I PRESS F1! 8O
(the keyboard was out)
:lol: :lol: :lol: :lol:
do you believe that i worked with eletronoics for 30 years after this?
:oops:
:lol: :lol:

kwag 06-18-2003 12:12 AM

Don't worry jorel,

I have a Macintosh PowerPC running Mac OS X 10.2.6 on my left with it's monitor, and my Pentium 1.6Ghz Running XP on front of me with it's monitor. Make a mental note: Mac monitor on the left, PC monitor on front of me :!: Both keyboards are in front of me, side by side. I usually use the Mac to browse (because OS X just doesn't crash at all :!: ), and use the PC to encode and do video stuff.
Many, and I mean MANY times a day, I'm writing at the Mac keyboard 8O, and looking at my PC's monitor, and shouting all kinds of bad words thinking my machine is locked up, when indeed I'm looking at the wrong monitor :lol:
Same thing the other way around too :mrgreen: Eventually, I'll get fed up, and I'll move the Mac keyboard to the left, where it's supposed to be :wink:
So my friend, if you're pressing F1 without a keyboard, you're fine :mrgreen:

-kwag

jorel 06-18-2003 12:17 AM

:lol:

:rotf: :hihi:

Grantman 06-18-2003 07:25 PM

Edting time?
 
Kwag...

I have been using the MPEG-VCR to cut commercials out of a regular 30 minute broadcast program.

I was using TMPGEnc to do the same (using the Cut editing under the ADVANCED, SOURCE RANGE options).

It seems like the total editing time is more using MPEG-VCR. The original file is usually 1.2-1.3 GB. Saving the non-commercial piece back takes longer than it does to just cut the commercials in TMPGEnc. Also, you do not end up with and original (1.2GB), a 2nd file without commercials (800MB) and the final MPEG1 file (150-300MB).

What is the advantage to the MPEG-VCR step. It works nice but almost exactly as TMPGEnc's editing interface.


Grantman

kwag 06-18-2003 07:40 PM

Re: Edting time?
 
Quote:

Originally Posted by Grantman

What is the advantage to the MPEG-VCR step. It works nice but almost exactly as TMPGEnc's editing interface.


Grantman

The primary advantage is the sync issue. In TMPEG, when you try to edit MPEG-1 VBR, the cutting points are incorrect some times. You must have noticed that if you scroll to some point in TMPEG in the Cut&Merge, and click on the play icon, sometimes it takes forever to sync and start playing. At least that's the way it worked the last time I tried it. Haven't tried it on the latest version of TMPEG. But on MPEG-VCR, it syncs fairly quickly, compared to TMPEG. I also had problems in the past when cutting with TMPEG. The cut points were not exactly where I had selected them.

-kwag

trillium 06-25-2003 01:33 PM

Sorry it took me awhile to catch up on this. I usually do my captures from TV in avi and go from that point.

On the comment with Trim and avisynth. The way I get the audio (WAV) file, is to load the avisynth script into virtualdub and save the audio file in wav format. It's an extra step, but it gives me a wav file that sync's up to the audio with the commercial cuts in the right place.

Grantman 06-27-2003 02:09 AM

Kwag... you are correct again!
 
I think the latest version of TMPGEnc does fix the weird sync issues. I have been able to cut out commercials perfectly... and the spots are right where they should be?

But...

MPEG VCR ultimately ends up being a better tool. Even with the sync fixed... it takes too long in TMPGEnc. Also, the cuts are only in the TMPGEnc project file and are easily lost.

Now, I take my ReplayTV files on to my PC. A 30 minute TV show is 1.2GB. I immediately cut the commercials in MPEG VCR. I queue up 5-10 shows and save. Then I delete the original files.

That has been saving me 33% file size on files I have not encoded yet. Also, it gives me a chance to work with the content before I am too far into the encoding process. It is a bunk file (wrong episode or something with visual glitches)... I find out sooner. Also... I think there are some clips that are easier to see Interlace lines if you are viewing them in MPEG VCR. That is how I figured out The Simpsons are Telecined. It was not as obvious in VirtualDub.

Thanks...

Each time it looks like a Swiss Army Knife is available (i.e. TMPGEnc) is becomes obvious that each process needs a specific tool.

You can't argue with the results!

Grantman

kwag 06-27-2003 09:25 AM

Hi Grantman,

I'm looking into getting a ReplayTV :)
Could you cut and post somewhere a small ~10MB or so captured sample from the machine :?:
I would like to see the MPEG-2 captured quality :!:

Thanks,
-kwag

kwag 06-30-2003 12:18 AM

Never mind GrantMan. I bought one :mrgreen:

-kwag


All times are GMT -5. The time now is 02:04 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.