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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th February 2017, 18:04   #81  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 687
Quote:
Originally Posted by Jindadil007 View Post
Got it ... No Offence... Yes I got good results by using :
video = core.raws.Source(r'C:\DVD\Vspipe\Sample.raw',720,480,src_fmt="RGB")
Anyways...Can you suggest a good link/forum where I can learn the basics...this looks for advanced programmers...
This forum has Newbies section.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 21st February 2017, 00:28   #82  |  Link
KingLir
Registered User
 
Join Date: Jan 2017
Posts: 138
Anyone was able to build this for macOS ? I am getting:

$ ./configure

generating config.mak ...

error: patches welcome
KingLir is offline   Reply With Quote
Old 23rd February 2017, 00:52   #83  |  Link
KingLir
Registered User
 
Join Date: Jan 2017
Posts: 138
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
KingLir is offline   Reply With Quote
Old 23rd February 2018, 04:59   #84  |  Link
ifb
Registered User
 
Join Date: Dec 2009
Posts: 53
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
Ultimately, I'd like to use walisser's vsrawsource repo with pipe input, but it's only a few commits ahead of Myrsloik's tree which doesn't work either so I don't know what I've screwed up here.
ifb is offline   Reply With Quote
Old 23rd February 2018, 10:59   #85  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 500
Quote:
Originally Posted by ifb View Post
Ultimately, I'd like to use walisser's vsrawsource repo with pipe input, but it's only a few commits ahead of Myrsloik's tree which doesn't work either so I don't know what I've screwed up here.
Use this repo which has fixed the crash and other issues.

Windows binaries.
HolyWu is offline   Reply With Quote
Old 23rd February 2018, 12:22   #86  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 1,876
Quote:
Originally Posted by HolyWu View Post
Use this repo which has fixed the crash and other issues.

Windows binaries.
How many forks are there now? Which one should I point to?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 23rd February 2018, 15:37   #87  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 500
Quote:
Originally Posted by Myrsloik View Post
How many forks are there now? Which one should I point to?
Check the forks. I think maki-rxrz's repo is good.
HolyWu is offline   Reply With Quote
Old 23rd February 2018, 18:18   #88  |  Link
ifb
Registered User
 
Join Date: Dec 2009
Posts: 53
Quote:
Originally Posted by HolyWu View Post
Use this repo which has fixed the crash and other issues.

Windows binaries.
Thanks. I did manage to debug it with vs2017 last night and find the crash, but it was late and the fix wasn't immediately obvious to me.

I didn't know there was yet another fork and the work had already be done for me.
ifb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.