xy-VSFilter icon indicating copy to clipboard operation
xy-VSFilter copied to clipboard

Add support for WebVTT subtitles embedded in webm files

Open ale5000-git opened this issue 3 years ago • 7 comments

Sample file: https://gofile.io/d/2jbaFN This fork of LAVFilters support it: https://github.com/clsid2/LAVFilters

It is included in K-Lite Codec Pack 16.0.9.

Ref: https://github.com/pinterf/xy-VSFilter/issues/18

Could you please add support for WebVTT subtitles embedded in webm files?

ale5000-git avatar Mar 20 '21 09:03 ale5000-git

Well, O.K., I made it to recognize the WebVTT format but no formatting is supported. (and as I see neither does it MPC-HC with the above sample) It would be nice that as a minimum formatter tags must to be omitted. Leaving the bare text. Info for myself: https://w3c.github.io/webvtt/#webvtt-cue-class-span Writing a parser for that is not a two minutes task - at least not for me :)

pinterf avatar Mar 20 '21 21:03 pinterf

MPC-HC converts a few tags to SSA format, and strips a few unsupported ones.

For example see last few commits from today: https://github.com/clsid2/mpc-hc/commits/develop

clsid2 avatar Mar 20 '21 22:03 clsid2

Great, thank you clsid2, it's a hot topic, I'll then wait a bit.

pinterf avatar Mar 21 '21 06:03 pinterf

@pinterf: The latest MPC-HC plus this pull request already has a considerable support.

ale5000-git avatar Mar 27 '21 18:03 ale5000-git

Yep, the earlier changes were already integrated, still waiting a bit to settle down.

pinterf avatar Mar 27 '21 20:03 pinterf

Can this be considered done or there is something missing?

ale5000-git avatar Oct 01 '21 15:10 ale5000-git

I think it is considered done, except that I haven't checked since March whether it was developed further in MPC-HC.

pinterf avatar Oct 05 '21 06:10 pinterf