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. |
30th August 2020, 06:16 | #121 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
There is also a portable mode! You can find it in settings.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 30th August 2020 at 12:38. |
30th August 2020, 10:38 | #122 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
In comparison, the same 1080 video on Avspmod only uses 270 MB of RAM...there's a lot of improvement to be done... |
|
31st August 2020, 07:37 | #123 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
So that is why after a while + multiple previews vsedit just chrashed for me.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
31st August 2020, 23:17 | #124 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
I put up a R3.1 test build for testing. This probably breaks benchmark and encoding.
This build I removed one of the frame copy in the frame cache, that only saved about 10% of memory usage. What really reduced the memory are changing the frame requesting queue from using max number of threads to 2 and setting frame cache from 100 to 1. The result is: Code:
720 x 480: before: 310 MB after: 120 MB 1920 x 1080: before: 1600 MB after: 476 MB |
1st September 2020, 22:51 | #131 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
No that's not a good way to zoom. When zooming, you will want to go with something like 100%->150%->200%->250%, little by little, but this along will require 3 clicks if you're to do it with middle click. This should be handle by wheel scroll.
|
4th September 2020, 20:29 | #132 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
Just tested out the latest from the repository. Everything seems to be working fine, however it always crashes when closing on macOS. Not sure what's going on, haven't had a chance to run a debug, but I figured I'd mention that in case I don't get around to it anytime soon.
|
7th September 2020, 10:53 | #133 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
One thing that is a bit annoying in vseditor2 is when your script has an error. With vs1 the log windows was always visible and I could immediately spot the problem. In vs2 you always need to explicitly open the log window (on every program start) to see if there is an error.
Maybe the last status of the log window could also be saved (opened/closed) OR a small icon indicates if there an error is present OR the log opens automatically if the script contains an error (on F6 / F7 pressed)
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
15th September 2020, 20:22 | #135 | Link | |
Registered User
Join Date: Apr 2017
Posts: 6
|
I tried the R3 X64 version,popup a window and program closed.
Quote:
Any debug mode? Last edited by Tohno_Neil; 15th September 2020 at 20:51. |
|
6th October 2020, 13:51 | #137 | Link |
Registered User
Join Date: Aug 2004
Location: Russia, Novosibirsk
Posts: 176
|
I can't make VSEditor 2 to become default editor for vpy files on Windows:
- I can associate it, but when I click on the script, VSEditor opens with a blank tab instead of the target script. (VSEditor doesn't even pick up script argument when called via CLI) - In addidion, I get theme_presets.txt file created in the folder where my script is located. Both items seem to be regressions compared to v1. Last edited by Tima; 6th October 2020 at 13:54. |
1st November 2020, 18:35 | #139 | Link |
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
|
Hi
i have this when close the app Code:
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Abortado (`core' generado) and also, anyone can review this? is for add support for use XDG paths ('/home/$USER/.config' and '/home/$USER/.local/share' ) as directory path defaults for themes and bookmarks in linux Code:
diff --git a/vsedit/src/main_window.cpp b/vsedit/src/main_window.cpp index 5f068d1..3156207 100644 --- a/vsedit/src/main_window.cpp +++ b/vsedit/src/main_window.cpp @@ -2266,11 +2266,24 @@ void MainWindow::slotSaveBookmarksToFile() { QFileInfo fileInfo(scriptName); //get file path and fileName without extension +#ifdef Q_OS_LINUX + QString xdgDataHome = QFile::decodeName(qgetenv("XDG_CONFIG_HOME")); + if (xdgDataHome.isEmpty()) + xdgDataHome = QDir::homePath() + "/.local/share/vsedit"; + QDir xdgDataHome_path; + if (!xdgDataHome_path.exists(xdgDataHome)) + xdgDataHome_path.mkpath(xdgDataHome); +#else QString filePath = fileInfo.absolutePath(); +#endif QString scriptFileName = fileInfo.baseName(); QString fileName = QFileDialog::getSaveFileName(this, +#ifdef Q_OS_LINUX + tr("Save bookmark"), xdgDataHome + QDir::separator() + scriptFileName, +#else tr("Save bookmark"), filePath + QDir::separator() + scriptFileName, +#endif tr("Text file (*.txt)")); if (fileName.isEmpty()) diff --git a/vsedit/src/script_editor/script_editor.cpp b/vsedit/src/script_editor/script_editor.cpp index 238b6e4..4af581b 100644 --- a/vsedit/src/script_editor/script_editor.cpp +++ b/vsedit/src/script_editor/script_editor.cpp @@ -941,7 +941,17 @@ void ScriptEditor::loadThemeSettings() { QString savedThemeName = m_pSettingsManager->getThemeName(); - QFile file("theme_presets.txt"); +#ifdef Q_OS_LINUX + QString xdgConfigHome = QFile::decodeName(qgetenv("XDG_CONFIG_HOME")); + if (xdgConfigHome.isEmpty()) + xdgConfigHome = QDir::homePath() + "/.config/vsedit"; + QDir xdgConfigHome_path; + if (!xdgConfigHome_path.exists(xdgConfigHome)) + xdgConfigHome_path.mkpath(xdgConfigHome); + QFile file(xdgConfigHome + "/theme_presets.txt"); +#else + QFile file("theme_presets.txt"); +#endif if (!file.open(QIODevice::ReadOnly | QIODevice::Text)){ file.open(QIODevice::WriteOnly); // create file if it doesn't exist file.open(QIODevice::ReadOnly | QIODevice::Text); diff --git a/vsedit/src/settings/settings_dialog.cpp b/vsedit/src/settings/settings_dialog.cpp index e71b833..59c0c20 100644 --- a/vsedit/src/settings/settings_dialog.cpp +++ b/vsedit/src/settings/settings_dialog.cpp @@ -285,7 +285,17 @@ void SettingsDialog::loadThemePresets() * load from temp string and add preset names to theme list model * the list model will then update combobox automatically */ - QFile file("theme_presets.txt"); +#ifdef Q_OS_LINUX + QString xdgConfigHome = QFile::decodeName(qgetenv("XDG_CONFIG_HOME")); + if (xdgConfigHome.isEmpty()) + xdgConfigHome = QDir::homePath() + "/.config/vsedit"; + QDir xdgConfigHome_path; + if (!xdgConfigHome_path.exists(xdgConfigHome)) + xdgConfigHome_path.mkpath(xdgConfigHome); + QFile file(xdgConfigHome + "/theme_presets.txt"); +#else + QFile file("theme_presets.txt"); +#endif if (!file.open(QIODevice::ReadOnly | QIODevice::Text)){ file.open(QIODevice::WriteOnly); // create file if it doesn't exist file.open(QIODevice::ReadOnly | QIODevice::Text); @@ -375,7 +381,17 @@ void SettingsDialog::saveThemeSettings() m_pSettingsManager->setThemeName( m_ui.themePresetSelectionComboBox->currentText()); - QFile file("theme_presets.txt"); +#ifdef Q_OS_LINUX + QString xdgConfigHome = QFile::decodeName(qgetenv("XDG_CONFIG_HOME")); + if (xdgConfigHome.isEmpty()) + xdgConfigHome = QDir::homePath() + "/.config/vsedit"; + QDir xdgConfigHome_path; + if (!xdgConfigHome_path.exists(xdgConfigHome)) + xdgConfigHome_path.mkpath(xdgConfigHome); + QFile file(xdgConfigHome + "/theme_presets.txt"); +#else + QFile file("theme_presets.txt"); +#endif if (!file.open(QFile::WriteOnly | QFile::Truncate | QIODevice::Text )) { QMessageBox::information(this, tr("Unable to write to file"), file.errorString()); @@ -933,9 +945,19 @@ void SettingsDialog::slotHandleThemeExport() void SettingsDialog::slotExportSelectedThemePresets(QStringList &a_selectedThemePresets) { + QString xdgConfigHome = QFile::decodeName(qgetenv("XDG_CONFIG_HOME")); + if (xdgConfigHome.isEmpty()) + xdgConfigHome = QDir::homePath() + "/.config/vsedit"; + QDir xdgConfigHome_path; + if (!xdgConfigHome_path.exists(xdgConfigHome)) + xdgConfigHome_path.mkpath(xdgConfigHome); QString defaultDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); QString fileName = QFileDialog::getSaveFileName(this, - tr("Export theme preset"), defaultDir + QDir::separator() + tr("theme"), +#ifdef Q_OS_LINUX + tr("Export theme preset"), xdgConfigHome + QDir::separator() + tr("theme"), +#else + tr("Export theme preset"), defaultDir + QDir::separator() + tr("theme"), +#endif tr("Theme file (*.txt)")); if (fileName.isEmpty()) |
Tags |
vapoursynth editor |
Thread Tools | Search this Thread |
Display Modes | |
|
|