Page 1 of 1

how to get subtitle text by subtitle index

Posted: 22 Nov 2018 22:30
by Anton Ivanov
Hello.
We need subtitle text (just list of char*) to be export by objective c interface.
As I understand the subtitle text can be found in subpicture_t. But how can I find subpicture_t by subtitle index?

Re: how to get subtitle text by subtitle index

Posted: 23 Nov 2018 08:54
by unidan
Hi,

Maybe you need to write a spu filter module instead, and ask its initialization within the option of libvlc?

I don't think you can find a subpicture_t by subtitle index.