PDA

View Full Version : OggMux : mux a Divx with MP3 VBR


Dams
5th September 2003, 00:12
Hi all,

I try to mux an AVI file (Divx 3.11) with a MP3 VBR, with oggmux 0.9.5.1 and I've got no sound when I read the video with BSP or TCMP.

Have I missed something ?

Ps : I've see the sound stream if I use VideoSpot.
I've got this with the original AVI (with MP3 VBR) : 0x0055(MP3) ID'd as MPEG-1 Layer 3
and this with tne OGM : mpeg (mp1/mp2) (0x0050) Microsoft Corporation

unmei
5th September 2003, 03:33
i wonder where you digged out that old cheese ...

anyway if the codec ID says 0x50 instead of 0x55 it should relly not be mp3 -> means your mp3 is no longer mp3 but has been transcoded by some (de/muxer?) application. you cant make dirty stuff like VBR mp3 in a AVI and then expect to get the data back :)

Why not try latest VDM, set to direct stream copy and save as OGM..could work
(dunno i just never tried this as i never tried the whole SBC/nandub stuff, i was more with mpeg-1 and divX4 with CBR mp3 later)

i guess actual help if this doesnt work, you'll have to provide more details

alexnoe
5th September 2003, 12:50
you cant make dirty stuff like VBR mp3 in a AVI and then expect to get the data backAVI-Mux GUI will get back a lot :) Blame bad software for your problem, not an innocent container... is the result better if you extract the audio stream to an MP3 file before?

tiki4
5th September 2003, 14:36
Hell.

If and only if I remember correctly you can't mux VBR MP3 via DirectShow into OGM container (that's what OggMux does). As already mentioned, use latest VirtualDubMod or command line ogmuxer.

tiki4

Dams
6th September 2003, 00:15
For all :

I've got at the beginning, an AVI container with Divx 3.11 for video and mp3 VBR for audio.

I use VirtualDubMod 1.5.4.1 (last CVS) , 1.5.1.1, 1.4.x.x and all the time, when I want to save it as an OGM, I've got bad picture (lots of blocks around persons).

So, I decided to use oggmux, with success, but now, it is the audio file, that seems to have been changed in the mux, so I couln't hear anything. Also, TCMP at the start of play says it cannot render some stream (the audio stream, I guess) ... :(

Dams
6th September 2003, 00:23
Moreover, I use VirtualDubMod to look at the ogm created by oggmux, and it says that the audio stream is a mpeg (mp1/mp2) and is long of 00:00:00.222 ... nice , isn't it ?

kastro68
6th September 2003, 05:30
does the file work in graphedit?


Why don't you just encode the audio into a different format like vorbis or aac.

Dams
6th September 2003, 09:41
I don't try the solution with Graphedit, I will.

Otherelse, I can't create another audio stream, I haven't at this time the source. Can I transmux to oggvorbis and how ?

Dams
6th September 2003, 20:14
?

tiki4
8th September 2003, 08:37
Don't reencode to another format, you lose much quality this way.

Try the following (if possible): Demux your video and audio with VirtualDubMod (using the option to treat the MP3 like NanDub does). If this doesn't help just use NanDub which is also in the GordianKnot package. You should end up with an AVI containing your video and an VBR MP3 file. Check that the MP3 is played properly in Winamp or another player that handles VBR MP3 correctly (WMP doesn't!).

Then get ogmuxer from cyrius.bunkus.org (http://cyrius.bunkus.org). It's a command line utility but it's quite easy to learn. Use this one to mux your AVI and your MP3 into OGM container. That should settle your problems.

Anyway, the Graphedit method is nothing other than what you do in OggMux , which is just a frontend and builds a filter graph itself. If you need further help, just post.

tiki4

Dams
8th September 2003, 10:06
thanks a lot for your advice, I'll try all these pretty things and I'll post to tell the solution (or not :D )

Dams
11th September 2003, 22:59
Just for information, I'm trying actualy a GUI for OGMuxer 0.9.0 which can be located at http://zuludev.de.vu/.

Dams
11th September 2003, 23:53
well, I try OGMuxer, and it didn't work perfectly (like VirtualDub and VirtualDubMod 1.4.x and 1.5.x), it's producing on the video, blocks .

However, I think the AVI file (Divx 3.11) isn't perfect (some pictures are very pink on the border of persons, isn't strange ?), and no one can mux it into OGM, so I keep it into the AVI container, and I will use OGM for others files like Divx 5.x and Xvid...

ChristianHJW
12th September 2003, 09:15
Is it allowed to ask here is the same behaviour is shown when muxing into MKV inszaed of OGM with mkvmerge ( 0.6.6 is latest, from Mosu's site ) or VirtualdubMod ?

Dams
12th September 2003, 09:20
Sure, u can ask it :D

I haven't already tried it, but I will and tell u whats Matroska container brings some solution.

alexnoe
12th September 2003, 11:40
Is it allowed to ask here is the same behaviour is shown when muxing into MKV inszaed of OGM with mkvmerge ( 0.6.6 is latest, from Mosu's site ) or VirtualdubMod I would have put < sarcasm > ... < /sarcasm> - tags around that :)

Dams
12th September 2003, 13:17
Originally posted by ChristianHJW
Is it allowed to ask here is the same behaviour is shown when muxing into MKV inszaed of OGM with mkvmerge ( 0.6.6 is latest, from Mosu's site ) or VirtualdubMod ?

Well, it seems to worked well.

I have to try it with Chapters, but, I think it would be nicer (I just want it will be played without problems :D)than OGM (just for this case)

What is your favorite player for playing mastroka files , at this time ? (I use TCMP or BSP)

ChristianHJW
13th September 2003, 07:24
Originally posted by Dams What is your favorite player for playing mastroka files , at this time ? (I use TCMP or BSP

TCMP has pretty nice MKV support via jcsston's CDL plugins, allowing tagging the files, etc. If you dont need that, any DShow player will work fine, Gabest' MPC has the best built in stream switcher for audio IMHO ...

Koepi
13th September 2003, 09:28
Ok, away from the spam again, back to OGM (which the question was about):

you should try setting ffdshow to decode DivX3 - with DivX4 and newer this is the only solution to playback the OGMs. The DivX playback filters are flawed.

This _might_ be a solution. (I never muxed something like old divx and mp3 into ogm [because it's simply no use for that] so I don't know if it helps with divx3 as well.)

Regards
Koepi

Dams
13th September 2003, 10:37
Originally posted by Koepi
Ok, away from the spam again, back to OGM (which the question was about):

you should try setting ffdshow to decode DivX3 - with DivX4 and newer this is the only solution to playback the OGMs. The DivX playback filters are flawed.

This _might_ be a solution. (I never muxed something like old divx and mp3 into ogm [because it's simply no use for that] so I don't know if it helps with divx3 as well.)

Regards
Koepi

Flawed ONLY for Divx 3.xx content ??

Best regards

Dams
13th September 2003, 11:51
well, i test with FFDSHOW, and no solution at all..

I think my video stream is bad, and nobody can do for this.
I remain with matroska for this case (which work).

alexnoe
13th September 2003, 16:08
If the video stream were indeed bad, then Matroska or AVI would probably not work either.

Dams
13th September 2003, 20:08
well, it is strange, it is played correctly in matroska or AVI container (source) but in ogm container , nope..
but I don't care, nowadays, I give greater importance to the container which be capable to hold in addition to the video/audio stream, chapter and subtitle in itself like matroska or ogm, it doesn't matter

so, I have decided to put some "old movies" into "newage container" for more ease