Log in

View Full Version : Fade out when splitting dvd


LosKyllos
22nd August 2006, 12:50
Hi :)

I am using IfoEdit to split a DVD9 into two DVD5s, but I want the first dvd to fade out to a black screen instead of just stopping.

Is there a way to do that with IfoEdit, or do I have to use another app?

Thanks in advance :)

blutach
22nd August 2006, 13:44
Possibly easiest is to split with VobBlanker (http://jsoto.posunplugged.com/vobblanker.htm) - guide on site. The chapters that are blanked should play a blank cell for a little while.

Regards

LosKyllos
22nd August 2006, 17:09
Thanks a lot for your help.

It doesn't have to be easy :)

I want to add a real fadeout effect at the end of the first disc. I am sure this is possible in some way. :)

jsoto
22nd August 2006, 22:30
AFAIK, a true fadeout needs reencoding.
Not difficult with avisynth

FadeIn (clip clip, int num_frames, int "color", float "fps")
FadeIO (clip clip, int num_frames, int "color", float "fps")
FadeOut (clip clip, int num_frames, int "color", float "fps")

FadeIn0 (clip clip, int num_frames, int "color", float "fps")
FadeIO0 (clip clip, int num_frames, int "color", float "fps")
FadeOut0 (clip clip, int num_frames, int "color", float "fps")

FadeIn2 (clip clip, int num_frames, int "color", float "fps")
FadeIO2 (clip clip, int num_frames, int "color", float "fps")
FadeOut2 (clip clip, int num_frames, int "color", float "fps")

FadeOut cause the video stream to fade linearly to black or the specified RGB color at the end. Similarly FadeIn cause the video stream to fade linearly from black or the specified RGB color at the start. FadeIO is a combination of the respective FadeIn and FadeOut functions. The sound track (if present) also fades linearly to or from silence. The fading affects only the last num_frames frames of the video. The last frame of the video becomes almost-but-not-quite black (or the specified color). An additional perfectly black (or the specified color) frame is added at the end, thus increasing the total frame count by one.

FadeIn0 / FadeOut0 do not include the extra frame. It is useful when processing Audio only clips or chaining two or more fades to get a square law or a cube law fading effects. e.g Clip.FadeOut0(60).FadeOut0(60).FadeOut(60) gives a much sharper attack and gentler tailoff. The 50% point is at frame 12 of the fade, at frame 30 the fade is 12.5%, at frame 45, 1.6% the effectiveness is more pronounced with audio.

FadeIn2 / FadeOut2 works similarly, except that two black (or color) frames are added at the end instead of one. The main purpose of this is to work around a bug in Windows Media Player.


If you were compressing the DVD (reducing to DVD5) it could be an option, but if you are splitting the DVD into two DVD5, IMHO, encoding is not an option.

Well, may be you can encode just the last part, but you have to take special care with the audio tracks, the best option is to add a final step muxing with the original audio tracks

- Split the DVD9 into two DVD5, using the method you want
- Open the first DVD5 in VobBlanker, and split the last cell in two.
- Reencode the new last cell with the fade effect:
- Replace the cell with VobBlanker, you'll have a new DVD5 with the fading effect, but probably one audio frame will be lost..
- Demux the original DVD5 to get the audio and sub tracks
- Demux the new DVD to get the video
- Mux all toghether again.

jsoto

EDIT:
An easier alternative for recoding only the last cell is to use rebuilder
http://forum.doom9.org/showthread.php?t=114880

LosKyllos
23rd August 2006, 10:40
Thanks a lot :)

I hope it didn't take you that long to write all this, because I have just found a solution.

One scene in the middle of the movie faded out and in again :) I splitted it there, and solved the problem.

Thanks a lot for the tip, I think I can use it with another movie sometime.