Extract subtitles in-time

This forum is about all development around libVLC.
Lulu.King
New Cone
New Cone
Posts: 2
Joined: 16 Apr 2011 18:04

Extract subtitles in-time

Postby Lulu.King » 11 May 2011 10:49

Hi

I'm working with libVLC in QT. Recently I'm trying to use subtitles as information carrier which is linked to the video time, e.g. for gps-coordinates. Unfortunately I don't know much about subtitels and how they are connected to a video file. Therefore I have this question:

Is it possible with libVLC to extract subtitels to a string? If that's the matter, how? I've found only the possibility to set the subtitles, but my aim is to get a string every time a sentence appears on the screen.

Thx for your help and thx for libVLC, until now everything worked great.

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

Re: Extract subtitles in-time

Postby Rémi Denis-Courmont » 11 May 2011 12:54

There is currently no way to get the subtitles out of the video pipeline (you can only show them on the video).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lulu.King
New Cone
New Cone
Posts: 2
Joined: 16 Apr 2011 18:04

Re: Extract subtitles in-time

Postby Lulu.King » 11 May 2011 14:23

Thx for the answer. Is there anything planned to implement this in the future?

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

Re: Extract subtitles in-time

Postby Rémi Denis-Courmont » 11 May 2011 16:15

I wouldn't know what other people plan to do and when.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sk2004
New Cone
New Cone
Posts: 1
Joined: 07 Jun 2017 13:06

Re: Extract subtitles in-time

Postby sk2004 » 07 Jun 2017 13:15

Is there currently a way to get subtitles out of the video?
I am trying to get it in macOS project

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Extract subtitles in-time

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:17

Is there currently a way to get subtitles out of the video?
I am trying to get it in macOS project
That's quite vague. If you mean the raw text, then no.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 22 guests