oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
388 stars 111 forks source link

Getting subtitle text as string #216

Closed emperor-limitless closed 2 years ago

emperor-limitless commented 2 years ago

Hi Is there a way to get the current being processed subtitle text? Like for example if I check at the same moment some subtitle text is being rendered, I get it as a string python object.

oaubert commented 2 years ago

This is not possible through the libvlc API.

fastrick commented 1 year ago

You can get the current timestamp, then match it in the subtitle file.