Log in

View Full Version : Muxing soft subtitles into .avi - is it possible?


nickrout
3rd August 2006, 03:02
Hi, sorry if this is really basic, I haven't done much with subtitles before.

Is it technically possible to mux subtitles into an avi, so that they are switchable on and off (like on a dvd).

I know that you can "burn" them in so that they become a permanenet part of each frame, and i know that you can have separate subtitle files in a number of formats like srt etc, but can you put switchable subtitles into the avi?

Thanks for clearing up my ignorance.

Guest
3rd August 2006, 03:12
You seem to have forgotten forum rule 9.

nickrout
3rd August 2006, 03:19
oops sorry, corrected now.

HymnToLife
3rd August 2006, 04:08
I don't think it's possible in an AVI but you could use other container formats like MKV, OGM or MP4.

EDIT : Actually, I've tried it and it seems to work with subs in SRT format, you can mux them in your AVI with VirtualDubMod. But the suggestion to use other containers stands ;)

d0ORk
3rd August 2006, 09:37
Hi. How did you manage to mux the subtitles into the avi?
Is there a plugin?

HymnToLife
3rd August 2006, 10:23
Nope, just open your AVI in VDubMod, go to Streams > Stream List, click Add and select your SRT.

swordheart
8th August 2006, 14:13
HymnToLife i have just tried to do exactly the same method to mux the srt subtitles with a xvid and when i press the subtitle option on my philips divx player nothing happens i just get a sign in top right of left that indicates no subs available. whereas if i have the srt subs seperate from the avi, the player will display the subs ? any idea what i could be doing wrong ?

Susana
8th August 2006, 17:18
Standalone doesn't "understand" that subtitle track. You do nothing wrong.

whereas if i have the srt subs seperate from the avi, the player will display the subs ?
Depend on the player. Read owner manual. Not all players are able to play subtitles.

Nikos
11th August 2006, 00:12
AviMux-GUI support to mux subtitles into an avi, so that they are switchable on a software player like media player classic if you select VRM 7 renderless in the output section under
option menu but not on a standalone player.

For a standalone player you may try to mux xsub subtitles into divx container but this is another long story.

tripex
23rd August 2006, 07:50
I tried to mux some srts within an avi container as well, but it didn't workt at all. AVI-Mux (17.7) is refusing srts. The funny thing is, that a red message box comes up and says, only srts among some other formats are allowed.
When I use VirtualDub (from the last GordianKnot pack) there is absolute no difference in the produced avi file in comparison to the process of NOT including the srts in the streamlist, so VirtualDub is ignoring them while muxing.
What's going wrong?

Another question: Due to that integration in the avi file it's not possible (or at least difficult) to fix some ocr errors later, so I ask if it is possible to integrate the original format as subtitle streams into the avi? Is it still an avi or a divx then?

My dream is to integrate 3 or more audio streams, 3 or more bitmap based (but compressed) subtitles and the chapter points altogether in an avi file. And of course I need a player (Windows), who could handle this. ;-)

CU
Andreas

ilovejedd
23rd August 2006, 08:29
When I use VirtualDub (from the last GordianKnot pack) there is absolute no difference in the produced avi file in comparison to the process of NOT including the srts in the streamlist, so VirtualDub is ignoring them while muxing.
What's going wrong?

You should be using VirtualDubMod and not just VirtualDub.

Another question: Due to that integration in the avi file it's not possible (or at least difficult) to fix some ocr errors later, so I ask if it is possible to integrate the original format as subtitle streams into the avi? Is it still an avi or a divx then?

Yes and yes (avi). DivX is just the codec used. Again, you can use VirtualDubMod to mux.

My dream is to integrate 3 or more audio streams, 3 or more bitmap based (but compressed) subtitles and the chapter points altogether in an avi file. And of course I need a player (Windows), who could handle this. ;-)

Why force AVI to do this? MKV and OGM handles multiple audio and subtitle streams quite well. If you'll only be playing it on a Windows PC, there's already VLC, MediaPlayerClassic and mplayer. It's not as if that AVI file you create will be readable by standalone DivX-capable DVD players. Why go through all that trouble when there are already more capable formats/containers that can do the job better? :confused:

ricardo.santos
23rd August 2006, 08:37
...but can you put switchable subtitles into the avi?


yes, you can use DIVXMUX GUI or AVISUB to mux srtr into avi(divx/xvid) up to 8.

youŽll end up with a file with a *.divx entesion with switchable subs that are playable on any standart divx certified player.



My dream is to integrate 3 or more audio streams, 3 or more bitmap based (but compressed) subtitles and the chapter points altogether in an avi file. And of course I need a player (Windows), who could handle this. ;-)
Andreas

you can do all that with DIVX MEDIA BUILDER.
you can mux in idx subs/creat multiple audio/subs chapters and menus, you can watch all thatwith the divx player(software) on your PC, you need a ULTRA Certified divx player to be able to "get" multiple/audio/subs/chapters/menus on your TV.

http://forum.doom9.org/showthread.php?t=109622&highlight=divx+media+builder

tripex
24th August 2006, 03:54
Yes and yes (avi). DivX is just the codec used.


As I know there is a container format divx as well since DivX6 has been introduced. That's what I mean. I suppose a *.divx is not anymore an *.avi. And therefore it might not playable with the majority of players, which can handle avis.


Why force AVI to do this? MKV and OGM handles multiple audio and subtitle streams quite well.
Why go through all that trouble when there are already more capable formats/containers that can do the job better?


That's a good question, but I tend to be at least a little bit (future) compatible and always try to use the most popular formats, when they are good enough. That's still avi. Normally I'm open minded to new and better formats, but I hate it to have dozens of different formats after 10 or 20 years in my library. Maybe I switch to OGM (better divx) finally but definitely not to MKV.


If you'll only be playing it on a Windows PC


That's only the main reason (now), but I want to be flexible to play it in 20 years with any software player on any OS and maybe even on hardware players, but the latter is not too important.


youŽll end up with a file with a *.divx entesion with switchable subs that are playable on any standart divx certified player.
you can watch all that with the divx player(software) on your PC


Hmm, that's the problem. Is that *.divx playable with the most good software players like MPC, VLC or BSplayer or do I need the ugly DivXPlayer from DivX Labs? I don't want to be dependent on one.
Is it still playable, when I rename the extension to avi?

CU
Andreas

ricardo.santos
24th August 2006, 11:25
Hmm, that's the problem. Is that *.divx playable with the most good software players like MPC, VLC or BSplayer or do I need the ugly DivXPlayer from DivX Labs? I don't want to be dependent on one.
Is it still playable, when I rename the extension to avi?


divx files and its extras are playable with Windows media player as well, never tried it on VLC or MPC.

if you rename the extension to avi youll loose all the extras(subs,chapters,menus)

darkavatar1470
27th August 2006, 12:48
That's only the main reason (now), but I want to be flexible to play it in 20 years with any software player on any OS and maybe even on hardware players, but the latter is not too important.
Well, then maybe you would be safer leaving the srt outside the avi file, just in case you can't find a splitter that understand srt-in-avi 20 years from now. I guess it won't be too hard converting srt to some future subtitle format if needed.

Mtz
27th August 2006, 13:03
You can put the movie with .divx extension and the srt file on CD. Depending of the type of player, at least one subtitle will be played, ;)

enjoy,
Mtz

tripex
27th August 2006, 14:33
Well, then maybe you would be safer leaving the srt outside the avi file, just in case you can't find a splitter that understand srt-in-avi 20 years from now. I guess it won't be too hard converting srt to some future subtitle format if needed.

Actually I had anyway no success to mux a srt in an AVI so I leave them extern, but that's good, because you can fix some ocr errors easier later, a txt file is always easy to handle and the AVI is more compatible.
So I will stick to AVI some years more, even the ocr makes much more work.

CU
Andreas