Page 5 of 5

Re: Time for Blu-Ray support guys...

Posted: 30 May 2011 13:23
by VLC_help
Could the BDMV/PLAYLIST/*.mpls help with this?
Yes. But playlist parser for those is missing.

Re: Time for Blu-Ray support guys...

Posted: 13 Jun 2011 12:45
by ectospasm
Yes. But playlist parser for those is missing.
The (Windows-only) tool BDInfo can read .mpls files, and it's open source (LGPL v2.1). Could we adapt their methods for reading .mpls to work with VLC?

Re: Time for Blu-Ray support guys...

Posted: 13 Jun 2011 13:08
by ectospasm
The (Windows-only) tool BDInfo can read .mpls files, and it's open source (LGPL v2.1). Could we adapt their methods for reading .mpls to work with VLC?
Looks like the code TSPlaylistFile.cs [edit] in BDInfo source[/edit] contains .mpls parsing code. I'll need to brush up on my C#, but it looks like it could be straightforward to implement this in VLC. Any pointers/templates I could use for doing that? Again, I'm not much of a programmer, but I've been fairly good at such translations in the past.

Re: Time for Blu-Ray support guys...

Posted: 13 Jun 2011 18:20
by VLC_help
Using C# in VLC is hard. C or C++ is better.

Re: Time for Blu-Ray support guys...

Posted: 14 Jun 2011 00:26
by ectospasm
Using C# in VLC is hard. C or C++ is better.
Right, I figured that. But I have zero experience with the VLC code, so I don't know where to begin. From my quick glance at the TSPlaylistFile.cs code, it looks fairly straightforward. But you're right, a direct copy won't work, and will be quite difficult to get C# working natively in VLC.

Re: Time for Blu-Ray support guys...

Posted: 14 Jun 2011 11:46
by Jean-Baptiste Kempf
Come on, there are already 2 plugins for BD decoding in VLC...

Re: Time for Blu-Ray support guys...

Posted: 14 Jun 2011 12:49
by ectospasm
Come on, there are already 2 plugins for BD decoding in VLC...
Well, the code I'm looking at is for parsing .mpls playlists, and I have at least one disc where this doesn't work in current versions of VLC. It's the only BD I've ripped which doesn't put its main feature in one massive .m2ts file, and VLC plays the disc in a strange order. VLC_help had suggested VLC doesn't have an .mpls parser yet, and I had just found an open source implementation (BDInfo) which seems to have one, among other things.

Re: Time for Blu-Ray support guys...

Posted: 11 Nov 2011 07:25
by klaus
Would it be possible to add support for reading PGS subtitles from external .SUP files?
Or, from external .MKS files?

(As of 1.2.0-pre1, neither .SUP nor .MKS seems to be recognized as subtitle file format)

Thanks

Re: Time for Blu-Ray support guys...

Posted: 11 Nov 2011 19:31
by VLC_help
I can add a ticket for that.

Re: Time for Blu-Ray support guys...

Posted: 11 Nov 2011 21:22
by klaus
Please!

Re: Time for Blu-Ray support guys...

Posted: 13 Nov 2011 15:02
by VLC_help
http://trac.videolan.org/vlc/ticket/5534 for external .sup file support.