{"action":"opened","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2057","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2057/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2057/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2057/events","html_url":"https://github.com/mpv-player/mpv/issues/2057","id":89259748,"number":2057,"title":"Vapoursynth + MPV need some help with a custom script","user":{"login":"lubuntulux","id":12917435,"avatar_url":"https://avatars.githubusercontent.com/u/12917435?v=3","gravatar_id":"","url":"https://api.github.com/users/lubuntulux","html_url":"https://github.com/lubuntulux","followers_url":"https://api.github.com/users/lubuntulux/followers","following_url":"https://api.github.com/users/lubuntulux/following{/other_user}","gists_url":"https://api.github.com/users/lubuntulux/gists{/gist_id}","starred_url":"https://api.github.com/users/lubuntulux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lubuntulux/subscriptions","organizations_url":"https://api.github.com/users/lubuntulux/orgs","repos_url":"https://api.github.com/users/lubuntulux/repos","events_url":"https://api.github.com/users/lubuntulux/events{/privacy}","received_events_url":"https://api.github.com/users/lubuntulux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T10:51:13Z","updated_at":"2015-06-18T10:51:13Z","closed_at":null,"body":"It is my goal to achieve 60FPS motion interpolation, such as produced by SVP.\r\n\r\nI have downloaded Vapoursynth and the vapoursynth enabled mpv version from this repository:\r\nhttps://launchpad.net/~djcj/+archive/ubuntu/vapoursynth\r\n\r\nI have also downloaded a custom script, namely 60fps.py which enables the interpolation process in conjunction with vapouersynth:\r\nhttps://gist.github.com/ghedo/fe0d232bda81f15e838b\r\n\r\nimport vapoursynth as vs\r\ncore = vs.get_core()\r\n \r\nsrc_fps = 24\r\ndst_fps = 60\r\n \r\nclip  = core.std.AssumeFPS(video_in, fpsnum=src_fps)\r\nsuper = core.mv.Super(clip, pel=2)\r\nbv    = core.mv.Analyse(super, isb=True, overlap=0)\r\nfv    = core.mv.Analyse(super, isb=False, overlap=0)\r\n\r\n# FlowFPS() is too slow to be run in real-time\r\n#clip  = core.mv.FlowFPS(clip, super, bv, fv, dst_fps)\r\nclip  = core.mv.BlockFPS(clip, super, bv, fv, dst_fps)\r\n \r\nclip.set_output()\r\n\r\nI have tried to use it with mpv --vf=vapoursynth=/home/60fps.py  /file.mkv and encountered the following errors: \r\n\r\njackson@jackson:~$ mpv --vf=vapoursynth=/home/jackson/Downloads/60fps.py --hwdec=no /media/jackson/b7d573e4-b6f9-42a9-bf71-1c9935c57738/file.mkv\r\nPlaying: /media/jackson/b7d573e4-b6f9-42a9-bf71-1c9935c57738/file.mkv\r\n (+) Video --vid=1 (h264)\r\n (+) Audio --aid=1 --alang=ger (*) (ac3)\r\n     Audio --aid=2 --alang=eng (dts)\r\n (+) Subs  --sid=1 --slang=ger (*) (sub)\r\nOpening video filter: [vapoursynth file=/home/jackson/Downloads/60fps.py]\r\nAO: [pulse] 48000Hz 5.1(side) 6ch float\r\n[vapoursynth] Script evaluation failed:\r\n[vapoursynth] Python exception: No attribute with the name mv exists. Did you mistype a plugin namespace?\r\n[vapoursynth] Traceback (most recent call last):\r\n[vapoursynth]   File \"vapoursynth.pyx\", line 1469, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:23703)\r\n[vapoursynth]   File \"/home/jackson/Downloads/60fps.py\", line 10, in <module>\r\n[vapoursynth]     super = core.mv.Super(clip, pel=2)\r\n[vapoursynth]   File \"vapoursynth.pyx\", line 1090, in vapoursynth.Core.__getattr__ (src/cython/vapoursynth.c:18137)\r\n[vapoursynth] AttributeError: No attribute with the name mv exists. Did you mistype a plugin namespace?\r\n[vapoursynth] \r\nVideo filter chain:\r\n  [vd] 1920x800 yuv420p auto/auto CL=mpeg2/4/h264\r\n  [in] 1920x800 yuv420p bt.709/limited CL=mpeg2/4/h264\r\n  [vapoursynth] 1920x800 yuv420p bt.709/limited CL=mpeg2/4/h264   <---\r\n  [out] ???\r\nCannot initialize video filters.\r\nCould not initialize video chain.\r\nVideo: no video\r\nA: 00:00:03 / 01:41:35 (0%)\r\n\r\nWhile it was running, only Audio worked, while there was no image.\r\n\r\nPlease help me set this up correctly, as I do not fully understand all the errors displayed.\r\n\r\n"}}