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 > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th October 2024, 04:18   #3801  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
Quote:
How to make this work in Hybrid?
No clue how to make RVRT work in Hybrid, never tried it since iirc. BasicVSR++ produce better results.
Quote:
Is converting from .pth to .onnx with Chainner sufficient to make this work?
You can try converting the pretrained models to .onnx try whether VSLMLRT can load them.
Quote:
How to import these models into Hybrid?
Filtering->Vapoursynth->Resizer->VSMLRT has a file open dialog which allows selecting any .onnx-models.
Note that neither does VSGAN support all .pth files nor does VSMLRT support all .onnx files.
Quote:
Are there models similar but better that these?
Can't say for sure since I never used RVRT and thus can't compare it to anything I know.

Quote:
And also does Hybrid support importing .webp or .avif image sequences as input?
No, atm. only png, tga, tiff, tif, exr and jpg are supported. I haven't even tested whether webp or avif are supported by Avisynth, Vapoursynth and/or FFmpeg, so no clue whether it could be done.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 29th October 2024, 19:38   #3802  |  Link
Leo 69
Registered User
 
Join Date: Nov 2004
Posts: 238
Hi Selur!

Do you have plans to implement the BM3D denoiser for Vapoursynth? Or maybe even BM3DCUDA?
Leo 69 is offline   Reply With Quote
Old 30th October 2024, 19:30   #3803  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
Short: No, got no plans to support either.

Long:
I thought about using it, thru the wrapper for it in muvsfunc, but even that wrapper seems rather complex with tons of parameters where I don't know the range of allowed values and that use 'None' as default. BM3DCUDA refers to the BM3D documentation.
So it's not planned, since I have no clue how to use it (properly), what the parameters are meant to do and what the allowed values etc. are, what dependencies there are etc.

If you know how to use it, you could:
a. add it to the gui yourself using a Custom filter addition.
b. use it through the custom section
Judging by the examples, this seems like something that might be best used in a custom section by users themselves.

=> Don't know enough about it to implement support for it.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 31st October 2024, 18:53   #3804  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Posts: 222
Animated WebP is somewhat tricky, FFmpeg doesn't support it, dwebp can't directly decode it
Quote:
>dwebp asd.webp
Error! Decoding of an animated WebP file is not supported.
Use webpmux to extract the individual frames or
vwebp to view this image.
Decoding of a failed.
Status: 4(UNSUPPORTED_FEATURE)
Animated HEIF (HEVC/AV1) is supported by FFmpeg, actually it's pretty much like a plain MP4 file with a video track, the difference is there's a image item stored as "thumbnail" (I assumed based on observation, I didn't read the actual specification)

The method I chose to handle animated WebP was to extract timing info with webpmux, then extract individual frames as PNG with ImageMagick (more on that later) and use FFmpeg concat demuxer to convert them to APNG and move on...

Why ImageMagick? webpmux can extract frames from animated WebP files and it's "demuxing" while ImageMagick is decoding/re-encoding. Because webpmux only extracts one frame a time, it's not a big deal but I just prefer to do it in one command at the moment.
Why extract individual frames instead of let ImageMagick output APNG directly? Because when doing animated WebP to APNG conversion, ImageMagick used LOSSY WEBP as intermediate. (I'm not sure if it's still the case now)

A VapourSynth source filter, imwri, uses ImageMagick to read images, but it looks like it only reads a single frame, it's meant for image sequences I guess.

Last edited by Z2697; 31st October 2024 at 19:14.
Z2697 is offline   Reply With Quote
Old 2nd November 2024, 19:48   #3805  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
okay, so probably no need to look into supporting webp any time stone.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th November 2024, 10:34   #3806  |  Link
juanitogan
Long-time Reader
 
juanitogan's Avatar
 
Join Date: Jan 2017
Location: New Mexico
Posts: 15
I'm stumped.

I just uninstalled 2024.04.06.1 completely including removing settings (backing up scripts first). Reboot, uninstall, wipe all remaining folders (in Program Files and Roaming), reboot.

I then installed the latest 2024.09.29.1 and found that VS' FilterOrder is not working. Uninstalled Hybrid completely and tried everything again.

Before setting any defaults or anything else, Filtering>Vapoursynth>Misc>FilterOrder does not appear to work:
- Drag/drop moves item (but does not change script).
- Both Up and Down buttons simply move the highlight bar down instead of moving the item.
- Reset button does nothing.

Tried loading a file and turning on a few filters.
- Nothing gets bolded like it used to.
- Drag/drop moves item but does not change script.

Tried setting paths, tried Defaults>ResetAll, tried restarting. Still can't change filter order.

Is there something else I need to reset?
juanitogan is offline   Reply With Quote
Old 16th November 2024, 07:11   #3807  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
No, works fine here (Win11). Haven't changed that code for ages.
What OS are you using? Did you modify the Windows themes or similar through some tool?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th November 2024, 07:11   #3808  |  Link
juanitogan
Long-time Reader
 
juanitogan's Avatar
 
Join Date: Jan 2017
Location: New Mexico
Posts: 15
Weird... but I didn't think this was a feature you would miss testing so I figured I must be missing something (or some other local conflict). Win 10 Home 64bit. I don't load unusual things into the OS like themes and such. I'm a dev myself and so I keep things as generic as possible. I'll check earlier versions and/or go back to the version I was using and see what happens. BTW, I should have mentioned that jobs otherwise run fine... I just can't change the order of the filters with this feature.
juanitogan is offline   Reply With Quote
Old 18th November 2024, 07:16   #3809  |  Link
juanitogan
Long-time Reader
 
juanitogan's Avatar
 
Join Date: Jan 2017
Location: New Mexico
Posts: 15
Oh, yes, the one suspicious line from the log:

Encounter XML error reading 'readGeneral': Opening and ending tag mismatch.
juanitogan is offline   Reply With Quote
Old 18th November 2024, 19:38   #3810  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
Can't reproduce it on Win11, but I could reproduce the problem on MacOS.
For some reason the ui <> mediator connections are not working,.. => I'll try to look into it, but probably won't really have much time before Wends day evening after work.
But I can reproduce it. Might be related to so Qt version change. => nope its a problem with the FilterOrder not properly populated.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 18th November 2024 at 21:02.
Selur is offline   Reply With Quote
Old 18th November 2024, 21:30   #3811  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
Think I fixed it, uploaded a new dev (to the 'experimental'-folder of my GoogleDrive, which is linked on the download page)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th November 2024, 23:13   #3812  |  Link
juanitogan
Long-time Reader
 
juanitogan's Avatar
 
Join Date: Jan 2017
Location: New Mexico
Posts: 15
Wow, that is funny! That's a first for me: First time I've ever seen a bug report from a Windows user confirmed on a Mac because it couldn't be reproduced on Windows.

Anyways... YES! Your latest dev build fixes it. I've only tested the UI and haven't run a job yet... but I doubt any further issue with it. The bolding and script response is all there. Up/down/reset buttons work fine too (although, if you care [I don't], the bolding disappears on reset, but all the bolding comes back if you tick a filter off and on).

[[Yeah, my first thought was Qt as well since I've had minor issues with it in the past with Hybrid. But my second thought was "not likely" since the overall UI seemed fine and it looked to be more of a communication issue. So I didn't bother poking at Qt and just left it to you to find.]]

Thank you for the fix and, as always, thank you for the tool!
juanitogan is offline   Reply With Quote
Old 20th November 2024, 19:52   #3813  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,502
Different environment setups on different machine.
__________________
Hybrid here in the forum, homepage
Selur 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 16:54.


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