Log in

View Full Version : OggMux (0.x.x) may cause trouble with divx5.x


sillKotscha
13th August 2002, 13:20
hi folks,

I experienced (not only me) that muxing OggVorbis with DivX5 encoded video by using OggMux will result in weird artefacts within the movie (a short but sometimes very heavy trembling). I guess (that is what I have in my mind) that this is only the case with divx and not by muxing xvid with ogg (by using OggMux).

To get rid of it I was using the "old way" - graphedit and guess what, no such thing!! DivX+Ogg muxed by Graphedit is just fine and flawless (this is strange for me, 'cause I think OggMux is just another "frontend for graphedit"). Sometime ago I searched a little bit good ol' google and found another tool for muxing beside of OggMux by Koepi. It is named CombineAviOgg but unfortunately all sides (just 1 ;) )are dead now (404)... but nevertheless here is the link: http://www.napiszone.host.sk/dzwiek.html to see for yourself

This tool worked (as Graphedit did) like a charm for me...

For everyone who wants to know more (sorry, only interesting for german readers :( ) should read here: http://forum.doom9.de/viewtopic.php?t=532

Within this link I made it possible (thanks to LigH) that nevertheless you can download this tool... so not only germans can test it.

cheers Sill

P.S.: feedback is welcome

Koepi
13th August 2002, 13:56
This is indeed very strange as I'm not doing anything besides building a graph like in graphedit.

Koepi
13th August 2002, 14:03
Could you please verify that OggMux causes these problems with your testfiles, mux with graphedit first (and please describe how you add the files to the graph, there might be a difference to how I do it in OggMux), after that use OggMux and see if both files are flawless.

I can't believe this. Maybe you changed something else in your setup which caused this behaviour? :)

BaronVlad
13th August 2002, 14:47
Hi Koepi,
for me it is the same
With OggMux I got "Trembling" while playing, with graphedit (same movie, same audio) no Probs.
But the probs are not always the same, sometimes there are these errors, sometimes not, sometimes heavy, sometimes not, with graphedit never, what could that mean ?

My settings here:

Oggmux:
http://mitglied.lycos.de/BaronVlad/zeugs/oggmux.jpg

Graphedit:
http://mitglied.lycos.de/BaronVlad/zeugs/graphedit.jpg

Cheers

BaronVlad

Koepi
13th August 2002, 14:51
Hm.

You did not add the files to the graph this way, right? :

- Open GraphEdit
- Insert OggMuxer
- Insert FileWriter, connect to OggMuxer output pin
- Use "Render media File" to insert your sources

Because I don't think there are avi or ogg splitters involved in OggMux's graphs...

Thanks,
Koepi

BaronVlad
13th August 2002, 14:59
No, I did NOT use "Render Media Files", I used FileWriter, as you may have seen in the pic.

Do you use Render Media Files in OggMux ? Maybe that is the problem then ???

Koepi
13th August 2002, 15:06
Possibly. (You sure mean FileSource, right?)

Wow, that'll be a major rewrite of OggMux, I'll see what I can do.

Npte for the ToDo list:
- replace RenderMediaFile by FileSource and insert ogg-, wav- and avi-splitters, search those output pins again, connect them with OggMuxer input pins,...

Could take some time.

Regards,
Koepi

BaronVlad
13th August 2002, 15:20
:stupid: ups, sorry, now i got it: I use File Source (async.) for my input and of course a filewriter for the output.

Hope it is not sooo much work for you now, maybe someone else could confirm these problems (in these forum) at first and the solution with graphedit.

In the German Forum there were some guys that got them.

HarryM
13th August 2002, 17:53
Hi Koepi,

Can you add into OggMux feature 'temporaly register of subtitDS.ax'?

I use for seeing subtitles only DVobSub (is best!) and I must for muxing OGM:

a) register subtitDS.ax
b) mux OGM
c) unregister subtitDS.ax

:-(

gabest
13th August 2002, 21:05
There is a source filter for subtitles in dvobsub.ax, too. Its GUID is {A144E330-841A-4fe1-BBAF-57F1CB465C19}.

Koepi
13th August 2002, 21:10
Thx gabest :)

Btw., I'm actually trying to register a sourceforge project for OggMux.

If all goes well, public development can start in 2 days from now.

I'd appreciate any help I can get with this.

The most important thing will be to get rid of a lot of german comments in the code (generated by M$ developer studio), clean up the sources (they're a mess I tell you!), and make classes out of most of the functions. I'm thinking of parser classes, file handling classes, graph classes,... and adding GPL headers to al of the code.

But I'd like to still have a little control over the development sine I still consider OggMux a kind of my baby ;)

So, if you're interested ( I mean AL of you), please, help where you can!
Maybe I can get Moritz Bunkus aboard as well, he wrote a linux oggmuxer which I really like, maybe with bundled efforts we can make the format even better!

Thanks,

Best regards,
Koepi

Koepi
13th August 2002, 22:03
Amazing!

Even 3 hours after announcement nobody's willing to help. ;) (Nice rule #12 we have, right? ;) )
But before everybody kept bugging me to make OggMux opensource.
Well, nothing more to say about that. I think I'm starting to share Ingo's point of view... :P

SCNR,

Regards,
koepi

BaronVlad
13th August 2002, 23:13
sorry Koepi, I would like to help you, but I am not the one who is able to help you, because all the program codes are "Böhmische Dörfer" for me...

BTW: Please look into the link to the German doom9 by sill again, maybe it can help you to find the problems.

Emp3r0r
14th August 2002, 03:59
koepi: do it and I'll help make oggmux better, cheers

Emp3r0r
14th August 2002, 04:00
Great News!

neo_sapien
14th August 2002, 04:51
Originally posted by HarryM
Hi Koepi,

Can you add into OggMux feature 'temporaly register of subtitDS.ax'?

I use for seeing subtitles only DVobSub (is best!) and I must for muxing OGM:

a) register subtitDS.ax
b) mux OGM
c) unregister subtitDS.ax

:-(

You might could write a batch file to do that. Something like test.bat:

regsvr32 /s SubTitDS.ax -> Accomplishes a)
C:\Path\Oggmux.exe -f muxsettings.omx (Do you need quotes in there?) -> Accomplishes b)
regsvr32 /u SubTitDS.ax -> Accomplishes c)


Here is what I do. I have 2 .cmd files (called .bat in Win9x), 1 for muxing, 1 for playback. I run mux.cmd, mux, then run playback.cmd. I basically just got then off the audiofilters zip file and modified them for my needs.

Mux.cmd
@echo off
echo Registering AVI-AC3 Filters...
regsvr32 /u MMSwitch.ax
regsvr32 /s iviaudio.ax
regsvr32 /s mpgaudio.ax
regsvr32 /s SubTitDS.ax
echo Finished registering Filters...


playback.cmd
@echo off
echo Registering AVI-AC3 Filters...
regsvr32 /u MMSwitch.ax
regsvr32 /u SubTitDS.ax
regsvr32 /s iviaudio.ax
regsvr32 /s mpgaudio.ax
regsvr32 /s DVobSub.dll
echo Finished registering Filters...

Guerrand
14th August 2002, 06:19
:( I have also been experiencing these errors in the muxing stages. Although to begin with i thought it was an OS problem so i reinstalled win2k and all the apps (no ... i am not doing it again :P ). Anyways i tried following sillKotscha's advice and pulled out the old faithful Graphedit. However this only succeeded in removing one of the artifacts generated (at 30mins). I am not sure what he means by "Trembling" however in this case it is generating a number of random macroblocks across the frame ... not constant but VERY annoying :( . Anyways these errors are only a recent problem for me and i would like to find a solution. If you have any ideas i would be glad to test them out (encoding only takes 4 hours on this machine).

Note: Artifacts appear at 0:30:24 and 0:44:?? regardless of video or audio stream. Sometimes accompanied by a slight pause in audio but not often.

Thanx for any help you can offer
Guerrand