Log in

View Full Version : short summary: the use of delay function in BeSweet


Bluedan
16th February 2004, 22:22
There have been many questions about this function in the forum. Because I had to deal alot with it within the creation of a backup encode of Lord of the Rings - The Two Towers I want to give a summary of what I found in so many different threads. Feel free to correct me. I saw a necessity to summarize it, and redundance is a common charcateristic in forums ;)


This is what I understood so far:

- The delay is just an offset of the audio regarding the beginning of the video stream.

- When setting DVD2AVI check box BeSweet merely looks for an entry in the filename beginning with "DELAY" and the following numeric is taken as the delay in milliseconds. (It doesn't get the delay info elsewhere!)

- If the delay has a negative value (meaning that the audio starts earlier than the video) it will cut off that part at the beginning (even if it's -3000ms which is 3secs!) when transcoding.

- With positive values (add "+", without it it's treated as negative!) BeSweet adds silence to the beginning.

-If you have to do a conversion in two steps (i.e. ac3 -> wav -> realmedia) just do the delay correction once. Be careful if you've set input = output name: "Delay" is still transduced.


This may all be of minor interest when dealing with ripping from one DVD. But Lord of the Rings comes on 2 discs.
So here I had to join audio streams which is still an annoying thing, believe me. Make sure the first audio stream matches the video length of first part exactly. Therefore make use of the append silence function which adds silence at the end.
Useful on this topic is also this link. (http://forum.doom9.org/showthread.php?s=&threadid=58768&highlight=append+silence+besweet)

KpeX
17th February 2004, 03:09
Originally posted by Bluedan
- The delay is just an offset of the audio regarding the beginning of the video stream.This is true for a DVD source. In general, the delay is simply silence appending or samples removed by BeSweet/other encoding app. Originally posted by Bluedan
- When setting DVD2AVI check box BeSweet merely looks for an entry in the filename beginning with "DELAY" and the following numeric is taken as the delay in milliseconds. (It doesn't get the delay info elsewhere!)This is true for Besweet GUI. BeSweet itself is controlled by the user-input delay, except in VOB-input mode. When using VOB input, one can add a '-d auto' to the ota section, and BeSweet will automatically assert the gain found in the VOB stream, as mentioned in point #1.Originally posted by Bluedan
- If the delay has a negative value (meaning that the audio starts earlier than the video) it will cut off that part at the beginning (even if it's -3000ms which is 3secs!) when transcoding.Correct.Originally posted by Bluedan
- With positive values (add "+", without it it's treated as negative!) BeSweet adds silence to the beginning.I've never had to add a '+' for positive delay, it works for me simply using '-d 45' or something like that. This may be different for Besweet GUI however ( I don't use it ).Originally posted by Bluedan
-If you have to do a conversion in two steps (i.e. ac3 -> wav -> realmedia) just do the delay correction once. Be careful if you've set input = output name: "Delay" is still transduced.This again sounds like a GUI issue to me. Of course delay should only be asserted once.

echooff
17th February 2004, 16:17
You do not have to add the + in either command line or using the gui. ou do have to add the negative sign(-) to adjust delayed audio.