Skip to content

Subtitles render under mpv window on macOS #42

@2V3EvG4LMJFdRe

Description

@2V3EvG4LMJFdRe

Trying to get this script to work. I'm on macOS and have manually installed these:

  • Xorg
  • composite manager; xcompmgr or sth.
  • python => 3.6
  • python-pyqt5 (with pip)
  • python-numpy (with pip)
  • python-beautifulsoup4 (with pip)
  • python-requests (with pip)
  • python-lxml (with pip)
  • python-httpx (with pip)
  • lua (with brew)
  • socat (with brew)
  • pkill (with brew)

The ones I haven't marked, I didn't know how to install. In any case, a console instance kept informing me on what package was missing when I ran the script, until there were no errors. However, when I start the script still I just get no input beyond the subtitles disappearing and the prompt stating its started.

I tried multiple videos, .srt files, downloaded a clean mpv build, tried the deprecated tk version, but it makes no difference. The only thing that changes is using "python3" has no errors on the console, while "python" complains about:

[interSubs] Starting interSubs ... 
AV: 00:57:39 / 01:49:43 (53%) A-V:  0.000 Dropped: 10
Saving state.
  File "/Users/redacted/.config/mpv/scripts/interSubs.py", line 84
SyntaxError: Non-ASCII character '\xc2' in file /Users/redacted/.config/mpv/scripts/interSubs.py on line 84, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions