Page 1 of 1

Extract subtitles as string

Posted: 04 Mar 2023 11:32
by jmstack
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

Re: Extract subtitles as string

Posted: 05 Mar 2023 22:11
by RĂ©mi Denis-Courmont
That would require a subtitle filter plugin. You can't do that with the legacy ActiveX component.

Re: Extract subtitles as string

Posted: 13 Mar 2023 10:57
by mfkl
This is not currently possible without custom development.