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. |
13th June 2015, 11:24 | #1563 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
You're right, and it only seems to happen with gray16 input. That's very odd...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
13th June 2015, 18:31 | #1564 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Here's just a R28 work in progress version for you to try.
Changes: Code:
fixed an image corruption bug with 9-16 bit input to rgvs when the c++ code is used fixed division by zero issues in muldivrational in vshelper.h blankclip can now create 0 (unknown/variable) fps clips added float support to planedifference and planeaverage added half support to addborders relevant compile time options are now in the version string
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
16th June 2015, 11:33 | #1566 | Link | |
Registered User
Join Date: Jun 2009
Posts: 172
|
Is somebody have an idea ?
Quote:
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
|
16th June 2015, 15:51 | #1568 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
We simply try to install vapoursynth and some python scripts, like finesharp, on Ubuntu with this PPA and we want to make these scripts (eg. finesharp) works "out of the box".
At the moment Vapoursynth doesn't find the scripts and we need to make some config files after the install to make them work. This is what I need to use after the install : 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/
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com Last edited by jeremy33; 16th June 2015 at 15:53. |
16th June 2015, 18:35 | #1569 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
install in the python3 sites-package
python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" for get the path example for Arch https://aur4.archlinux.org/cgit/aur....-finesharp-git |
16th June 2015, 20:07 | #1570 | Link |
Registered User
Join Date: Jun 2009
Posts: 172
|
Thank you I will try
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com |
16th June 2015, 22:30 | #1571 | Link |
Registered User
Join Date: Jul 2013
Posts: 60
|
I have a long vapoursynth script working on many videos resulting in a clip "sum" with RGB48 colorspace.
I want to output yuv 10bit to ffmpeg to encode as x265 mp4. previously, I converted my RGB48 clip to YUV16 like that: Code:
c=core.fmtc.matrix (clip=sum, mat="601", col_fam=vs.YUV, bits=16) c=core.fmtc.resample (clip=c, css="420") c.set_output() core.resize.Bicubic(clip=sum, format=vs.YUV420P10) # vs.YUV420P16 but this does not seem to work: both P10 and P16 give this error: Code:
$ "/cygdrive/c/Program Files (x86)/VapourSynth/core64/vspipe.exe" -y "join_prepared.vpy" - YUV4MPEG2 C420 W3840 H2160 F0:0 Ip A0:0 [swscaler @ 00000015D3790020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D3790020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D379A020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D379A020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D379A020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D379A020] gbrp16le is not supported as output pixel format [swscaler @ 00000015D379A020] gbrp16le is not supported as output pixel format [swscaler @ 00000015CDE28020] gbrp16le is not supported as output pixel format Error: Failed to retrieve frame 1 with error: Resize: context creation failed Output 0 frames in 492.19 seconds (0.00 fps) |
16th June 2015, 22:42 | #1572 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
You can download fmtc here:
http://forum.doom9.org/showthread.php?t=166504 Last edited by sneaker_ger; 16th June 2015 at 22:45. |
17th June 2015, 09:53 | #1573 | Link |
Registered User
Join Date: Jul 2013
Posts: 60
|
thanks sneaker_ger!
now my next problem is: I have a ton of 16bit color-depth tif files, which all work fine to import into vapoursynth using the imwri.Read plugin, and turning up as clips in RGB48 format, just as I want them to. But I have this one tif file, which looks just the same as all the others with all the tools I could think of like picture viewers, MediaInfo.exe and GIMP. But imported into Vapoursynth it results in a clip with the Format: Gray16 What could cause that? Or do I need to ask this question over there? http://forum.doom9.org/showthread.php?t=170981 UPDATE: strike that. I did not read MediaInfo.exe output exactly enough. color space of my problematic tif is "Y" instead of "RGB" as all the others. though I have no idea why it is a different color space, all have been created the same way by loading a JPG into imagemagick manipulating it a bit and exporting to a 16 bit tif file. UPDATE2: okey, so it seems ImageMagick has decided based on the image content that RGB is not needed, and gray is enough. The image looked to me to have not only gray but also a little yellowish and redish taint, but maybe thats just my screen So I found I need to force ImageMagick to output an RGB color space TIF by using the option "-type truecolor" Last edited by kaefert; 17th June 2015 at 10:14. |
17th June 2015, 09:55 | #1574 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
17th June 2015, 10:27 | #1575 | Link |
Registered User
Join Date: Jul 2013
Posts: 60
|
sorry Myrsloik for causing this confusion. I've updated my previous post to reflect what I've found: I needed to force ImageMagick to write my tif with RGB color space using -type truecolor since apperantly this one picture only had gray pixels (althought to my eyes through my screen it looked like having a yellow and/or redish taint)
|
18th June 2015, 02:10 | #1576 | Link | |
Registered User
Join Date: Jun 2009
Posts: 172
|
Quote:
__________________
How to setup MPC-HC with ffdshow, avisynth, reclock and more - Ezoden.com Last edited by jeremy33; 18th June 2015 at 02:12. |
|
18th June 2015, 07:22 | #1578 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
Note that .pth files actually add their contained folders to the runtime path, not just the import path, if that affects anything you do. |
|
18th June 2015, 08:15 | #1579 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
@Myrsloik
will you add float point support to core functions and rgvs in the next release? if so, that means I get to process my vids again pretty soon, and I will decide to make peace with 16bits mvtools if not, that means I still got a lot of time to mess with filters, then I will stick to mvtools modification |
18th June 2015, 11:07 | #1580 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
I won't have time to change that much before the next release. So no.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Tags |
speed, vaporware, vapoursynth |
|
|