how to get subtitle text by subtitle index

This forum is about all development around libVLC.
Anton Ivanov
New Cone
New Cone
Posts: 1
Joined: 22 Nov 2018 22:26

how to get subtitle text by subtitle index

Postby Anton Ivanov » 22 Nov 2018 22:30

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?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: how to get subtitle text by subtitle index

Postby unidan » 23 Nov 2018 08:54

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 31 guests