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. |
9th November 2017, 09:32 | #2822 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Create a rgb24 blankclip and then convert it if you really need it
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 19th November 2017 at 19:47. |
9th November 2017, 16:59 | #2823 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
Code:
core.std.BlankClip(compat_clip,length=padding, format=vs.RGB24) |
|
9th November 2017, 17:05 | #2824 | 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 |
|
10th November 2017, 16:23 | #2825 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
How to properly do a thing like Greyscale() in Vapoursynth? I've got a movie which is supposedly black and white, but according to the x265 logs, there is data in the chroma channels.
core.std.ShufflePlanes(clips=inclip, planes=0, colorfamily=vs.GRAY) does create a greyscale clip but in Gray8 format. If I use core.resize.Bicubic(clp, format=vs.YUV420P16) after it to make the video something to feed to x265, the chroma channels have garbage (green) in them.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
10th November 2017, 16:41 | #2826 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
Usually the "black and white" is a transfer from film or photo material. It is not going to be greyscale in the computer (or YUV) sense of the word.
If you strip the chroma, you will loose that "color" tone of the source, and it is likely not-so-insignificant alteration. So I would not do this, unless you are dealing with actual digital cap of a greyscale computer image and you know that for sure. Basically, think of "sepia" photos. You also ruin those by insisting on saving them in "BW/greyscale" format. |
10th November 2017, 16:42 | #2827 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
It also fixes the blankclip bug reported by lansing
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
10th November 2017, 16:45 | #2828 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
Myrsloik: thanks, will test it!
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
10th November 2017, 16:54 | #2830 | Link |
Registered User
Join Date: Jan 2007
Posts: 729
|
It can also contain rainbows and such garbage added in transfer/processing too, in such case, I would try to use derainbowers on it, maybe even strong ones (but not ones that wash out colors in large areas, to be safe).
|
10th November 2017, 18:20 | #2831 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
I checked many places by comparing the greyscaled and original output and couldn't see any visual differences. Maybe there's just some bluish hue or something like that which is basically impossible to notice even with a frame by frame comparison. Funny thing is that the greyscale version required a slightly more bitrate when I did a short test encode. The UV channels clearly affected the frame type decision.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
10th November 2017, 18:50 | #2832 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
R40 released. Blog post as usual. Everyone should upgrade since it's a maintenance release.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
10th November 2017, 22:43 | #2833 | Link |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Thank you. In regard to building vapoursynth :-
I think I had been using an incorrect github link for avisynth+ Can you please confirm whether this is the right link ? It seems to have been updated more recently. https://github.com/pinterf/AviSynthPlus/tree/MT And this is the right link for zimg I guess. https://github.com/sekrit-twc/zimg/releases Last edited by hydra3333; 10th November 2017 at 23:32. |
11th November 2017, 00:29 | #2834 | 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 |
|
11th November 2017, 02:19 | #2835 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Myrsloik
I tried to find out why TCPServer fails: https://github.com/DJATOM/TCPDeliver...erver.cpp#L478. I don't know why it crashing on GetFrame call, that code works well on Avisynth. |
19th November 2017, 08:52 | #2837 | Link |
Registered User
Join Date: Jan 2017
Posts: 28
|
^ speaking of std.Expr, outputting float from int clips, or vice versa causes some crazy things to happen: http://screenshotcomparison.com/comparison/123935
|
19th November 2017, 16:42 | #2838 | 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 |
|
19th November 2017, 23:25 | #2839 | 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 |
|
29th November 2017, 04:07 | #2840 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
I have a problem applying multiple instances of the virtualdub filter neatvideo in vapoursynth, it was able to load preview but crash on preview close.
Code:
core.avs.LoadPlugin(r"C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll") core.avs.LoadVirtualdubPlugin(r'neatvideo.vdf', 'nv', 1) clipa = core.avs.nv_2(clip, setting_a) clipb = core.avs.nv_2(clip, setting_b) clip = clipa + clipb clip.set_output() Code:
core.avs.LoadPlugin(r"C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll") core.avs.LoadVirtualdubPlugin(r'neatvideo.vdf', 'nv', 1) core.avs.LoadVirtualdubPlugin(r'neatvideo.vdf', 'nv2', 1) clipa = core.avs.nv_2(clip, setting_a) clipb = core.avs.nv2_2(clip, setting_b) clip = clipa + clipb clip.set_output() Here's the crash log from vs editor Code:
Problem signature: Problem Event Name: BEX64 Application Name: vsedit.exe Application Version: 18.0.0.0 Application Timestamp: 59f4da49 Fault Module Name: NeatVideo.vdf_unloaded Fault Module Version: 0.0.0.0 Fault Module Timestamp: 540f49bd Exception Offset: 000007fed7512d60 Exception Code: c0000005 Exception Data: 0000000000000008 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033 Additional Information 1: 0052 Additional Information 2: 0052a83208d9c99bc2a54c9c0c8ea3e8 Additional Information 3: ce3c Additional Information 4: ce3cde77cba7f1c58c793ecf99d5100f |
Tags |
speed, vaporware, vapoursynth |
|
|