Opened 6 years ago

Closed 3 years ago

Last modified 2 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 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by anevilyak

Type: bugenhancement

comment:2 Changed 5 years ago by 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?

comment:3 Changed 3 years ago by Barrett

Resolution: invalid
Status: newclosed

comment:4 in reply to:  2 Changed 2 years ago by Premislaus

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.