[MPlayer-users] softsub in .avi file

The Wanderer inverseparadox at comcast.net
Sun May 8 21:18:30 CEST 2005

Rickard Närström wrote:

> I have find some .avi file with embeded soft subtitles, mplayer
> doesn't seem to understand those subtitles at all.
> I know that .avi files doesn't support embedded subtitles - but there
> still are there and I have succuessfully played the file with
> subtitles in  windows (Windows Media Player - with VobSub installed).

This problem has cropped up before, mainly I think with me. The problem
is that some program has stuck an entire separate .txt file *inside* the
AVI file (which is absolutely not the same as a more standard subtitle
stream); although MPlayer knows how to read the subtitle format in
question, because the file is not separate it has no way of knowing that
the subtitles exist.

When I brought this up before, back in the middle of '04, someone wrote
me a program which would go through such an AVI file and dump out the
subtitle section into a separate file; from there MPlayer can display it
just fine. The source to the program in question is attached; it totals
around 4K.


       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

A government exists to serve its citizens, not to control them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avisubdump.c
Type: text/x-csrc
Size: 3502 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050508/22701645/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avisubdump.h
Type: text/x-chdr
Size: 676 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050508/22701645/attachment.h>

More information about the MPlayer-users mailing list