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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th August 2014, 17:42   #21  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by digitall.h View Post
Sorry me for these very basic questione.

Binaries are just for windows systems, aren't they?.

Can VS Editor be built under Linux?. Dependencies?.
As it is using QT5 I hope it is cross platform, isn't it?.
In source I don't find any make file.
There's an VS version in src folder, does VS Editor installation also install VS?.
Yes, you can build it in Linux with installed developer's packages of Qt5. You simply do:
Code:
cd <pro directory>
qmake
make
The program will be built in "build" directory.
You do need to build and install VapourSynth before that. The editor itself doesn't require installation.
The directory "src/vapoursynth" IS NOT VapourSynth source code, but collection of classes in the editor used for direct interaction with VapourSynth. So no, the editor does not build or install VapourSynth.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 9th August 2014, 19:55   #22  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257


I'm not very good in working with source, I prefer binaries...


With the help of users in this forum I managed to install Vapoursynth.
I'll try with VS Editor.

Last edited by digitall.h; 9th August 2014 at 19:58.
digitall.h is offline   Reply With Quote
Old 11th August 2014, 22:20   #23  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,678
Quote:
Originally Posted by Mystery Keeper View Post
I'll think about bookmarks, but likely not before I implement some other features. Timeline font size will be customizable in future. As will be editor styles. Seeking cursor is too small for what? You don't need to aim for it to drag it. You can just click anywhere on the timeline. You won't jump to another frame until you release the mouse key. Now color under cursor is something I don't know how to approach. Most times the video you're working on is YUV with chroma subsampled. So, what value should be displayed?

the color value format to be display can be rgb like "rgb(20,128,40)" and in hex like "#ccccc".

As for the seek bar, right now you have to click inside that tiny white bar in order to trigger the seek, in which 2 out of 5 times I would miss it.
lansing is offline   Reply With Quote
Old 11th August 2014, 22:31   #24  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by lansing View Post
the color value format to be display can be rgb like "rgb(20,128,40)" and in hex like "#ccccc".

As for the seek bar, right now you have to click inside that tiny white bar in order to trigger the seek, in which 2 out of 5 times I would miss it.
Click on the preview area. It effectively steals the focus from any widget that hijacks the keyboard input and allows seeking.
The color question is not how to display it, but "how would you retrieve the pixel color when chroma is subsampled?"
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 11th August 2014, 22:38   #25  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,647
Quote:
Originally Posted by Mystery Keeper View Post
Click on the preview area. It effectively steals the focus from any widget that hijacks the keyboard input and allows seeking.
The color question is not how to display it, but "how would you retrieve the pixel color when chroma is subsampled?"
Grab it from the clip converted to the closest not subsampled format? Very easy to do and then show both raw and rgb values.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 11th August 2014, 22:40   #26  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by Myrsloik View Post
Grab it from the clip converted to the closest not subsampled format? Very easy to do and then show both raw and rgb values.
Oh. That would do. Thanks for idea.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 17th August 2014, 20:07   #27  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
vapoursynth-editor make failed

Hi all,

i've been looking for an alternative to Avisynth on Linux so, i run into vapoursynth.

I've immediately searched for a suitable editor and here i am.

I've tried to build vapoursynth-editor with the instruction above:
Code:
cd <pro directory>
qmake
make
but after typing make, the command output stop at this:

Code:
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/settings/settingsdialog.ui -o ../generated/ui/ui_settingsdialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/preview/previewdialog.ui -o ../generated/ui/ui_previewdialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/mainwindow.ui -o ../generated/ui/ui_mainwindow.h
g++ -c -m64 -pipe -O2 -fexpensive-optimizations -funit-at-a-time -std=c++11 -O2 -w -D_REENTRANT -fPIE -DNDEBUG -DQT_NO_DEBUG 
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets 
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I../generated/moc -I../generated/ui -o ../generated/obj/helpers.o
 ../src/common/helpers.cpp

g++ -c -m64 -pipe -O2 -fexpensive-optimizations -funit-at-a-time -std=c++11 -O2 -w -D_REENTRANT -fPIE -DNDEBUG -DQT_NO_DEBUG 
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets
 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I../generated/moc -I../generated/ui -o ../generated/obj/settingsmanager.o 
../src/settings/settingsmanager.cpp

../src/settings/settingsmanager.cpp: In constructor ‘SettingsManager::SettingsManager(QObject*)’:

../src/settings/settingsmanager.cpp:101:4: error: ‘GenericConfigLocation’ is not a member of ‘QStandardPaths’

    QStandardPaths::GenericConfigLocation) + SETTINGS_FILE_NAME;
    ^
../src/settings/settingsmanager.cpp: In member function ‘bool SettingsManager::setPortableMode(bool)’:
../src/settings/settingsmanager.cpp:132:3: error: ‘GenericConfigLocation’ is not a member of ‘QStandardPaths’
   QStandardPaths::GenericConfigLocation);
   ^
make: *** [../generated/obj/settingsmanager.o] Errore 1
dontrythisathome is offline   Reply With Quote
Old 17th August 2014, 20:17   #28  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Weird. Maybe "GenericConfigLocation" was introduced in newer Qt5 version than the one you've got? Can you upgrade it? If not - replace "GenericConfigLocation" with "ConfigLocation".
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 17th August 2014, 20:54   #29  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
Error

Quote:
Originally Posted by Mystery Keeper View Post
Weird. Maybe "GenericConfigLocation" was introduced in newer Qt5 version than the one you've got? Can you upgrade it? If not - replace "GenericConfigLocation" with "ConfigLocation".
i used this ppa to install Qt5 on my Ubuntu 12.04 LTS because there is no official repository for Qt5 library on 12.04 LTS. I didn't find it on synaptic.

https://launchpad.net/~ubuntu-sdk-te...ive/ubuntu/ppa

and they say Qt5 is partially supported in version 12.04 LTS. Could be this the problem ?

Anyway i've change what you tell me to change and now it prompt me this:

Code:
../src/settings/itemdelegateforhotkey.cpp:1:28: fatal error: QKeySequenceEdit: File o directory non esistente
 #include <QKeySequenceEdit>
                            ^
compilation terminated.
make: *** [../generated/obj/itemdelegateforhotkey.o] Errore 1
Could this also be a problem because Qt5 is not fully supported on 12.04 LTS so they've change some include directories ?
dontrythisathome is offline   Reply With Quote
Old 17th August 2014, 21:12   #30  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
No idea, honestly. To me it seems that your version of Qt5 is incomplete. You could try and build it from the sources. What "Qt5 is partially supported in version 12.04 LTS" means is a mystery to me. QKeySequenceEdit was introduced in Qt5.2.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 17th August 2014, 22:05   #31  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
Quote:
Originally Posted by Mystery Keeper View Post
No idea, honestly. To me it seems that your version of Qt5 is incomplete. You could try and build it from the sources. What "Qt5 is partially supported in version 12.04 LTS" means is a mystery to me. QKeySequenceEdit was introduced in Qt5.2.
I'll try to compile QT5 from source then and remove the ppa, that, after all, i discover install Qt 5.0.2 only on Ubuntu 12.04 LTS and not Qt 5.2 and later.

EDIT [18.08.2014]: I've manage to build vapoursynth-editor. Now, i run it and it prompt me this error:
Code:
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.


and when i do not use any plugin it prompt me this:

Code:
Failed to initialize VapourSynth
I don't understand where i fail.
I followed this post to build vapoursynth and FFMS2: LINK

Then i build vapoursynth-editor.
Since from vapoursynth ./waf configure the PREFIX is set to " /usr/local/ ", LIBDIR to " PREFIX/lib " and PLUGINDIR to "LIBDIR/vapoursynth", i don't understand why it can't load them. I also set the vapoursynth.conf file as it explain here: LINK since XDG_CONFIG_HOME is not defined.

Any suggestion ?

Last edited by dontrythisathome; 18th August 2014 at 14:59. Reason: Update message and add more content
dontrythisathome is offline   Reply With Quote
Old 18th August 2014, 23:20   #32  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
Can you test 14.04 LTS, perhaps in a VM? It might be time to transition toward that, if it works.
foxyshadis is offline   Reply With Quote
Old 18th August 2014, 23:31   #33  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
I'll try. I tested it in Mint 17 so far.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 18th August 2014, 23:48   #34  |  Link
Are_
Registered User
 
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 322
Quote:
Originally Posted by dontrythisathome View Post
Any suggestion ?
The search path for "vapoursynth library" is wrong in the screenshot you posted, it should be "/usr/local/lib".
Are_ is offline   Reply With Quote
Old 19th August 2014, 15:29   #35  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
Quote:
Originally Posted by Are_ View Post
The search path for "vapoursynth library" is wrong in the screenshot you posted, it should be "/usr/local/lib".
oh, yes, my mistake.

Here's the change, but it still doesn't recognize the vapoursynth plugin path.

dontrythisathome is offline   Reply With Quote
Old 19th August 2014, 15:46   #36  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
You mean you don't get syntax highlighting and autocompletion for the plugins you've got in the path?
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 19th August 2014, 15:59   #37  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
Quote:
Originally Posted by Mystery Keeper View Post
You mean you don't get syntax highlighting and autocompletion for the plugins you've got in the path?
yes.
This is the output it gives me

Code:
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.
Although i set the correct path, didn't I ?
dontrythisathome is offline   Reply With Quote
Old 19th August 2014, 16:04   #38  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
The truth is you shouldn't need to set the library search path in Linux at all. In Windows too since I've added autodetection. For some reason vsedit can not find VapourSynth library. What name does it have in your build?
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 19th August 2014, 16:24   #39  |  Link
dontrythisathome
Registered User
 
Join Date: Feb 2014
Location: Italy
Posts: 22
Quote:
Originally Posted by Mystery Keeper View Post
The truth is you shouldn't need to set the library search path in Linux at all. In Windows too since I've added autodetection. For some reason vsedit can not find VapourSynth library. What name does it have in your build?

This is the build name of vapoursynth

Code:
vapoursynth_24R-r1079-1_amd64
Is this what you're talking about, isn't it ?
dontrythisathome is offline   Reply With Quote
Old 19th August 2014, 16:28   #40  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Woah! No wonder it can not find the library. Its name in Linux is expected to be libvapoursynth.so. Must be some of Myrsloik's recent changes.
__________________
...desu!
Mystery Keeper 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 07:34.


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