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. |
25th July 2020, 15:14 | #682 | Link | |
Registered User
Join Date: May 2011
Posts: 321
|
Quote:
Because vapoursynth = Python, it never hurts to change workflows as if developing python script or scripts. |
|
25th July 2020, 19:27 | #683 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
|
|
25th July 2020, 21:29 | #684 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
I was testing out this lossless webp format when saving snapshot, on a 720x480 anime frame, at highest compression ratio, the png version is 455 KB while the webp version is 4.55 KB, WTF? The webp version is 99% smaller?
|
25th July 2020, 23:01 | #685 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
Are you sure you're using lossless profile ? If you check with ffmpeg -i input.webp it will identify lossless was used Subsampling can make small difference too. Was subsampling the same ? png supports rgb/rgba , webp supports rgb/rgba (actually bgra) and yuv420p/yuva420p . e.g. if you take from DVD directly it might be RGB vs. YV12 version of webp This was on anime frame png rgb 403kb webp lossless rgb 285 kb webp lossless yv12 283 kb |
|
25th July 2020, 23:12 | #686 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
Code:
Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 720x480, 25 tbr, 25 tbn, 25 tbc At least one output file must be specified |
|
25th July 2020, 23:39 | #687 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
This is using lossless profile . I recompressed the png, so it says argb instead of yuv420p Code:
Stream #0:0: Video: webp, argb, 720x480, lossless, 25 tbr, 25 tbn, 25 tbc (EDIT: Clarification - lossless profile for webp only supports argb ; so that difference in 2Kb for RGB vs. YV12 was probably due to different upsampling algorithm) Last edited by poisondeathray; 25th July 2020 at 23:47. |
|
26th July 2020, 00:11 | #688 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
|
|
26th July 2020, 15:34 | #689 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
1) Some issue with viewing alpha channel in a gbrap source (Gray8 as alpha clip) . Affects original vsedit, and this mod . Vdub2 preview ok, VSImport in avisynth of .vpy ok too
clip[1].set_output() #view alpha Code:
Error on frame 0 request: Resize error -1: invalid graph state L878: !m_state.has_chroma() || m_state.plan You can try this new LSmash release and this test clip, (or ffms2 supported alpha before too) https://forum.doom9.org/showthread.p...46#post1919446 https://forum.doom9.org/showpost.php...postcount=1311 2) I can't find error message or log file in this test version. That error message was from original version EDIT: more info - I think it has something to do with (matrix,transfer,primaries) props being read , explicitly set, or assumed that vsedit is using for the display. If you load something else that has metadata or values, it will display the alpha Last edited by poisondeathray; 26th July 2020 at 16:59. |
26th July 2020, 17:30 | #693 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
Thanks; that's what you should see. Then it must be some local issue, I'll try to figure it out If I just re-encode it with qtrle, Gray8 preview works for me . ffmpeg -i input.mov -c:v qtrle -an output.mov Or some other PNG+alpha image sequence, or this re-encoded as a PNG+alpha sequence (loaded with imwri.Read, alpha=True) the Gray8 preview works . Not sure why, because it was PNG in MOV to begin with ffms2 alpha=True has same issue for me, so I doubt it's source filter related Not sure what's going on... Last edited by poisondeathray; 26th July 2020 at 18:06. |
|
28th July 2020, 19:02 | #694 | Link |
Beyond Kawaii
Join Date: Feb 2008
Location: Russia
Posts: 724
|
I'm glad someone is actively working on new features. I'm very sorry I haven't been. For the last year my life has been a roller coaster, and I can't tell when I'll be back to active development.
__________________
...desu! |
28th July 2020, 19:41 | #695 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
I suggest you name an official successor then. Or you have fork hell in no time... (if it didn't already happen)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
29th July 2020, 14:49 | #696 | Link |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Test 9 up. I have transferred all the remaining menu/context menu functions that I can see except noted.
Log: - Fixed webp saving in wrong image quality. Image formats now save with their own quality parameters instead of sharing one single parameter - Transferred all the remaining menu/context menu functions as well as all the little functions except noted - Closing handler for multi tab, that is save script on exist confirmation and garbage collections - Default auto tab naming on creation works correctly now - Removed bilinear scale mode on preview - Crop editor temporary removed for new implementation I removed the bilinear scale mode because I just don't see the usage. People used zoom for cropping and for cropping it needs to be pixel precised. You don't want a scale mode that smoothed out the pixels. I also removed the crop editor for now because it needs a new window anyway and I'm still gathering ideas. I have checked out several other crop editors and the one from avidemux looks really cool. Aside from those, I have pretty much completed transferring all the stuff from the original to the new one. After all bugs were fixed in these test builds I'll change it to release. Then it will be time to add new stuffs. For the continuation of the project, I think I'll do what Staxrip and Staxrip 2 did and rename mine to vseditor 2. |
29th July 2020, 15:40 | #697 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Quote:
The zoom field is a bit strange. If I use the arrow keys the zoom steps are 3x 2x 1x 0.6x 0.2x. Why not 0.5? And why is 0.1 not allowed? When I type 0.3 and then use the arrow keys the next zoom steps are 0.7x 1.1x 2.0x. With 0.5x it jumps to 0.9x :-/ The close all tabs button needs an icon
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 29th July 2020 at 15:53. |
|
29th July 2020, 18:12 | #698 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,657
|
Quote:
The minimum zoom ratio is 0.2x and maximum is 8x. I capped at 8x because anything more than that causes navigation to lag. I think Avspmod have had the same issue but gispos fixed it sometime ago. I'll need to look at his code for guidance. Is there really a need for 0.1x zoom? I thought 0.2x is really really small already. |
|
29th July 2020, 18:28 | #699 | Link |
Registered User
Join Date: May 2011
Posts: 321
|
Some idea - using zoom as crop and zoom in for previewing rgb clip. This way zooms-in perform even faster than original resolutions. Keeping track for CropAbs() values in memory, values are always relative to original resolution. Then one button could be dedicated to just return to previous zoom. I do it that way. Always performing crops and zooms for all clips so clips could be compared (if loaded more clips) in any zoom state.
|
29th July 2020, 18:47 | #700 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Well I once stacked 24 openings together to find differences
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
|