Extract subtitles as string

This forum is about all development around libVLC.
jmstack
New Cone
New Cone
Posts: 1
Joined: 03 Mar 2023 12:50

Extract subtitles as string

Postby jmstack » 04 Mar 2023 11:32

My DJI drone produces .mp4 video with embedded subtitles. (not hardcoded)
The subtitles contain (among other data) GPS coordinates.
I would like to extract the coordinates and forward them to Google maps or similar application.
So, I started coding in VB6 (yes I know..) with the VLC ActiveX component.
It works now (kind of...)
I can open and play the file in my little VB6 program.
The subtitles are visible on screen, but I would like to access the current subtitle as a string.
Any hints on if this is at all possible..?
Tia /Johan S

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

Re: Extract subtitles as string

Postby Rémi Denis-Courmont » 05 Mar 2023 22:11

That would require a subtitle filter plugin. You can't do that with the legacy ActiveX component.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Extract subtitles as string

Postby mfkl » 13 Mar 2023 10:57

This is not currently possible without custom development.
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests