mpv.net
mpv.net copied to clipboard
VapourSynth causes mpv.net to crash
Using any .vpy extensions on .conf causes mpv.net to crash. Followed the wiki guide to a T (vf-append=vapoursynth="C:\StaxRip\mpv.vpy":buffered-frames=4:concurrent-frames=32). It was working a couple of days ago, then it stopped working on v6.0.3.2-beta and now it kept not working on the latest version. Please help.
Additional context Add any other context about the problem here.
- version v6.0.4.0
- Windows 10
- GTX 1080ti
- MP4 and MKV
@stax76 By the way, I hope you have been feeling better! Love your work!
Note that libmpv in v6.0.3.2-beta uses vapoursynth R60, is this due to a change on the vapoursynth side? see vapoursynth R60 release note: https://github.com/vapoursynth/vapoursynth/releases/tag/R60
more: https://github.com/shinchiro/mpv-winbuild-cmake/commits/master/packages/vapoursynth.cmake
Sometimes a native (C/C++) library hosted by .NET can crash .NET due to memory corruption in the native library. I had this a few times, developing StaxRip which hosts many native libraries (avs and vs plugins) and was always able to solve it together with the author of the native library. I can try to reproduce it and report it to the author of the native library.
By the way, I hope you have been feeling better! Love your work!
Thanks, I'm mostly fine, I get problems when I have to work on something difficult like developing something with WPF, this library is very powerful but known to be difficult to work with. So I work first on the easy tasks and postpone the difficult ones.
To solve this problem, I think it would be better to provide .vpy sample and your mpv logs. You can try the following steps to find out the source of the problem:
- try to use the old
libmpv.dll+ mpv.net v6.0.3.2-beta, the old libmpv.dll can be get from https://github.com/mpvnet-player/mpv.net/releases/tag/v6.0.3.1. - if the first step does not crash, the problem is from vapoursynth R60. if it crashes, the problem is from mpv.net
I tried with the latest StaxRip release which has VapourSynth R63, libmpv zhongfly 2023-11-03, mpv.net v7, no problems.
If there is no error message on the terminal, you can take a look in the Windows event viewer, as this often tells which module crashed.
https://www.google.com/search?q=windows+event+log