Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
18th June 2015, 17:06 | #1581 | Link | ||
Registered User
Join Date: Jun 2009
Posts: 172
|
Quote:
Do you know why ? Quote:
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
||
18th June 2015, 17:32 | #1582 | Link | |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
|
Quote:
Code:
└───╼ python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" /usr/lib/python3.4/site-packages └───╼ ls $(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")/fine* -rw-r--r-- 1 root root 6927 jun 16 19:30 /usr/lib/python3.4/site-packages/finesharp.py Code:
import vapoursynth as vs core = vs.get_core() import finesharp clip = core.std.BlankClip(format=vs.YUV420P8) clip = finesharp.sharpen(clip) clip.set_output() Code:
└───╼ vspipe prueba.vpy -y --info - Width: 640 Height: 480 Frames: 240 FPS: 24/1 (24.000 fps) Format Name: YUV444P8 Color Family: YUV Bits: 8 SubSampling W: 0 SubSampling H: 0 Last edited by sl1pkn07; 19th June 2015 at 05:46. |
|
18th June 2015, 21:30 | #1583 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
Code:
python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" /usr/lib/python3/dist-packages Code:
ls $(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")/fine* /usr/lib/python3/dist-packages/finesharp.py Code:
mpv --vf-add=vapoursynth=/media/Data/vapoursynth.py "big buck bunny 480p h264.mkv" Playing: big buck bunny 480p h264.mkv (+) Video --vid=1 (h264) Opening video filter: [vapoursynth file=/media/Data/vapoursynth.py] Instruction non permise
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
19th June 2015, 00:13 | #1585 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
MPV and Vapoursynth work perfectly if I use these config files after the installation of MPV and Vapoursynth from the ppa :
Code:
$ mkdir -p "${HOME}/.config/vapoursynth" $ tee "${HOME}/.config/vapoursynth/vapoursynth.conf" << 'EOF' UserPluginDir=/Path/To/filters/ EOF - add to ~/.profile export PYTHONPATH=$PYTHONPATH:/Path/To/filters/ Code:
import vapoursynth as vs core = vs.get_core() import finesharp clip = core.std.BlankClip() clip = core.fmtc.matrix(clip, mat="709", col_fam=vs.YUV) clip = finesharp.sharpen(clip) clip.set_output() They manage to do it on Arch so it can be possible on Ubuntu.
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com Last edited by jeremy33; 19th June 2015 at 00:18. |
19th June 2015, 05:51 | #1586 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
|
works for me (edited my last post)
input.vpy Code:
import vapoursynth as vs core = vs.get_core() clip = core.std.BlankClip(format=vs.YUV420P8) clip.set_output() Code:
import vapoursynth as vs import finesharp core = vs.get_core() clip = video_in clip = finesharp.sharpen(clip) clip.set_output() |
19th June 2015, 10:59 | #1587 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
Here is how to check: Code:
gdb --args mpv etc run [prints "Instruction non permise"] set disassembly-flavor intel disassemble [hit enter until you see "=>" on the left next to the illegal instruction]
__________________
Buy me a "coffee" and/or hire me to write code! |
|
19th June 2015, 11:29 | #1588 | Link | |
Registered User
Join Date: Jun 2009
Posts: 172
|
Ok, little mistake so I tried that and that works ! Thank you.
Code:
import vapoursynth as vs import finesharp core = vs.get_core() clip = video_in clip = finesharp.sharpen(clip) clip.set_output() Quote:
Code:
Program received signal SIGILL, Illegal instruction. 0x00007fffaeb57750 in vsutl::compute_fmt_mac_cst(double&, double&, VSFormat const&, bool, VSFormat const&, bool, int) () from /usr/lib/x86_64-linux-gnu/vapoursynth/libfmtconv.so
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com Last edited by jeremy33; 19th June 2015 at 11:35. |
|
19th June 2015, 12:53 | #1590 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
That don't seem to be the case. I search on my entire drive and I only found one copy of fmtconv.
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
20th June 2015, 21:58 | #1591 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
That works !
djcj now use the original Makefiles from "https://github.com/EleonoreMizo/fmtc...ter/build/unix" to build fmtconv on the PPA. Thank you very much
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
24th June 2015, 13:04 | #1594 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
now it's freaking me out...
I removed my modified RGVS.dll and FLT.dll from plugin folder, and it just works, like suddenly, I mean, I didn't even call things from RGVS.dll or FLT.dll in the python script, that doesn't make any sense at all, how's that even possible? and even if I just call things from RGVS.dll/FLT.dll, preview in vseditor works perfectly without any problem, why? anyways, script Code:
import vapoursynth as vs core = vs.get_core() def nlmcleansef (src, local=2.4, nlocal=0.8): core = vs.get_core () lflt = core.knlm.KNLMeansCL (src, d=0, a=24, s=1, h=local).knlm.KNLMeansCL (d=0, a=24, s=0, h=local) ldif = core.std.MakeDiff (src, lflt).knlm.KNLMeansCL (d=0, a=2, s=4, h=local) clip = core.std.MergeDiff (lflt, ldif).knlm.KNLMeansCL (d=0, a=24, s=4, h=nlocal) return clip clp = core.raws.Source("Y.rgb", 736, 480, src_fmt="GRAYS") clp = nlmcleansef (clp) clp.set_output () |
24th June 2015, 13:51 | #1595 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
__________________
Buy me a "coffee" and/or hire me to write code! |
|
25th June 2015, 07:58 | #1597 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
after failed to trace any error down in the code
I tried to compile the original removegrain code from the vaporsynth master branch and the same vspipe crash showed it fucking unwanted self again.. so the error actually comes from wrong compiling settings, what kind of special compiling parameter I gotta add to keep it from crashing? |
25th June 2015, 17:49 | #1598 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
@Myrsloik
to find out what went wrong in float nnedi3 exactly, I decide to do something similar but somehow easier, adding 16bits support to eedi3 lucky me, I got the same problem here just like nnedi3 here are the differences between the original version and the incorrect 16bits version https://github.com/IFeelBloated/eedi...f729b7358694fa some guide about what I did wrong, plz? it might help me figure out what's the float nnedi3 problem and we'll have a high bitdepth eedi3 also |
25th June 2015, 18:16 | #1599 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,588
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|