User User name Password  
   
Saturday 2.8.2025 / 09:40
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video playback problems > subtitles include html code
Show topics
 
Forums
Forums
Subtitles include HTML code
  Jump to:
 
Posted Message
lukemack
Newbie
_
7. June 2007 @ 05:39 _ Link to this message    Send private message to this user   
Hi,

I have an AVI file with an srt file named identically. I can view the subtitles in windows media player(11) but the html code in the srt file is displayed along with the content e.g.

<font color="#ffffff"><i>The Civil War is over.</i></font>

'The Civil war is over' should display but everything, including the html tags is displayed. I can't see an option to fix this anywhere. I had to install VobSub to get the subtitles to appear at all and they still don't appear in DivX player (v6) (the video file is a DivX encoded AVI and i'm playing it on windows xp).

Anyone got any idea how to resolve this, without editing the file and manually removing the html tags? Is it normal for SRT files to contain html?

thanks,

lukemack.
Advertisement
_
__
AfterDawn Addict
_
7. June 2007 @ 10:54 _ Link to this message    Send private message to this user   
Realtext.rt and SAMI.smi are the only one I have heard of.

May have some luck converting with Subtitle -Workshop.

http://www.softpedia.com/get/Multimedia/...-Workshop.shtml
celtic_d
AfterDawn Addict
_
7. June 2007 @ 14:02 _ Link to this message    Send private message to this user   
You could use php's strip_tags function to strip all the tags. DVobSub from what I can remember is fine at least with the itallics though. Can't remember if it ignores or uses them though.

This message has been edited since posting. Last time this message was edited on 7. June 2007 @ 14:03

lukemack
Newbie
_
8. June 2007 @ 00:47 _ Link to this message    Send private message to this user   
thanks. is it normal for the .srt file to contain html tags?
Advertisement
_
__
 
_
celtic_d
AfterDawn Addict
_
8. June 2007 @ 16:47 _ Link to this message    Send private message to this user   
Itallics it is. Setting the colour to white for every line is just a waste anyway and SubRip doesn't do it (colours) I don't think and srt is SubRip's format. Not sure if there are any formal specs or not though.
afterdawn.com > forums > digital video > video playback problems > subtitles include html code
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork