PDA

View Full Version : Cutting PVA before encoding.. The easyest way?


TKSoft2000
26th January 2003, 01:39
Hello!
I've got a PVA-stream... Now I must cut away some frames at start & end, and also the commercials (often I need to cut between the keyframes).

What is the best way to get best possible quality?

Normally the best way should be that DVD2SVCD gives me the chance to cut parts out after DVD2AVI has done its work.
So DVD2SVCD should be able to edit the AVS-script and my MPEG-Encoder will only get the correct frames..


But how can I manage this?

Hope someone can help me with this problem..

THX!
TKS

hoozdapimp
26th January 2003, 08:43
You should check out the avisynth section, as I know there is a trim command and you can chain up multiple segments, i.e. something like this: (but nowhere near exact code :D)

[begin avs script]

AVISource("video1.avi")+AVISource("video2.avi")
LoadPlugin("C:\Program Files\AviSynth2\plugins\decomb.dll")
Telecide(guide=1)
Trim(start1,end1)++Trim(start2,end2)
Decimate(cycle=5)
Crop(...)
BilinearResize(....)

[/end avs script]
Of course you would have to fill in your own values for everything but hopefully this could get you a start. And like I said, there is a lot of support over in the avisynth section. you should take a look.

TKSoft2000
26th January 2003, 10:38
Thanks! So I have to edit everything by hand...

Do you think that therer is any chance that one day this feature would be added to DVD2SVCD?

Regards
TKS

TKSoft2000
26th January 2003, 11:17
Other problem...
If I cut the Video by hand DVD2SVCD will normally not notice that the sound needs also be cutted!!!

So editing the AVS will not work, cause it only cutts the video stream an not the audio!??

Edit:
-----------
Yes, as I thaugt...
The MP2-stream was not cutted and so I have the cutted video and the too long MP2 stream muxed together...

Any idea how I can also cut the MP2?

Regards
TKS

bernd_b
26th January 2003, 18:01
The only way I figured out until now ist to

select DVB(pva) as source

and check the "use frame selection" under the conversion tab.

After the file was converted with "pva Strumento" dvd2svcd stops to let you select the parts of the movie you wanted to be encoded.

When you stop dvd2svcd after(!) the frame selection, you can add the job to the batch file.

If I stop before the frame selection and use recover, dvd2svcd never gives me the chance to do (which means for example change)the frame selection.
I don't know if this is a bug or if this is meant to be so.

rufio98
28th January 2003, 11:29
Hello!

The easiest way is to cut the pva File with PVACut before using PVA2SVCD.

http://www.tirtanium.de/extra.html

rufio

TKSoft2000
28th January 2003, 15:44
@bernd_b
Thanks, the frameselecor was one of this features I never noticed. The first time it worked not perfect but ok (At the end there where 2 frames too much). But I think I can get this work.

@rufio98
Don't I get troubles if I don't cut at keyframes with this program?

Edit:
---------
Now I worked some time with the frameselector and IT's FANTASTIC! Realy easy to use and also works exact!
The first problems I had were caused from the bad PVA-Stream I used.

THX!
TKS