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 7th July 2018, 07:01   #1  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
VapourSynth Multi-Viewer

Here's a simple utility software. It allows running several scripts side-by-side while zooming, panning and seeking simultaneously across all versions to easily compare the differences.

Not much else to say!

https://github.com/mysteryx93/Vapour...eases/tag/v0.8

This library should work both in x64 and x86.

As a side note, it took me a while to get it done because I was using it to study proper MVVM design patterns and was getting stuck at every detail.

The project also includes a full .NET API for VapourSynth here

Last edited by MysteryX; 7th July 2018 at 07:04.
MysteryX is offline   Reply With Quote
Old 7th July 2018, 10:06   #2  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
Nice simple Viewer.
But it really needs something like "tab switching by keyboard numbers" to be efficient.

Are you planning to extend it into a full grown editor?

Edit: "fit to screen" would also be a nice feature
__________________
Search and denoise

Last edited by ChaosKing; 7th July 2018 at 15:43.
ChaosKing is offline   Reply With Quote
Old 7th July 2018, 14:39   #3  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Switching tab with CTRL+1 to CTRL+9 would be easy to implement.

I plan on using this as the base for doing previews in the Yin Media Encoder. Wouldn't spend too much time on the stand-alone viewer.

Other features that would be nice is to see a diff map between tabs.
MysteryX is offline   Reply With Quote
Old 7th July 2018, 15:11   #4  |  Link
amayra
Quality Checker
 
amayra's Avatar
 
Join Date: Aug 2013
Posts: 206
i was waiting for this thank you MysteryX
and i really hope to see you give more love to standalone version in the future
__________________
I love Doom9
amayra is offline   Reply With Quote
Old 7th July 2018, 17:35   #5  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Switching tab was very easy to add thanks to well-structured MVVM code
https://github.com/mysteryx93/Vapour...e86fbc564c48b7

ScaleToFit, however, is giving me more trouble.

Edit: ScaleToFit is working

Last edited by MysteryX; 7th July 2018 at 18:21.
MysteryX is offline   Reply With Quote
Old 7th July 2018, 18:28   #6  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Version 0.8.1 is ready!

What's new:
- Allow switching tabs with Ctrl + number (0-9)
- Added scale to fit zoom option

Next thing that would be nice is having the controls in a toolbar instead of floating on the right, that should be easy besides finding the right icons. Then "Run" tab should be moved into a toolbar icon, and you could add several Script tabs. Go To Frame # also would be good.

Last edited by MysteryX; 7th July 2018 at 18:30.
MysteryX is offline   Reply With Quote
Old 7th July 2018, 19:22   #7  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
I noticed that the first frame is not shown after clicking on run but only if I move the slider or press right on the keyboard.
And I find that CTRL + number is a bit uncomfortable. It would be better without the CTRL combo.
__________________
Search and denoise

Last edited by ChaosKing; 7th July 2018 at 19:26.
ChaosKing is offline   Reply With Quote
Old 7th July 2018, 21:22   #8  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Quote:
Originally Posted by ChaosKing View Post
And I find that CTRL + number is a bit uncomfortable. It would be better without the CTRL combo.
Without Ctrl it won't allow you to type numbers in the script editor
MysteryX is offline   Reply With Quote
Old 7th July 2018, 22:43   #9  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
And if you exclude the scripts tab, would this work then?
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 9th July 2018, 18:27   #10  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Version 0.9 is ready!

What's new:
- Allow opening and saving files
- Allow several script editor tabs
- Moved all controls into a toolbar
- Added go to frame
- Redesigned keyboard shortcuts
- Can now select viewer tabs with 1-9 and editors with ctrl+1-9
- Fixed some issues with zoom

I'm thinking. Another feature that could be useful and easy to implement is "Pixel Blending", whether to zoom as square pixels (nearest neighbor) or blended pixels.

Last edited by MysteryX; 9th July 2018 at 18:37.
MysteryX is offline   Reply With Quote
Old 9th July 2018, 21:44   #11  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
Nice to have:
- Syntax-Highlighting
- set font size (and/or dpi aware). The font is a bit small in 1440p
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 9th July 2018, 22:00   #12  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
I could enlarge the font easily. Syntax highlighting, however, would be a whole project on its own.

Edit: Actually it turns out syntax highlighting would be simple enough.

Edit2: dammit noobs wrote AvalonEdit in a way that doesn't allow binding and it can't be integrated into my code design

Last edited by MysteryX; 10th July 2018 at 06:07.
MysteryX is offline   Reply With Quote
Old 10th July 2018, 11:00   #13  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
Maybe one of these are easy to integrate https://www.nuget.org/packages?q=highlight
Not all are for .net, some are js.

You could also use a webview for the scripts tab, maybe this would be better, just a thought.
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 11th July 2018, 23:29   #14  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Version 0.9.1 is ready!

What's new:
- Replaced script TextBox with AvalonEdit.TextEditor
- Added syntax highlighing
- Enlarged script font
- Added default script

As for AvalonEdit, they don't support binding for performance reasons. Found a way to work around it.
MysteryX is offline   Reply With Quote
Old 11th July 2018, 23:41   #15  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 421
ty, my eyes are very pleased now. I will add this also to my VS portable FATPACK.
__________________
Search and denoise
ChaosKing is offline   Reply With Quote
Old 13th July 2018, 18:15   #16  |  Link
ifb
Registered User
 
Join Date: Dec 2009
Posts: 52
I can't type numbers in the script editor tabs in v0.9.1. They always act as shortcut keys.
ifb is offline   Reply With Quote
Old 14th July 2018, 18:27   #17  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Fixed
MysteryX is offline   Reply With Quote
Old 26th July 2018, 20:12   #18  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,130
Version 0.9.3 is ready!

What's new:
- Fixed multi-threading mode not activating
- Added option to display square pixels when zooming
MysteryX 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 15:49.


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