PDA

View Full Version : DTS editor?


Thunderbolt8
30th January 2008, 19:26
I would like to mux a DTS track with a video file from a corrupt transport stream to .mkv. that video file has 2 corrupted video frames in it and therefore I need to delay the DTS track somewhere in between a bit, after these video errors occured. is there some kind of tool with which I can do that?

nautilus7
30th January 2008, 19:58
You can use delaycut.

Thunderbolt8
30th January 2008, 20:01
can delaycut delay from a certain point onwards in the mid of the stream?

nautilus7
30th January 2008, 20:10
No, you 'll have to cut the file.

Load the dts in delaycut and delete from where the corruption begins to the end.
Load again the original dts and delete from the start to where the corruption ends.
Join the 2 cut files in cmd.

Note that you can only cut at a frame point and remove parts (i.e frames) with specific duration. Delaycut can tell you the frame duration.

Thunderbolt8
30th January 2008, 20:20
hm I guess its not clear yet :P
the track itself is clean, there are no problems with it, they are in the video. but since I hardly can edit the video (at least I wouldnt know how) I have to edit that track and therefore I actually have to add a delay in between at 2 places (40-50ms each). is this still possible with delaycut?

nautilus7
30th January 2008, 20:30
Sorry! I thought you need to remove a part of the track.

Yes, delaycut can do that. You still have to cut the track where you need to put the delay, but you'll have to delay the second part before joining.

Thunderbolt8
30th January 2008, 21:26
I got it calculated so far, but Im thinking, couldnt it be that theres a little audio delay caused for each joined part, as it is the case with seamless branching movies?

nautilus7
30th January 2008, 21:50
No... What you mention about seamless branching has to do with the same audio data existing on both parts that are afterwards joined.

The only limitation you have has to do with frame duration. I 'll give an example (with ac3 because i don't remember the frame duration of a dts file): each ac3 frame is 32 ms long. You may have found that you need a delay of 50 ms to be added. If you had ac3 audio, you would able to add a delay of 32 or 64 ms, meaning 1 or 2 frames. Of course frame duration in dts is a lot sorter.

Thunderbolt8
30th January 2008, 23:23
y, its 10.666sms :)

managed to get it now, but after that 1 hour of work I found out when I used gdsmux to get the video to .mkv all that delay was somehow concentrated at the beginning and not at those places where the video and audio errors where reported according to mpeg2repair. so if I had know this all I had to do was to apply the delay at the beginning of the track and thats is :S
so is this a characteristic of gdsmux's muxing to shift all delay times at the beginning or something like that?

nautilus7
30th January 2008, 23:41
No, this isn't possible. We are talking about dts frames. They can't be moved around by a (de)muxer!

Are you sure there isn't something wrong in your setup that makes audio/video out of sync in random points?

Thunderbolt8
31st January 2008, 06:42
No, this isn't possible. We are talking about dts frames. They can't be moved around by a (de)muxer!

Are you sure there isn't something wrong in your setup that makes audio/video out of sync in random points?
I meant the delay of of the video stream, which should have been modified by these errors.

I checked audio sync after the final muxing at beginning, mid and end and everything was fine now