add support for vtt subtitles

View previous topic View next topic Go down

add support for vtt subtitles

Post by sasatefa2009 on Fri Jul 21, 2017 7:15 am

as the title says, i wish if you could add the ability to run vtt subtitles. it works with vlc but not with mega codec.
thanks.

sasatefa2009

Posts : 2
Join date : 2017-07-21

View user profile

Back to top Go down

Re: add support for vtt subtitles

Post by Admin on Fri Jul 21, 2017 1:17 pm

There are no plans for this. You can submit a feature request to MPC-HC. But developers are currently too busy with more important things.

You can however easily convert most .vtt files to .srt:
1) Open it with a text editor.
2) Remove the first line which says "WEBVTT". There may be some other optional header lines belong it. Remove those too.
3) Replace the dots in the timecodes by commas. Use search&replace functionality of your editor to do it quickly.
4) Rename file to .srt

This should work as long as the file doesn't use any of the advanced WebVTT features.

Admin
Admin

Posts : 3625
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: add support for vtt subtitles

Post by sasatefa2009 on Sat Jul 22, 2017 2:58 am

Well, it didn't work.
but another solution did, i loaded the vtt subtitle to this website
http://nikse.dk/SubtitleEdit/Online#
and then downloaded it back again as srt

another website which is very good
https://gotranscript.com/subtitle-converter


Thanks for your help. Smile

sasatefa2009

Posts : 2
Join date : 2017-07-21

View user profile

Back to top Go down

Re: add support for vtt subtitles

Post by Admin on Sat Jul 22, 2017 1:58 pm

Thanks for the links. Should be useful for others as well.

Admin
Admin

Posts : 3625
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum