Try to encode a dash+hls stream with this command:

mp4dash --verbose --profiles=on-demand --hls --subtitles -o ElephantsDream ed_hd_640x360_fragments.mp4 ed_hd_480x270_fragments.mp4 ed_hd_320x180_fragments.mp4 ed_hd_english_fragments.mp4 ed_hd_french_fragments.mp4 [+format=webvtt,+language=eng]elephants-dream-subtitles-en.vtt [+format=webvtt,+language=deu]elephants-dream-subtitles-de.vtt

Directory tree is built with  fmp4 and subtitles subdirectory.
When I try DASH, subtitles are shown but not displayed
When I try HLS, subtitles are not shown, which is "normal" as no subtitles are "encoded" in master playlist

Moreover, an error is shown: local variable referenced before assignment

I don't know what I did wrong as I follow the specs. Are WebVTT subtitles supported in BENTO4 ?

Bento4 is awesome, keep up the good work ;-)
WEBVTT not working in DASH and not present in master HLS
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : WEBVTT not working in DASH and not present in master HLS
Issue date:

--- start body ---
Try to encode a dash+hls stream with this command:

mp4dash --verbose --profiles=on-demand --hls --subtitles -o ElephantsDream ed_hd_640x360_fragments.mp4 ed_hd_480x270_fragments.mp4 ed_hd_320x180_fragments.mp4 ed_hd_english_fragments.mp4 ed_hd_french_fragments.mp4 [+format=webvtt,+language=eng]elephants-dream-subtitles-en.vtt [+format=webvtt,+language=deu]elephants-dream-subtitles-de.vtt

Directory tree is built with  fmp4 and subtitles subdirectory.
When I try DASH, subtitles are shown but not displayed
When I try HLS, subtitles are not shown, which is "normal" as no subtitles are "encoded" in master playlist

Moreover, an error is shown: local variable referenced before assignment

I don't know what I did wrong as I follow the specs. Are WebVTT subtitles supported in BENTO4 ?

Bento4 is awesome, keep up the good work ;-)
--- end body ---
