Closed nilmic closed 2 years ago
Thanks for reporting this. The issue should be fixed with the latest commit, which fixes #667 (same issue)
Hi!
I am using the Bento4 binaries for windows downloaded from your website:
https://www.bento4.com/downloads/
I am using the command:
mp4dash --hls "input_video_360p.mp4" "input_video_480p.mp4" [+format=webvtt,+language=en,+language_name=English]subtitle_track_en.vtt [+format=webvtt,+language=es,+language_name=Spanish]subtitle_track_es.vtt -o "output_videos/my_output"
And it returns the error:
ERROR: cannot access local variable 'language_name' where it is not associated with a value
and I am still running into the issue where subtitles are not added to HLS playlists. Do you know if this is an issue with the official binaries not being up-to-date, or do we need to reopen this issue?
I run this on version 1.6.0-639 on M2 chip and got ERROR: local variable 'language_name' referenced before assignment
Got some errors when running mp4dash and the Subtitles (WebVTT) are missing in the master HLS playlist.
How to reproduce:
Bento4-SDK-1-6-0-639.x86_64-unknown-linux/bin/mp4dash --profiles=live --hls --output-dir=/tmp/mp4dash-errors /tmp/F0110641_806kbps.fmp4 /tmp/F0110641_320kbps.fmp4 /tmp/F0110641_1312kbps.fmp4 /tmp/F0110641_2069kbps.fmp4 /tmp/F0110641_3100kbps.fmp4 [+format=webvtt,+language=swe,+language_name=Svenska]/var/packager-testfiles/F0110641/219714-13.vtt
Errors:
Suggested changes as a patch :