Open FieryRMS opened 2 years ago
FWIW,
To run on macOS, the script above was modified with 2 snippets from example python-vlc/examples/tkvlc.py and to collect .mov
files.
Then, using Python
3.10.2 (64-bit with tkinter.TkVersion
8.6), vlc.py
3.0.12 and libVLC
3.0.16, it runs the collected videos. Also, pressing the left and right arrow keys does not crash the script and only shows the following message at every click ...
[000000011df0f5e0] videotoolbox decoder: Using Video Toolbox to decode 'h264'
[000000011df0f5e0] videotoolbox decoder: vt cvpx chroma: 420v
When I press Left or Right, I get errors. So, I am certain it is caused by the
nextFile()
function from my code. More specifically, it is caused whenever I try to callstop()
,set_media()
orplay()
of themedia_player
. Some of the most common error are listed below.If I switch media too quickly, it sometimes crashes. Sometimes when I play videos, the playback continually lags and the following error is logged every time it lags,
Here is a simplified version of the code,
the following is the output from
py vlc.py -v