Selur's Little Message Board
Feature request: using vsViewer to show the script code - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Feature request: using vsViewer to show the script code (/thread-3952.html)



Feature request: using vsViewer to show the script code - Dan64 - 17.12.2024

Hello Selur,

   currently Hybrid is using an internal viewer to show the script code generated by Hybrid.
   It could be useful to ad an option in Filtering->Vapoursynth->Misc to use vsViewer to show the script code.
   In this way it could be possible to better see the log messages and will enable to possibility run the Benchmark (F7) directly from Hybrid.

Thanks,
Dan


RE: Feature request: using vsViewer to show the script code - Selur - 17.12.2024

Sorry, not planning on doing that.

My reason behind this is that,
  • usually the log output is only interesting, if an error occurs, in which case the preview should fail and show the code (main window view) and the error.
  • I don't really see much gain in running a benchmark.
  • to properly integrate vsViewer main window with Hybrid, it would need additional adjustment of vsViewer (and Hybrid). This probably would then trigger the next request to be able to freely edit code in vsViewer and expect Hybrid to use that code (that is not going to happen). Also, vsViewer like Vapoursynth editor can encode on its own. A better option would be to rewrite vsViewer, remove some of the stuff is can do (like encoding) and incorporate it more into Hybrid. The best option would be to integrate the viewer directly into Hybrid and not keep it as a standalone tool.
    (I don't have the time and motivation for that.)
To see the vsViewer main window, one could adjust the vsViewer code to never set m_hideMainWindow to 'true' and hide the window. Smile
Not planning to do that (reasons above), but I attached you a modified vsViewer version which you can use as replacement for the existing one.

Cu Selur


RE: Feature request: using vsViewer to show the script code - Dan64 - 17.12.2024

Nice, was exactly what I was think about.

I still believe it could be an interesting option for more advanced users.

Dan