"Subtitle filter" plugins

This forum is about all development around libVLC.
joeklow
New Cone
New Cone
Posts: 9
Joined: 10 Aug 2013 23:00

"Subtitle filter" plugins

Postby joeklow » 10 Aug 2013 23:08

Hi all.

What are the best possible approaches to be able to receive subtitle text input in plain text, without rewriting Freetype renderer's code - exactly, to avoid any modifications in main source tree?

// currently I look at Marquee's source code, but feel there's something incomplete with its SUBCAT_VIDEO_SUBPIC implementation.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: "Subtitle filter" plugins

Postby Rémi Denis-Courmont » 11 Aug 2013 09:13

sub filter plugins should be able to access the text before rendering.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

joeklow
New Cone
New Cone
Posts: 9
Joined: 10 Aug 2013 23:00

Re: "Subtitle filter" plugins

Postby joeklow » 14 Aug 2013 20:48

sub filter plugins should be able to access the text before rendering.
Nope..

subpic filters (as in SUBCAT_VIDEO_SUBPIC, "sub filter", pf_sub_filter) are seemingly receiving empty p_subpic->p_region value in pf_sub_filter call, so p_subpic->p_region->psz_text route is unavailable.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: "Subtitle filter" plugins

Postby Rémi Denis-Courmont » 15 Aug 2013 17:09

Then there are no existing ways.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests