Back Forum Reply New

OGMerger problem

Heres my situation.  I have a two disc dvd movie.  I created a divx from a d2v of all the vobs.  I created two separate .ac3's from the two different discs.  I then used besweet with the two different ota delay values to create zero delay .ogg files.  I tried then merging these two .ogg files into one, in order to mux into .ogm with the divx .avi file.  Running OGMerger -o outfile.ogg infile1.ogg infile2.ogg parses the first file, but during processing of the second, I get this message many times:
   quot;Warnning in OGMReader::read (OGMReader.cpp) @ 483 : Could not retrieve the Packetizer_mesh handling stream 28170 in file infile2.oggquot;

I can't see what happens just before I get all these errors, as my reflexes arn't fast enough to stop the scrolling output of these error messages in time.  Redirecting output to a .txt file doesn't seem to work either.

The resulting .ogg stream is exactly the same size of the first input file.

I tried merging the two with the simple copy /b method, the resulting .ogg file plays no problem in winamp, however when using oggMux to generate an .ogm, there is no audio at all during playback.  When using VirutalDubMod to mux to .ogm, there is audio for the first half, then silence.

I did succeed in getting audio to work no problem using the .ac3 extracted from both dvd's vobs.  However, this method would not take into account the different a/v delays of the two parts, therefore a/v sync would be off slightly in the second half of the movie.

Suiryc:  anything I can try?

Thanks in advance.

This happens because the merger didn't find the exact same settings for your two Vorbis streams.
For Vorbis streams I compare the whole stream headers and they have to match exactly (this is the case when you splitted a stream in 2 previously and want to join the 2 parts) otherwise my tool won't join them.

Does this mean it is possible to split a single keyframe off as a separate stream containing the same header and then prepend it back on the beginning of the orginal stream?

Why would I want to do that you ask?  So my movies show the title screen in thumbnail view like this.

@titan_rw
I put a version 0.9a5 that may fix your problem (it's more conciliant with Vorbis streams)

@Emp3r0r
Not really the first file have to contains all the streams you have in the next files (if you only put a video stream - containing the keyframe showing the title you want to see - then only the video stream in next segments will be kept).

Originally posted by Suiryc
@titan_rw
I put a version 0.9a5 that may fix your problem (it's more conciliant with Vorbis streams)

Thanks, I'll give it a try for the next two dvd movie I rip.  For now, I had already done it the hard way:

disc1ac3 --gt; besweet to .wav --gt; fix ms delay in cooledit
disc2ac3 --gt; besweet to .wav --gt; fix ms delay in cooledit

disc1.wav + disc2.wav = bothdiscs.wav

besweet .wav to .ogg = bothdiscs.ogg

@Suiryc
I tried both versions actually. With your .9a4 the output file only contained my first input file. And showed the same error as titan_rw.

However with .9a5 i got the same error again as titan_rw
And my output file contained all video from both inputs however only audio from the first input but not second, and all blank OGM tags, with the Title set to the filename of my ogm ouput file.
(test.ogm, title was then, test)
I am attempting to place an Intro my friend made onto one of my episodes. I made sure the ogg's were of equal bitrate and sample rate. The videos are also the same fps.

I've been reading the  forums quite some time about ogg merging, and it seems the problems lies in the ogg header information. I'm not sure what the requirements are then perhaps of what i have to change in order for your prog to work.

I initally just tried cutting one of my OGMs and merging it with OGMerger, because i was hesitant if it would work at all. Although it copied all the tags, chapters, and everything i needed to recreate the file perfectly.

So my only question is.....what do i need to change in the ogg's or ogm's to make them merge correctly?

Well unfortunately I can't help you here.
The latest version compares only the important data for Vorbis streams (that is the samplerate, number of channels, and the complete setup information; so this means that the setup information aren't the same ; I tried to force merging of 2 Ogg files with different setup information but it gave me garbage for the second audio part ).
I even disabled the comments checking (the goal of this tool was to merge 2 files that come from the same original clip, i.e. with same settings and comments).

So actually I don't see anything more to do here

Yeah, sorry i misinterpreted the use of your prog. I was hoping for something to merge ogm's not cut from the same file, perhaps in the future yes?

Well what I mean is that I can't merge 2 vorbis streams which settings are different because the resulting merged audio stream won't be good (the second part will not be decoded properly).

The latest version of my merger test the minimum vital information for vorbis streams, if it doesn't want to mux them it should mean that the 2 streams are incompatible (you can't merge them at all without reencoding).
¥
Back Forum Reply New