mp4ff icon indicating copy to clipboard operation
mp4ff copied to clipboard

Example: muxing subtitles

Open cedricve opened this issue 7 months ago • 1 comments

Hello @tobbee, here again. I was wondering for an example how to mux in a Vttcbox (https://github.com/Eyevinn/mp4ff/blob/master/mp4/wvtt.go#L158). Where it looks clean to have a single multi track mp4 including audio, video and subtitles out of the box. What are your thoughts on this? Many thanks!

cedricve avatar Jun 04 '25 18:06 cedricve

A wvtt track is just like an audio and video track but the samples are boxes like vtte (empty/no text) and vttc (text). I generate such tracks in livesim2, so you can have a look at https://github.com/Dash-Industry-Forum/livesim2/blob/main/cmd/livesim2/app/timesubs_wvtt.go for inspiration.

tobbee avatar Jun 05 '25 08:06 tobbee

@cedricve I don't have much to add here, so I plan to close this issue. I hope you get on with generating your wvtt track.

tobbee avatar Jun 26 '25 06:06 tobbee