Opened 7 years ago

Closed 3 years ago

Last modified 3 years ago

#9650 closed enhancement (invalid)

Add support for subtitles from TXT files

Reported by: Premislaus Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

On the internet there is a lot of subtitles in TXT files (plain text). MediaPlayer does not support them.

Attachments (1)

game.of.thrones-ice.and.fire.a.foreshadowing.hdtv.x264-killers.txt (12.7 KB ) - added by Premislaus 3 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by anevilyak, 7 years ago

Type: bugenhancement

comment:2 by pulkomandy, 5 years ago

How is this supposed to work? The subtitles can only work if there is some timing information built-in, otherwise the media player has no idea when to show each line.

SRT files are plain text with timing information. It seems hard to make it any simpler than that: http://www.matroska.org/technical/specs/subtitles/srt.html (this is what MediaPlayer parses)

Are your files in a different format? Can you provide a sample file for testing in that case?

comment:3 by Barrett, 3 years ago

Resolution: invalid
Status: newclosed

in reply to:  2 comment:4 by Premislaus, 3 years ago

Should be reopened.

Replying to pulkomandy:

How is this supposed to work? The subtitles can only work if there is some timing information built-in, otherwise the media player has no idea when to show each line.

SRT files are plain text with timing information. It seems hard to make it any simpler than that: http://www.matroska.org/technical/specs/subtitles/srt.html (this is what MediaPlayer parses)

Are your files in a different format? Can you provide a sample file for testing in that case?

I attached example file.

Note: See TracTickets for help on using tickets.