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. |
10th January 2018, 12:23 | #2902 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
Oh an one more quirk, far from all the common FOURCCs even have alpha so in those case setting an alpha output clip would have inconsistent results. And then there's v210 with 2 bits of alpha...
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 10th January 2018 at 13:00. |
|
10th January 2018, 16:27 | #2903 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
Code:
Width: 1280 Height: 720 Frames: 90 FPS: 24/1 (24.000 fps) Format Name: RGB24 Color Family: RGB Sample Type: Integer Bits: 8 SubSampling W: 0 SubSampling H: 0 |
|
10th January 2018, 16:54 | #2904 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
10th January 2018, 17:41 | #2905 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
Dated 2018-01-09 R41 from official https://github.com/vapoursynth/vapoursynth/releases , or should I go back to RC ? EDIT: you are right . I messed up vspipe versions, called the wrong one So if it passes to the alpha, how do you use it with something like ffmpeg ? can I pipe rawvideo and specify the arguments in ffmpeg (since yuv4mpegpipe won't work) Last edited by poisondeathray; 10th January 2018 at 17:49. |
|
10th January 2018, 17:45 | #2906 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
10th January 2018, 17:56 | #2908 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Ok , it's -pix_fmt gbrap ; apparently GBRAP (caps) doesn't work
Everything working now Usage example for piping 8bit RGB with alpha to ffmpeg to write out a PNG sequence (in case other ppl get stuck) Code:
#clip[0].set_output(alpha=clip[1]) #alpha clip specified in script #since it's a rawvideo pipe, you need to specify dimensions, frame rate (I guess not for image sequence, but left it in for completeness in case you're writing an RGBA video), pixel format vspipe script.vpy - | ffmpeg -f rawvideo -pix_fmt gbrap -s 1280x720 -r 24 -i - -c:v png -an -start_number 0 output%03d.png Last edited by poisondeathray; 10th January 2018 at 18:06. |
10th January 2018, 18:13 | #2909 | Link |
Registered User
Join Date: Oct 2014
Posts: 268
|
I compiled r41 on Mac osx . I have a weird thing I didn't have with r40: vspipe keeps 'hanging' at the end of a video.
Instead of exiting and letting ffmpeg (I'm piping y4m yuv444p10 and plain rgb30 into ffmpeg) finish graceful, it just sits there doing nothing. In vsedit when I try (benchmark) the script, it gives warnings at the end that it can't read all the frames. But it did this in r40 as well and didn't have try hanging vspipe issue. Source is a .webm from YouTube with ffms2000. I tried pulling the latest master from the ffms2000 branch and compiled it, but no luck. Am I the only one ? If so, I'll dig a bit deeper if it's vapoursynth, the Mac, the source filter or the source . |
10th January 2018, 18:49 | #2910 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
This works for me OK to completion on a random YT VP9 webm . Upscaled to format=vs.YUV444P10. ffms2000 test8 . Win8 x64. R41 Did you try another webm? maybe problem with that specific one ? |
|
13th January 2018, 23:13 | #2911 | Link | |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Quote:
|
|
13th January 2018, 23:14 | #2912 | Link | |
Registered User
Join Date: Oct 2009
Location: crow-land
Posts: 540
|
Quote:
|
|
14th January 2018, 19:05 | #2915 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
R42 RC1
R42 RC1 this soon because of a regression that makes player integration like mpv fail. Report if it works or not. Code:
r42: updated to zimg v2.7.1 vapoursynth.dll is now simply symlinked into the python directory, makes it less confusing to replace the dll since there's only one real copy fixed regression introduced in r41 that would make setting a node using vsscript_setvariable silently fail resize no longer pointlessly copies frames when no processing is needed (that dude) optimized transpose filter even more (that dude)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
15th January 2018, 19:59 | #2916 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
R42 released. No changes from RC1.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
18th January 2018, 18:22 | #2919 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Yes, it returns a tuple of main video and alpha
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
21st January 2018, 14:10 | #2920 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
R43 RC1
Code:
r43: updated to zimg v2.7.2 fixed a possible hang on error in vspipe, regression introduced with the alpha support in r41
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|