I setup Bento and Python v27 and both are in the path, when I try to use mp4hls I get this error:

C:\>mp4hls
Traceback (most recent call last):
  File "C:\Bento\bin\..\utils\mp4-hls.py", line 22, in <module>
    from subtitles import SubtitlesFile
  File "C:\Bento\utils\subtitles.py", line 6, in <module>
    from mp4utils import LanguageCodeMap, LanguageNames, BooleanFromString
  File "C:\Bento\utils\mp4utils.py", line 51
SyntaxError: Non-ASCII character '\xd0' in file C:\Bento\utils\mp4utils.py on line 51, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I also tried mp4dash and also have an error related to audio:

Command (left off file list):
mp4dash --hls --no-split --use-segment-list

Error:
File "C:\Bento\bin\..\utils\mp4-dash.py", line 881
    audio_track.hls_group = f'audio/{index}' if len(ungrouped_audio_tracks) > 1 else 'audio'
                                           ^
SyntaxError: invalid syntax

Kirk
New Install of Bento has mp4hls and mp4dash errors
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : New Install of Bento has mp4hls and mp4dash errors
Issue date:

--- start body ---
I setup Bento and Python v27 and both are in the path, when I try to use mp4hls I get this error:

C:\>mp4hls
Traceback (most recent call last):
  File "C:\Bento\bin\..\utils\mp4-hls.py", line 22, in <module>
    from subtitles import SubtitlesFile
  File "C:\Bento\utils\subtitles.py", line 6, in <module>
    from mp4utils import LanguageCodeMap, LanguageNames, BooleanFromString
  File "C:\Bento\utils\mp4utils.py", line 51
SyntaxError: Non-ASCII character '\xd0' in file C:\Bento\utils\mp4utils.py on line 51, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I also tried mp4dash and also have an error related to audio:

Command (left off file list):
mp4dash --hls --no-split --use-segment-list

Error:
File "C:\Bento\bin\..\utils\mp4-dash.py", line 881
    audio_track.hls_group = f'audio/{index}' if len(ungrouped_audio_tracks) > 1 else 'audio'
                                           ^
SyntaxError: invalid syntax

Kirk
--- end body ---

The issue reported is related to syntax errors in the Python scripts of Bento4, specifically in the mp4-hls.py and mp4-dash.py files. These errors are due to the use of non-ASCII characters and f-string syntax, which is not supported in Python 2.7. This indicates a compatibility issue with the Python version being used, rather than a security vulnerability.