Log in

View Full Version : How to delay by 12 sec an OGG soundtrack


Emm
15th February 2003, 12:05
I have ripped and codec a movie with dvd2avi. Both sound tracks have been coded in OGG then I have deleted the AC3 files. English is perfect but french soundtrack starts after the first banner. Having OggMuxed audios/video/chapters and Subtitles, I discover that french sound starts 12sec before english. English is correct, french is wrong.
I tried to add the delay in OggMux 0.9.4 but the soundtrack delay and quality parameters are greyed and not editable zones.
I tried virtualdubmod with two external sound tracks but no success (and the chapters and subtitles are not taken into the resulting OGM).
French file lasts 163'35", english is 163'47 long.
I would like to modify the OGG sound file to insert a 12 sec preamble delay.
I though to Musicutter (http://musicutter.host.sk/ ) that apparently can join two ogg media but I don't know how ?
Do you know a program to do that ?

Emm
15th February 2003, 22:30
My problem is still not solved. I tried BeSweet V06 b69 which is able to convert from Ogg to Ogg. I tried the OTA (overall track adjustment) option to insert the 12000msec delay. But the resulting file contains a large chunk of blank bytes for 1% of the file in front of the usual OGGS file header. The file cannot be played with WinAmp. I think its a bug of the new OGG-OGG besweet conversion possibility. or I have not understood OTA...
Does any body have an idea to delay the start point of the french OGG track by 12 sec ?

BoNz1
15th February 2003, 22:37
Have you tried Koepi's new oggmux? It should be able to add delay, he has added it in the latest release 0.9.4.2, I think that this should do the job. Another program you might want to try to add delay is virtualdubmod. Hope this helps.

Emm
15th February 2003, 22:57
yes, returning to the doom9 news I just saw the new 9.4.2
with the notice :
- Version 0.9.4.2
- Added delay for ogg audio files thanks to Suiryc
I have downloaded the file from http://prdownloads.sourceforge.net/oggmux/OggMux-0.9.4.2.zip?use_mirror=belnet And I will try.
This a strange coincidence ! Thank you Suiryc, yes this functionality was missing!

Yes its good but the range is limited to -10000 to +10000
No chance for me.
Please dspguru, suiryc, push it to +/- 32000!

Koepi
16th February 2003, 02:37
The limit was added by me, not by Suiryc or anone else. For usual encoding, more than 10 seconds off is way too much for being a reasonable encoding.

If you'd try that functionality of OggMux (thanks again Suiryc for the brilliant code!) you'd notice that OggMux creates a new file: <original name>-<delay>ms.ogg.
If you'd _modify_ the soundtrack entry to use that file, you could easily add another 2000 ms of delay.


Regards
Koepi

Emm
16th February 2003, 03:44
Thank you for this very useful piece of software to you and and also to Tobias! I have a great pleasure using all the OGG stuff and discover day by day new possibilities.
Thank you for enabling the delay in the version 0.9.4.2 It will serve for sure.

I will dig around the explanation you gave ! (but right know, I have a memory leakage and crashes due to growing swap file: I have downloaded so many new Dlls, that this will be difficult for me to diagnose).
Good evening everybody!
Emm

Emm
16th February 2003, 14:43
Hi,
It works file, just reentering the delayed new ogg file intead of the original for another 2000ms !

Koepi, I have still a little service to ask to you:
Since 0.8 a Split optionhas been developed and refined in version 0.9.4 It slices the subtitles too, but not the chapter tracks that become unusable on part 2 and above. And the algorythm has not been revised since that version.

So I have to use the excellent OGMcutter V1.0a1
Would it be possible in a next version to implement the same default behavior for chapters as in OGMcutter ?
It would be very kind of you !


These are a large number of sites offering covers and subtitle files but no chapters files. The combination of OGM format and BS-Player allow us to step to a given chapter, as extracted and exported to OGG syntax with ChapterXtractor 0.962, augmented on my own taste with the original chapter's titles found inside the jackets of the DVDs.
It seems not necessary to me to implement a langage selection for different chapters files as it was evidently for the subtitles.
But a regret is that until now I have not found any library of Chapters on the web to give the final touch at my OGM movies !
Have a nice day !