python vlc.py 或 vlcwidget.py 无法打开 MRL

1 投票
1 回答
1156 浏览
提问于 2025-04-16 05:11

我遇到了以下错误。这个mpg文件和vlcwidget.py在同一个文件夹里。有没有人能帮我指出问题所在,或者分享一下他们的经验?

C:\workspace\python-HEAD\python>vlcwidget.py trn_anaglyph_adj.mpg
libdvdnav: Using dvdnav version 4.1.4
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't stat trn_anaglyph_adj.mpg
No such file or directory
libdvdread: Could not open trn_anaglyph_adj.mpg
libdvdnav: vm: failed to open/read the DVD
[01bbd45c] filesystem access error: cannot open file trn_anaglyph_adj.mpg (No su
ch file or directory)
[01bbd45c] main access error: File reading failed
[01bbd45c] main access error: VLC could not open the file "trn_anaglyph_adj.mpg"
.
[0095fd8c] main input error: open of `trn_anaglyph_adj.mpg' failed: (null)
[0095fd8c] main input error: Your input can't be opened
[0095fd8c] main input error: VLC is unable to open the MRL 'trn_anaglyph_adj.mpg
'. Check the log for details.

C:\workspace\python-HEAD\python>vlcwidget.py trn_anaglyph_adj.mpg

1 个回答

0

使用完整路径吗?(也许libvlc是从libvlc.dll所在的位置运行的,或者其他什么原因)...

撰写回答