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 19th May 2024, 16:49   #4881  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Makes sense but there are a few problems.
Some people parse the info output so changing it would break things.
There's also no actual api function to obtain the set output indices so that needs to be added as well.
Create an issue and I'll probably do it in a bit.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 19th May 2024, 17:03   #4882  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,349
Quote:
Some people parse the info output so changing it would break things.
I do

Quote:
Create an issue and I'll probably do it in a bit.
will do, thanks!
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 7th June 2024, 22:46   #4883  |  Link
NoX1911
Registered User
 
NoX1911's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 183
Quote:
Originally Posted by Myrsloik View Post
Link is dead. Any alternative script collections?

Last edited by NoX1911; 8th June 2024 at 00:17.
NoX1911 is offline   Reply With Quote
Old 8th June 2024, 06:06   #4884  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,349
https://vsdb.top/ might be a good start (https://github.com/Selur/VapoursynthScriptsInHybrid has the scripts Hybrid uses)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 8th June 2024, 09:56   #4885  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by NoX1911 View Post
Link is dead. Any alternative script collections?
Fixed it so it points at vsdb.top, you can also simply use
Code:
vsrepo.py available
to get a fairly complete list.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 8th June 2024, 10:10   #4886  |  Link
NoX1911
Registered User
 
NoX1911's Avatar
 
Join Date: Aug 2003
Location: Germany
Posts: 183
Ok, just thought there would be another collection of turnkey-ready vpy files. Its functions then.
NoX1911 is offline   Reply With Quote
Old 9th June 2024, 16:06   #4887  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 289
out of curiosity i tried to find a way to play VPY script in android phone but i don't find any results

is that even possible ?
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 10th June 2024, 07:49   #4888  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,885
VapourSynth is based on Python. Where Python runs, there is at least a chance.

I believe to remember that Selur's Hybrid works on several platforms (Windows and Linux at least) where OS independent operation is supported (Avisynth not so easily, but core and VapourSynth). Android may be a special Linux variant, yet it is distinct in several features, so porting Linux ready software may not be as trivial.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th June 2024, 08:13   #4889  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,349
Can't really comment on Android, but especially on phones I see multiple problems:
a. what python version is installed (R68 only supports Python 3.8 and 3.12)
b. are all the libraries Vapoursynth uses are available on Android
c. are the plugins one wants to use be compiled for arm. (probably not)
d. does the mobile even have enough power to run this stuff.
=> I doubt running Vapoursynth (with some plugins) on ARM is feasible atm.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 10th June 2024, 08:19   #4890  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by Selur View Post
Can't really comment on Android, but especially on phones I see multiple problems:
a. what python version is installed (R68 only supports Python 3.8 and 3.12)
b. are all the libraries Vapoursynth uses are available on Android
c. are the plugins one wants to use be compiled for arm. (probably not)
d. does the mobile even have enough power to run this stuff.
=> I doubt running Vapoursynth (with some plugins) on ARM is feasible atm.
To add to this:
a: Python 3.8 (possibly 3.6) or later is supported. It's only to keep down the number of configurations on windows I don't provide more.
b: Very few libraries are used so if you have python the answer is yes.
c: You always have to compile that for every platform. No worse than the average linux distro.
d: I talked to a guy a few years ago who made it work on ios. Don't think it was ever made public but you can definitely run simpler things. Keep in mind that modern phones are like super awesome gaming computers 10 years ago.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 20th June 2024, 18:12   #4891  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,349
I want to delete line 0-4 keep 5-9, delete 10-14, keep 15-19,...
(using tons of Crop and StackVertical calls seems like a bad idea)
Something like SeparateFields, but not splitting even and odd lines, but packages of 5 ?
(no problem if not, just playing with some ideas,..)
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 20th June 2024 at 18:14.
Selur is offline   Reply With Quote
Old 20th June 2024, 18:32   #4892  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,770
Quote:
Originally Posted by Selur View Post
I want to delete line 0-4 keep 5-9, delete 10-14, keep 15-19,...
(using tons of Crop and StackVertical calls seems like a bad idea)
Something like SeparateFields, but not splitting even and odd lines, but packages of 5 ?
(no problem if not, just playing with some ideas,..)
I think you could use a Python for loop for that to keep it quite simple.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 20th June 2024, 20:17   #4893  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,575
Quote:
Originally Posted by Selur View Post
I want to delete line 0-4 keep 5-9, delete 10-14, keep 15-19,...
(using tons of Crop and StackVertical calls seems like a bad idea)
Something like SeparateFields, but not splitting even and odd lines, but packages of 5 ?
(no problem if not, just playing with some ideas,..)
AddBorders to make the input a 2^n height
Call SeparateFields until every frame consists of only one field
StackVertical([SelectEvery(cycle=addborder_clip.height, offset=something), ...]) <= this bit you'll probably have to automatically generate somehow

Or jusr write a filter, that's so much easier.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is online now   Reply With Quote
Old 20th July 2024, 06:36   #4894  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,349
Looking at https://forum.videohelp.com/threads/415197 I was wondering whether there is a HShear and VShear version for Vapoursynth?
I know I can use:
Code:
core.avs.LoadPlugin(r"F:\Hybrid\64bit\Avisynth\avisynthPlugins\Rotate_x64.dll")
clip = core.avs.HShear(clip, 63.45)
but I wondered if there is a native version I'm not aware of.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 20th July 2024 at 07:14.
Selur is offline   Reply With Quote
Reply

Tags
speed, vaporware, vapoursynth

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 06:55.


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