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. |
23rd February 2017, 00:52 | #82 | Link |
Registered User
Join Date: Jan 2017
Posts: 146
|
I was able to build on macOS with this. Anyone able to do a commit with this patch - please do.
Code:
gcc -c -fPIC ${CFLAGS} ${CPPFLAGS} -I. $(pkg-config --cflags vapoursynth) -o main.o rawsource.c g++ -dynamiclib -undefined suppress -flat_namespace *.o -o libraws.dylib |
23rd February 2018, 04:59 | #83 | Link |
Registered User
Join Date: Dec 2009
Posts: 72
|
Is there some trick to making a working windows build? I can usually preview a frame or two in VS Editor before it dies. vspipe also crashes and I can't get a backtrace with gdb. I messed with this a few weeks ago and gdb pointed at history_add(), but I've since changed something and I can't even get that far anymore.
I haven't tried building with visual studio yet. The same script works fine in a Linux VM. Code:
import vapoursynth as vs core = vs.get_core(threads=1) # https://media.xiph.org/video/derf/Chimera/Netflix_WindAndNature_4096x2160_60fps_10bit_420.yuv c = core.raws.Source('Netflix_WindAndNature_4096x2160_60fps_10bit_420.yuv',4096,2160,60000,1001,src_fmt='YUV420P10') c.set_output() Code:
vspipe script.vpy output.raw |
23rd February 2018, 12:22 | #84 | 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 |
|
23rd February 2018, 18:18 | #85 | Link | |
Registered User
Join Date: Dec 2009
Posts: 72
|
Quote:
I didn't know there was yet another fork and the work had already be done for me. |
|
2nd November 2019, 18:00 | #86 | Link |
Registered User
Join Date: Nov 2008
Posts: 6
|
piping trough rawvideosource
I am experiencing dificulties to make this working:
Code:
ffmpeg -y -re -f lavfi -i testsrc=duration=30:size=720x576:rate=25 -c:v rawvideo -pix_fmt yuv420p -r 25 -an -f rawvideo - | vspipe --y4m live.vpy - | ffplay -f rawvideo -pix_fmt yuv420p -s 720x576 -i - where live.vpy is: import vapoursynth as vs core = vs.get_core() clip = core.raws.Source("-",720,576,src_fmt="YUV420P8") clip.set_output() |
2nd November 2019, 18:58 | #87 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
It's been a long time since I looked at this but I think reading from stdin on windows never worked well.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
4th November 2019, 23:53 | #91 | Link | |
Registered User
Join Date: Nov 2008
Posts: 6
|
Quote:
and piping was working. But I was wondering why I could not have any influence on framerate. whithout vsrawvideo pipe: 25 tbr, 25 tbn, 25 tbc with vsrawvideo pipe: 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc I tested with yuv420p yuv422p and yuv444p Kind Regards. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|