News for hackers. Stuff that matters.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by kutkloon7 on Wednesday May 24, 2017 @08:01AM (#14409337)
The thing that most amazes my about Popcorn Time is how they find the subtitles. It seems to succeed even when I can't find subtitles myself.

More related to the article, you would think that subtitles are literally the easiest file format in existence to safely handle. It's incredibly well-defined in terms of textual data and times.

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by FranOntanaya on Wednesday May 24, 2017 @08:33AM (#14409514)
> literally the easiest file format in existence to safely handle.

Well, which one of them. There's nearly a hundred different subtitle formats, and each one has a whole set of variants. Just Timed Text alone (XML) can have more layouts than one could count, specially since it's meant to be able to replicate technically all previous industry formats.

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by kutkloon7 on Monday May 29, 2017 @02:38AM (#14437742)
Let me phrase it this way: one would expect that the class of file formats for subtitles are easiest to handle (as opposed to say, the class of file formats for images or videos).

On the other hand, images and videos are likely to be handled using some library, which might be better at safely handling the files.

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by amptorn on Wednesday May 24, 2017 @04:34PM (#14413228)
> it's meant to be able to replicate technically all previous industry formats

Even the DVD subtitle format, which is just a mostly transparent image overlaid on the picture? In XML?

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by FranOntanaya on Friday May 26, 2017 @06:49AM (#14423137)
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by etix on Wednesday May 24, 2017 @08:18AM (#14409422)
They use a hash function to match subtitles.

http://trac.opensubtitles.org/projects/opensubtitles/wiki/Ha...

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by tydok on Wednesday May 24, 2017 @08:30AM (#14409498)
The problem isn't only about matching subtitles to movies but also where to look for subtitles, e.g. opensubtitles.org, subscene.com, etc.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by heinrichf on Wednesday May 24, 2017 @11:43AM (#14410849)
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by tydok on Wednesday May 24, 2017 @12:06PM (#14411049)
Very interesting. It contains a few subtitle providers I've never heard before. Thanks for posting it.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by bingojess on Wednesday May 24, 2017 @09:23AM (#14409790)
I believe it just scrapes them all. I can't remember the last time opensubtitles didn't have a sub I was looking for
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by tydok on Wednesday May 24, 2017 @09:36AM (#14409877)
Perhaps the most difficult problem is to find a subtitle in multiple languages.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by bingojess on Wednesday May 24, 2017 @10:34AM (#14410284)
True I have only needed English subs
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by stordoff on Wednesday May 24, 2017 @03:16PM (#14412686)
> More related to the article, you would think that subtitles are literally the easiest file format in existence to safely handle. It's incredibly well-defined in terms of textual data and times.

Depends on the format. SSA for instance can have embedded font and image files, which presumably have much more complex decoders.

Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U... by phkahler on Wednesday May 24, 2017 @10:03AM (#14410062)
It seems subtitles aren't important enough to have reduced the number of formats. From reading the comments, it seems like the world would benefit from a single format with most capabilities and have everyone convert all files to that. Until then, we need players that understand everything.