2024-05-19 07:05:03 发布
网友
我已经从这个link安装了python3.7和Vapoursynth库。
现在我试图打开一个.mp4视频,但有一个属性错误:
.mp4
AttributeError: No attribute with the name lsmas exists. Did you mistype a plugin namespace?
我怎么解决这个问题?
VapourSynth只提供一组核心过滤器,主要位于名称空间“core”、“resize”和“text”中。其他过滤器可以从其他站点下载,主要是从Doom9或MyrsloiksVSRepo。这些过滤器提供Python模块或由VapourSynth插件提供的名称空间可访问的附加过滤器。在
为了直接回答您的问题:“lsma”是由this插件提供的。这是作者提供的官方dropbox下载链接(见他的doom9发布文章)。在
下载插件并将其放在<vapoursynth-install-path>/plugins32或{}中,这取决于您安装的Python是32位还是64位。Refer to this page for more information.
<vapoursynth-install-path>/plugins32
我希望这有帮助。在
截至2019年3月,最新编译的用于VapourSynth for Windows的FFMS2和L-SMASH源代码插件,由Wolfberry提供,您可以从https://forum.doom9.org/showthread.php?t=176198下载
把那些打开放在ffmsindex.exe,ffms2.dll和vslsmashsource.dll进入C:\Program Files(x86)\VapourSynth\plugins64目录。然后,您可以在Vapoursynth脚本中使用这些行来加载视频
from vapoursynth import core clip = core.ffms2.Source(videofile) #for mkv extensions clip = core.lsmas.LibavSMASHSource(videofile) # for mp4, mov extensions clip = core.lsmas.LWLibavSource(videofile) #for ts, m2ts, mts
VapourSynth只提供一组核心过滤器,主要位于名称空间“core”、“resize”和“text”中。其他过滤器可以从其他站点下载,主要是从Doom9或MyrsloiksVSRepo。这些过滤器提供Python模块或由VapourSynth插件提供的名称空间可访问的附加过滤器。在
为了直接回答您的问题:“lsma”是由this插件提供的。这是作者提供的官方dropbox下载链接(见他的doom9发布文章)。在
下载插件并将其放在}中,这取决于您安装的Python是32位还是64位。Refer to this page for more information.
<vapoursynth-install-path>/plugins32
或{我希望这有帮助。在
截至2019年3月,最新编译的用于VapourSynth for Windows的FFMS2和L-SMASH源代码插件,由Wolfberry提供,您可以从https://forum.doom9.org/showthread.php?t=176198下载
把那些打开放在ffmsindex.exe,ffms2.dll和vslsmashsource.dll进入C:\Program Files(x86)\VapourSynth\plugins64目录。然后,您可以在Vapoursynth脚本中使用这些行来加载视频
相关问题 更多 >
编程相关推荐