236 Commits

Author SHA1 Message Date
Tyler
ed65d7f425 increased max frames ahead, added to config, decreased default bleed 2022-10-23 13:33:42 -07:00
Tyler
a7db2de598 made progressive frame extractor async writing 2022-10-23 13:19:16 -07:00
Tyler
ca2a7cdcbe refractoring and cleaning up code for progressive frame extractor 2022-10-23 12:31:32 -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
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
1af3d27df4 changed log message level 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
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
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 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
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
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
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
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
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
cede1445aa
adding try/catch to unknown cv2 behavior (#186) 2021-01-23 21:06:16 -08:00
Tyler
af152c72b4 fixed "event-loop is already running" bug 2021-01-16 18:43:54 -08:00
Tyler
4c3aa26166
opencv dependency change + assertions (#176)
* minor user reported issues

* added some assertions
2021-01-15 21:13:36 -08:00
Tyler
0a4fdb8277
Google collab changes (#170)
* changes needed for google collab to work

* changed default "quality-minumum" to a higher value

* wrong placement
2021-01-09 19:02:54 -08:00
Tyler
aecc92e411
testing something for junyper notebooks 2021-01-06 20:58:57 -08:00
Tyler
eaf0d34e22
3.0.1 fast follows (#167)
* added 2x scaling

* fixed default argument for workspace
2020-12-30 20:01:47 -08:00
Tyler
23c62465e2
elementary docker support (#166)
* glob

* test command

* debug

* Update requirements.txt

* Update requirements.txt

* Update requirements.txt

* quick docker notes

* docker notes

* testing config a bit more

* cleaning up docker image

* added dependencies + removing debug statements

* undoing more changes
2020-12-29 21:05:09 -08:00
Tyler
48141948dd
Bug fixes (#162)
* fixed pathing bug which would cause converter-cpp to break

* removing unused GUI items + tooltips

* removed suspend-button, as it has not been supported for months
2020-12-26 15:22:17 -08:00
Tyler
f45f358d97
general cleanup + bug fix on windows + more assertions (#161)
* renaming classes

* changing location of logic

* reformatting project + removing unused methods

* removing scratch + adding some error checking

* cleaning up code

* fixed bug with linux / windows workaround
2020-12-26 13:07:22 -08:00
Tyler
5cbda24928
new architecture + new features overhaul. Uber-merge.
Moving dandere2x to a new architecture and added a bunch of new features
2020-12-24 20:01:09 -08:00
Tyler
349b191661 added requirement for height and width to be even for resizing 2020-11-13 16:55:36 -08:00
Tyler
035c39dac1 hacky fix for NAN isssue with DAR's 2020-10-30 21:59:02 -07:00
outnos
09d990f3d3 Fixed python3 utf8 woes 2020-09-29 18:30:44 +02:00
Tyler
b3ebae4442 fixed bug wwhere it'd only goto 99% and never 100% 2020-09-27 18:43:28 -07:00
Tyler
9d98a273ad Merge branch 'master' into migrationhelper 2020-09-27 18:29:30 -07:00
Tyler
3ce709b956 updating yaml a bit 2020-09-27 18:27:59 -07:00
Tyler
b1d48660ce cleaning up way frame width / height's are adjusted 2020-09-27 18:27:47 -07:00
Tyler
bf226b30a8 using ffprobe rather than cv2 to get frames 2020-09-27 18:27:23 -07:00
Tyler
5a8f97deef going back to ffprobe for loading video settings 2020-09-27 18:27:10 -07:00
Tyler
c6bdd4749a
Merge pull request #144 from DavisZeidaks/read-frame-rate
Use avg_frame_rate for frame rate calculation
2020-09-27 18:26:07 -07:00
Tyler
8db9b0277b added migration helper 2020-09-22 20:45:35 -07:00
Tyler
52c830ac91 migrate trakcs now prints in a copy-able format 2020-09-22 20:45:30 -07:00