PDA

View Full Version : how to add two str subtitle files to a .ogm file??


mac1929
8th January 2003, 23:30
I have a .ogm file with one video and two audio streams, and also have two .str subtitle files that I want to embed in the file.

I've tried with graph edit. Demuxing video, audio 1, audio 2, adding two Input File Filters and two subtitle parsers.

Resulting file plays fine with Graphedit, subtitles work and so does audio. But WMP refuses to play it, I'm getting a 80070057 error "Parameter incorrect".

What am I doing wrong?? Is there other way to achieve this??

Some more notes:

I've just tried to demux .ogm file into three separate files one for video and two for audio and then mux them with subtitles using OggMux.

Surprisingly the file created is exactly equal to the one Grapthedit did, there's no info lost by the way. Graphedit file has 33 bytes appended at the end that OggMux file does not have, the rest, except some bytes of the header, is equal.

Video is Divx 5.02, audio is Lame 0.92 Vbr, donīt know if this is relevant.

Anyway WMP displays the same error!!

Selur
9th January 2003, 09:11
if you mean srt, try VirtualDubMod ( http://sourceforge.net/projects/virtualdubmod )

Cu Selur

mac1929
9th January 2003, 19:19
Originally posted by Selur
if you mean srt, try VirtualDubMod ( http://sourceforge.net/projects/virtualdubmod )

Cu Selur

Right, I meant .srt. VirtualDubMod creates a file that can be played with graphedit but not with Windows Media Player, same as Graphedit and OggMux. I wonder if my problem is WMP, not OGM...

Selur
9th January 2003, 21:09
Hmm,.. You did install oggDS and the subtitle Filter, did you?

mac1929
13th January 2003, 11:20
of course :)

Koepi
13th January 2003, 17:14
OggMux does nothing different than GraphEdit, it's mentioned in the release notes, in the project description,... ;)

Regards
Koepi

mac1929
13th January 2003, 22:50
I've contacted Tobias and has told me that itīs a known problem that will be fixed. Till then WMP 6.4 is recommended for playing.