digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Capturing / Recording (http://www.digitalfaq.com/archives/capture/)
-   -   Recording Video: Cutting WINDVR commercials (http://www.digitalfaq.com/archives/capture/3405-recording-video-cutting.html)

nicksteel 04-27-2003 08:22 PM

Cutting WINDVR commercials
 
How is best way to remove commercials from TV capture with WINDVR MPEG files? I normally use VirtualDub with VirtualVCR avi. Trying to use TMPGEnc cut, but very time consuming. I wish to retain quality for DVD burn.

kwag 04-27-2003 09:36 PM

Hi nicksteel,

I know what you mean, and it's a hell of a job!, but there's not much you can do :roll:

-kwag

urban tec 04-27-2003 09:55 PM

Re: Cutting WINDVR commercials
 
Quote:

Originally Posted by nicksteel
How is best way to remove commercials from TV capture with WINDVR MPEG files? I normally use VirtualDub with VirtualVCR avi. Trying to use TMPGEnc cut, but very time consuming. I wish to retain quality for DVD burn.

here is what I do with these sources

A)If I have multi segment capture ie: video_0.-vol-01.mpeg, video_0.-vol-02.mpeg etc I change the extension to mpv then open them up with dvd2avi as if they were vobs and create a dvd2avi project.

B)Then I convert the audio to wav, I personally use winamps diskwriter for this but I am sure there are many other ways.

C)I open my d2v file with avisynth an use a script something like this

Code:

LoadPlugin("C:\Program Files\AviSynth2\plugins\xyz.dll")

#load source files

video=Mpeg2Source("D:\capture\video.d2v")
audio=WAVsource("D:\capture\audio.wav")

#cut out commercials

part1=trim(AudioDub(video,audio),0,45113)
part2=trim(AudioDub(video,audio),45122,0)

#join clips together

unalignedsplice(part1,part2)

#filter resultant video

LegalClip()
FieldDeinterlace(full=true, threshold=15, dthreshold=9, blend=true, chroma=false, show=false)
BicubicResize(352, 576, 0, 0.6, 0, 0, 704, 576)
STMedianFilter(10, 50, 8, 10, 10, 50)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
LegalClip()

This script will keep the video and audio in sync when cutting out the commercials.

The reason I convert audo to wav is so I can load it into avisynth, it is then converted to mp2 with tmpgenc.

There may be a better way to do all this but it works for me.

jorel 04-27-2003 10:11 PM

8O

great way urban tec :D

how and where can we use fade in and out
for better transitions in the script?
:?:

urban tec 04-28-2003 12:49 AM

Quote:

Originally Posted by jorel
8O

great way urban tec :D

how and where can we use fade in and out
for better transitions in the script?
:?:

Hi Jorel,

Not sure, I have never used fade in/out but I suppose it is used around the trim statements.

The new Moviestacker has the fade options I might have a look at that.

nicksteel 04-28-2003 07:31 AM

Re: Cutting WINDVR commercials
 
Quote:

Originally Posted by nicksteel
How is best way to remove commercials from TV capture with WINDVR MPEG files? I normally use VirtualDub with VirtualVCR avi. Trying to use TMPGEnc cut, but very time consuming. I wish to retain quality for DVD burn.

:?: If I load MPEG into VirtualDUB, delete commercials and save as AVI, what is best compression method to use to retain as much quality as possible? Huffy YUY, etc?

urban tec 04-28-2003 10:43 AM

G,day Nicksteel.

Huffy will retain best quality but will give you a huge file at the end.

If you are going to convert to avi from the mpeg you can load the mpeg with a simple avs script, there is no need for the above script just the mpeg2source and resize, then load the avs into virtual dub and cut out the comercials by selecting and deleting them

eg:
navigate to the start of the commercial and press home key, then navigate to the end of the commercials and press end key, this will select a range of frames, press the delete key and they are gone.
Then select save as avi and Bobs your Uncle.

If on the other hand you are going to convert to kvcd then dont convert to avi at all, use the script and load this into tmpg and convert straight to kvcd mpg.

jorel 04-28-2003 10:56 AM

hi urban tec
:)

how can i do it if my source is vob...or better,
.d2v and .ac3 files :?:

:? :?
is possible?
if yes,how can i do it?
:? :?

thanks

urban tec 04-28-2003 11:04 AM

Quote:

Originally Posted by jorel
hi urban tec
:)

how can i do it if my source is vob...or better,
.d2v and .ac3 files :?:

:? :?
is possible?
if yes,how can i do it?
:? :?

thanks

I'm not sure

the d2v is no problem it is synching the audio (that is if you are cutting portions of video out.
Do you have vob' s with commercials :?:

jorel 04-28-2003 11:09 AM

Do you have vob' s with commercials :?:

:lol: :lol: :lol:

no my friend,i'm trying "frameserving" parts from vobs!

i can open but don't know how to save to make skvcds
from many parts of differents dvds!

seems crazy?
:roll:

thanks.

urban tec 04-28-2003 11:37 AM

Quote:

seems crazy?
No seems difficult :)

I'll give it some thought, I'm sure it can be done.

el_mero_zooter 04-28-2003 11:39 AM

Jo,
havent tried vob-ac3 yet, per se, i've tried mpg with ac3 (720x480 for dvd muxed with ac3 audio,, windows media player played it fine).
For vob/ac3 i heard that Ulead DvDWorkShop may trim out commercials.
For my mpg/ac3 i used VirtualDubMPG2 - a new virtualdub that parses mpg2 files for editing as you would edit an avi. Or, what if you open up your vob's with dvd2avi, create a d2v and import that into vdub; edit/join the parts you want to keep and frameserv. Didnt Flask, the latest version, do edits or cuts? Haven't used that in a while.
Or, try browsing through this guide, just saw it over at Baldrick's
http://www.dvdrhelp.com/forum/userguides/120021.php


Nick,
if you're editing with vdub, and cutting commercials, why are you saving as avi---is it for archiving/encoding to divx/xvid/ogg etc?
If you are further processing as kvcd with tmpgenc, you could try loading your file, editing out whatever, and frameserving (creating a pseudo/fake avi {*.vdr or renamed to *fake.avi} file) and feeding that *fake.avi into tmpenc. Saves you having to create an intemediate avi and further quality loss.

If you'd like to try cutting out commercials directly out from your mpg try an app called MpgVcr. I use it to cut out commercials on my tv captures. mostly shows either for dvd authoring or ksvcd. That's what's nice about 352x480, it's flexible. If u need more help just holler.

Ztr

nicksteel 04-28-2003 12:16 PM

Quote:

Originally Posted by el_mero_zooter
Jo,
havent tried vob-ac3 yet, per se, i've tried mpg with ac3 (720x480 for dvd muxed with ac3 audio,, windows media player played it fine).
For vob/ac3 i heard that Ulead DvDWorkShop may trim out commercials.
For my mpg/ac3 i used VirtualDubMPG2 - a new virtualdub that parses mpg2 files for editing as you would edit an avi. Or, what if you open up your vob's with dvd2avi, create a d2v and import that into vdub; edit/join the parts you want to keep and frameserv. Didnt Flask, the latest version, do edits or cuts? Haven't used that in a while.
Or, try browsing through this guide, just saw it over at Baldrick's
http://www.dvdrhelp.com/forum/userguides/120021.php


Nick,
if you're editing with vdub, and cutting commercials, why are you saving as avi---is it for archiving/encoding to divx/xvid/ogg etc?
If you are further processing as kvcd with tmpgenc, you could try loading your file, editing out whatever, and frameserving (creating a pseudo/fake avi {*.vdr or renamed to *fake.avi} file) and feeding that *fake.avi into tmpenc. Saves you having to create an intemediate avi and further quality loss.

If you'd like to try cutting out commercials directly out from your mpg try an app called MpgVcr. I use it to cut out commercials on my tv captures. mostly shows either for dvd authoring or ksvcd. That's what's nice about 352x480, it's flexible. If u need more help just holler.

Ztr

I'm just trying to cut commercials from 720x480 MPEG-2 files created by WINDVR. I want to load the trimmed file into DVD2AVI, produce a d2v and then process normally. It will be encoded in TMPGEnc into a KVCD or KDVD.

Where can I find MpgVcr or VirtualDubMPG2 ? Can't find on internet.

el_mero_zooter 04-28-2003 12:30 PM

Quote:

Originally Posted by nicksteel

I'm just trying to cut commercials from 720x480 MPEG-2 files created by WINDVR. I want to load the trimmed file into DVD2AVI, produce a d2v and then process normally. It will be encoded in TMPGEnc into a KVCD or KDVD.

Where can I find MpgVcr or VirtualDubMPG2 ? Can't find on internet.

Yep, hear ya.

hey thats what i do... :lol:
Works great too. but if you do transitions between clips beware of audio synch. it does have a great demuxer and syncher though. :D


k, first off, my apologies,,,typo,,
its mpegvcr,,

and its at
http://www.womble.com/

vcdhelp has a quick guide,,,should get ya started.
http://www.dvdrhelp.com/mpegvcredit.htm

Vcdhelp's link
VirtualDubMPG2
http://es.geocities.com/dextstuff/#VirtualDub

fccHandler's direct url
http://home.attbi.com/~blade66/


Hopefully, that'll help ya out

Zooter

nicksteel 04-28-2003 04:05 PM

Quote:

Originally Posted by el_mero_zooter
Quote:

Originally Posted by nicksteel

I'm just trying to cut commercials from 720x480 MPEG-2 files created by WINDVR. I want to load the trimmed file into DVD2AVI, produce a d2v and then process normally. It will be encoded in TMPGEnc into a KVCD or KDVD.

Where can I find MpgVcr or VirtualDubMPG2 ? Can't find on internet.

Yep, hear ya.

hey thats what i do... :lol:
Works great too. but if you do transitions between clips beware of audio synch. it does have a great demuxer and syncher though. :D


k, first off, my apologies,,,typo,,
its mpegvcr,,

and its at
http://www.womble.com/

vcdhelp has a quick guide,,,should get ya started.
http://www.dvdrhelp.com/mpegvcredit.htm

Vcdhelp's link
VirtualDubMPG2
http://es.geocities.com/dextstuff/#VirtualDub

fccHandler's direct url
http://home.attbi.com/~blade66/


Hopefully, that'll help ya out

Zooter

Thanks! Just tried mpeg2vcr and it seems to work ok. Much like VirtualDub with AVI's, I can delete sections of MPEG-2 files.

jorel 04-29-2003 01:46 AM

EXCELLENT 8O 8O :!: :!:

thanks urban tec and el_mero_zooter friends :D :D :D

your wise help a lot! :wink: :wink: :wink:
the explanations and the links are fantastics! 8) 8)

nicksteel posted:
"Just tried mpeg2vcr and it seems to work ok.
Much like VirtualDub with AVI's, I can delete sections of MPEG-2 files."

i'm VERY IMPRESSED. 8O 8O 8O 8O
with ifoedit and vobedit you can mix/cut the vobs. :wink:

Virtual Dub MPEG2 AC3 is what i was searching.
open the vobs with ac3(and select the audio to open), 8O
select the desired range :wink:
and save only the parts that you want. :D

a final hint (help please).
saving the file as uncompressed rgb is too big!
the best option to save will be huffyuv?
or another way? :?
help please

thank you boys!! you're FANTASTICS!

your thankfull friend jorel.

:idea:
muaddib, this will be great in MovieStacker!! :!:
:wink:

urban tec 04-29-2003 07:03 AM

Quote:

a final hint (help please).
saving the file as uncompressed rgb is too big!
the best option to save will be huffyuv?
or another way?
this will also produce a big file, can you frameserve from this modifies version of virual dub?
Then you could encode straight to kvcd with audio. :D

or try mpeg-vcr the registered version accepts mpeg2 and ac3, I tried it today, very nice indeed.

jorel 04-29-2003 07:11 AM

Quote:

Originally Posted by urban tec
Quote:

a final hint (help please).
saving the file as uncompressed rgb is too big!
the best option to save will be huffyuv?
or another way?
this will also produce a big file, can you frameserve from this modifies version of virual dub?
Then you could encode straight to kvcd with audio. :D

or try mpeg-vcr the registered version accepts mpeg2 and ac3, I tried it today, very nice indeed.


thanks again "tec" friend..

but i don't know how
"frameserve from this modifies version of virual dub"
:oops:

urban tec 04-29-2003 07:35 AM

Ok here ya go http://www.dvdrhelp.com/virtualdubframeserve.htm

it is quite straight forward, give me a shout if you have any trouble.

jorel 04-29-2003 07:41 AM

Quote:

Originally Posted by urban tec
Ok here ya go http://www.dvdrhelp.com/virtualdubframeserve.htm

it is quite straight forward, give me a shout if you have any trouble.

thanks "tec" friend!

i'm reading and trying to learn in the link now!

:D


All times are GMT -5. The time now is 06:19 PM  —  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.