[libbluray-devel] Headers needed by bd_read_mpls() are not installed

Holy Wu holywu at gmail.com
Thu May 11 06:52:04 CEST 2017


2017-05-11 5:00 GMT+08:00 John Stebbins <stebbins at jetheaddev.com>:

>
> On 05/09/2017 10:29 AM, Holy Wu wrote:
>
>
> 2017-05-09 19:46 GMT+08:00 Petri Hintukainen <phintuka at users.sourceforge.
> net>:
>
>> Hello,
>>
>> la, 2017-05-06 kello 23:08 +0800, Holy Wu kirjoitti:
>> > In bluray.h, the mpls_pl struct only has declaration but no
>> > definition. Therefore the user can't do anything useful on the
>> > returned pointer of
>> ​​
>> bd_read_mpls(), because it's an incomplete type.
>>
>> Do you have a real use case for the data ?
>>
>
> The users of AviSynth​ or VapourSynth want to directly open a mpls file by
> a source filter, like ffms2, rather than manually open each of the m2ts
> files in the script. I need to know what and how many m2ts files the
> playlist contains, so I can let the source filter open the corresponding
> files automatically. And I find bd_read_mpls is quite suitable here.
>
>
> Hi,
>
> The specific information you are asking for is already exported in the
> public APIs.  bd_get_title_info will return BLURAY_TITLE_INFO that contains
> an array of BLURAY_CLIP_INFO.  The clip_id in BLURAY_CLIP_INFO identifies
> an m2ts file.
>
> If you are trying to read mpls files without using the higher level disc
> parsing provided by libbluray, that's a matter of project scope.  libbluray
> isn't really intended for that type of usage scenario.  But I'll leave it
> to Petri to decide if he wants to expand the scope of libbluray to cover
> such scenarios.
>
> --
> John      GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01  83F0 49F1 D7B2 60D4 D0F7
>
>
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel
>
>
​Hi,

​Thanks for your explanation. And yes, libbluray is designed to be used by
player application to load a BD disc. My use case is probably too specific.
Anyway, I already copy the missing header with some modification to my
program and it works as expected. So it's not a big problem here. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20170511/e21b4a37/attachment.html>


More information about the libbluray-devel mailing list