340 Commits

Author SHA1 Message Date
Tyler
95f6766214 fixed key error 2022-12-13 12:49:27 -08:00
Tyler
7ebf26cab6
removed unused method, fixed key error (#285) 2022-12-10 23:06:21 -08:00
Tyler
5d6c9b7b93
bug fix and customizability (#284) 2022-12-10 23:00:22 -08:00
kayos
7efadfa5d6
Fix: unix_setup.sh problems (#271)
* Fix: unix_setup.sh problems

This script didn't even function on my machine, making at least the `sh` vs `bash` change necessary. Cleaned up a few other things as well.

  - In POSIX sh, `[[ ]]` is undefined. Use env to properly locate and use bash. 
  - If any of the `cd` commands fail, exit with status 1.
  - Use the exec flag in `find` to move things instead of in-lining an eval
  - Misc. cleanup

* Fix find positional arguments to avoid warning

* Fix typo
2022-12-10 16:26:59 -08:00
Tyler
3e267b1075
Pixfmt detection and integration (#282)
* added support for auto pixfmt detection

* added strip to pixfmt
2022-12-05 19:32:20 -08:00
Tyler
4f59279748 small typo 2022-12-03 12:49:41 -08:00
Tyler
74e7701393
3.7.2 (#274)
* removed unused  method

* fixed bug where first index was being returned, when it should be the last
2022-10-30 17:31:57 -07:00
Tyler
59079ba87d
typo 3.7 2022-10-23 14:09:21 -07:00
Tyler
d5a76e6bd8
Async optimizations (#269)
* refractoring and cleaning up code for progressive frame extractor

* made progressive frame extractor async writing

* increased max frames ahead, added to config, decreased default bleed
2022-10-23 14:05:20 -07:00
Tyler
c9c5e366bd
fix macos sorting bug
closes  #265
2022-10-23 12:09:20 -07:00
Tyler
494d4107f8 bumping version 2022-09-06 20:07:33 -07:00
Tyler
f7ad6aaafc
Update README.md 2022-09-06 19:45:46 -07:00
Tyler
b1b645c3ee
updating dandere2x to be unix buildable (macos + linux) (#261)
* backing up work

* found the source of bug

* backing up work

* backing up work

* fixed bug linux building

Co-authored-by: tyler <tyler@openraven.com>
2022-09-06 19:39:07 -07:00
tyler
f6d79fe44c oops 3.6.1b 2022-07-11 21:30:36 -07:00
Tyler
1af3d27df4 changed log message level 3.6b 2022-07-06 19:53:05 -07:00
Tyler
57bcb4b145 removed cv2 references 2022-07-06 19:50:23 -07:00
Tyler
85fe07ced6
Removing pre processing (#252)
* mvp

* experimenting with parameter changes for multiprocessing

* pushing for a release, just changes to get parts to fit
2022-07-04 22:18:21 -07:00
Tyler
8c17c6617d
fixed building issue (#251) 2022-07-04 19:19:25 -07:00
Tyler
1d87b557d1 added hwaccel to multiprocessing 2022-06-13 21:01:06 -07:00
Tyler
b261eae889 added code for detecting if a video is using variable frame rate 2022-06-12 20:13:39 -07:00
Tyler
03cdbb05ca fixed bug where on newest windows 10, run rather than popen needed to be used 2022-06-12 20:13:06 -07:00
Tyler
b65653bd11 removed the need to write to temp file by writing to memory instead 2022-06-12 20:12:10 -07:00
Tyler
616c7fba99 changed exhaustive search to no searching, disabled multiprocessing 2022-06-12 20:10:27 -07:00
Tyler
bf1a46d5c9
Waifu2x ncnn vulkan update (#226)
* added realSR option

* allowing 4x on vulkan, updating download registry
2021-10-17 18:02:31 -07:00
Tyler
ed335de879
fixed bug for multiprocessing 3.5 2021-10-16 21:31:27 -07:00
João Fauvel
43a551b1f5
Many changes to the linux_setup.sh, and to get realsr from master branch to a working, but not very usable, state. (#221)
* adding ffmpeg as requirement

* should only check if the binary was not created

* unnecessary cd

* adding checks for installed binaries on the system. if installed, use that as a path, else download latest (if there are precompiled binaries or point the user to where he can build it

* setting ffmpeg binaries and creating a config accordindly

* better success message

* streamlining if statement with the rest of the script

* correcting issue with multi and singleprocessing settings

* adding realsr upscaling engine to enum

* updating arguments and help

* space between %s

* adding realsr upscaler import and updating _get_upscale_engine

* logging error if engine is does not exist

* should not pass the formatted text to the logger

* should not pass the formatted text to the logger

* should not pass the formatted text to the logger

* adding and fixing imports to get realsr working

* adding controller parameter to upscaler class, changing the context object type and calling super with controller object

* changes to get realsr to a working state

* changes to get realsr to a working state

* changes to get realsr to a working state

* delete test footage

* Updated linux instructions

As a side note, linux_setup.sh should remove the need for the path fixing for windows and linux binaries that is currently in the code. linux_setup.sh now creates a config with binary paths.

* Update executable_paths.yaml

Co-authored-by: Tyler <akai.katto@gmail.com>
2021-10-04 20:13:44 -07:00
Tyler
77aa435315
realSR + removing noise dependency on input video (#224)
* bakcing up work

* backing up work

* optimized noising of images to make noising images faster

* av test commit

* Revert "av test commit"

This reverts commit 0cfb4f3e2d6265de411c57a9196a06f61dc0b5f8.
2021-10-04 19:07:03 -07:00
Tyler
bd5f0bf37a removing walrus operator 2021-07-10 15:17:06 -07:00
Tyler
30eb9526cd removing walrus operator 2021-07-10 15:04:57 -07:00
Tyler
e1479bc643 fixed bug where fade frames werent updating correctly 3.3.1 2021-07-05 16:02:01 -07:00
Tyler
15a94fb37f
Update README.md 2021-06-26 10:43:06 -07:00
Tyler
d89f4b26ba
Delete FUNDING.yml 2021-06-26 10:42:14 -07:00
dependabot[bot]
9cb2a22092
Bump pyyaml from 5.1.2 to 5.4 in /src (#201)
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1.2 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1.2...5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-26 10:41:59 -07:00
Tyler
cd340fc4f5 cleaning up repository 2021-06-26 10:32:17 -07:00
akai katto
b02b45dd15 downgrading cmake requirement and c style for Docker image 2021-06-24 21:05:59 -07:00
Tyler
0c34db313b
print statement for version 2021-06-24 20:18:55 -07:00
Tyler
f636a3eeb2
cpp remaster (#211)
Co-authored-by: akai_katto <akaikatto@gmail.com>
2021-06-24 19:47:02 -07:00
Tyler
b1be765e93
deleting workflow since pyinstaller wont work 0.3.3 2021-02-20 16:52:08 -08:00
Tyler
e6128a09e3
adding 3.8 support to Docker image (#196) 2021-02-20 10:03:52 -08:00
Tyler
d1df3c2db0
fixed arguments for waifu2x-ncnn-vulkan 2021-02-17 19:47:09 -08:00
Tyler
b659aa8c03
general improvements (#195)
* added print statements for waifu2x-ncnn-vulkan failing, added try / catch exception on abstracted class call

* added hwaccel support for re-encoding and piping

Leaving both on as an experiment

* better and new logging

* replaced print statement with log
3,2
2021-02-15 19:16:01 -08:00
Tyler
6011a55274
adding config as optional argument for cli (#192) 2021-02-10 18:48:06 -08:00
Tyler
ff2cb802e6
added audio config, fixed re-encoding bug. (#191)
* added support for custom audio configerations

* reverted audio migration back to legacy, still allowing config, added console output in workspace for audio migration

* added missing flag

* reformat + removed print statement
3,1
2021-02-08 19:59:49 -08:00
postcc
45f393090e
Fix output_options.yaml (#189)
Recently updated version of this file is giving me the following error:
```
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 954, in _bootstrap_inner
  File "dandere2x\__init__.py", line 56, in run
  File "dandere2x\dandere2x_service\service_types\singleprocess_service.py", line 60, in run
  File "dandere2x\dandere2x_service\service_types\singleprocess_service.py", line 40, in _pre_process
  File "dandere2x\dandere2x_service\service_types\dandere2x_service_interface.py", line 78, in _check_and_fix_resolution
  File "dandere2x\dandere2xlib\wrappers\ffmpeg\ffmpeg.py", line 130, in append_resize_filter_to_pre_process
AttributeError: 'str' object has no attribute 'append'
```

Quick comparison with the old version of the suggested this syntactic YAML change.
2021-01-31 17:53:50 -08:00
Tyler
d16ffa2efc settings to make output video look much nicer
Co-Authored-By: solonovamax <solonovamax@12oclockpoint.com>
2021-01-28 19:44:17 -08:00
Tyler
cd702897f6
trying to get ci to work 2021-01-28 18:32:36 -08:00
Tyler
3d9fc72932
trying to setup github ci 2021-01-28 17:52:44 -08:00
Tyler
d4d80df89d
trying out github ci 2021-01-28 17:52:08 -08:00
Tyler
cede1445aa
adding try/catch to unknown cv2 behavior (#186) 2021-01-23 21:06:16 -08:00
Tyler
09f8ad7d65
updating read-the-docs (#183) 2021-01-22 21:03:32 -08:00