k4yt3x
f27d8556c0
style(libvideo2x): remove C headers
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-12-02 00:00:00 +00:00
K4YT3X
f8dcad3aef
chore(libvideo2x)!: replace the C API with C++ API ( #1245 )
...
* chore(libvideo2x)!: replace the C API with C++ API
* fix: convert wide string to u8 for av_opt_set
* style: removed unnecessary enum and struct specifiers
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-12-02 07:24:30 +00:00
k4yt3x
24d43a8478
feat(video2x): update CLI help message examples
...
Build / ubuntu (push) Waiting to run
Build / windows (push) Waiting to run
Build / container (push) Waiting to run
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-12-01 00:00:00 +00:00
K4YT3X
627f3d84a4
feat(rife): add support for frame interpolation and RIFE ( #1244 )
...
Build / ubuntu (push) Waiting to run
Build / windows (push) Waiting to run
Build / container (push) Waiting to run
* feat: add RIFE files and processor/interpolator abstractions
* feat: add `rife` as processor option
* feat: add frame interpolation math except first frame
* feat: complete motion interpolation and add scene detection
* feat: improve Vulkan device validation
* fix: fix casting issues and variable names
* refactor: improve error-checking; add abstractions and factories
* refactor: improve readability of the frames processor
* docs: update changelog
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-12-01 09:55:56 +00:00
k4yt3x
3215c89870
feat(encoder): add support for more encoder options
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-22 00:00:00 +00:00
k4yt3x
169509b7d4
refactor(*): refactored the encoder and decoder into classes
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-17 00:00:00 +00:00
k4yt3x
980b44bc05
fix(libvideo2x): added missing checks around freeing memory
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-13 00:00:00 +00:00
k4yt3x
4c919de6ba
fix(encoder): read pix_fmts from AVCodec->pix_fmts for old libavformat
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-10 00:00:00 +00:00
k4yt3x
e393910f21
feat(encoder): added auto selection of the most suitable output pix_fmt
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-10 00:00:00 +00:00
k4yt3x
e477123e88
fix(encoder): timestamp errors processing frames with PTS equal to 0
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-10 00:00:00 +00:00
k4yt3x
c8f2acdea6
feat(libplacebo): made hardware context creation failure non-critical
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-09 00:00:00 +00:00
k4yt3x
e07beb67a4
chore(video2x): moved the CLI application to a separate directory
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-08 00:00:00 +00:00
k4yt3x
bc8ae34dde
refactor(libvideo2x): extracted video frame count estimation into a function
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-08 00:00:00 +00:00
k4yt3x
943b446d26
fix(encoder): make the encoder use the right color space
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-07 00:00:00 +00:00
k4yt3x
05b275dd82
feat(video2x): added time remaining and processing speed to the progress bar
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-06 00:00:00 +00:00
k4yt3x
33b7c53e16
fix(encoder): fixed incorrect stream mapping for multi-stream files
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-06 00:00:00 +00:00
k4yt3x
ec4b51064a
feat(libplacebo): added Vulkan device selection for libplacebo
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-04 00:00:00 +00:00
k4yt3x
bcbe33d5dc
feat(video2x): added the --listgpus
option and GPU ID validation
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-04 00:00:00 +00:00
k4yt3x
1d1792d10f
style: added platform-dependent type aliases for char and string
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-04 00:00:00 +00:00
k4yt3x
851f13bd4d
fix(libvideo2x): fixed errors in estimating the total number of frames
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-03 00:00:00 +00:00
k4yt3x
fbe3b44139
feat(video2x): improved the timer
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-03 00:00:00 +00:00
k4yt3x
d6f27b3f22
fix(libplacebo): fixed wide char string path support for GLSL shader path
2024-11-02 23:13:03 -04:00
k4yt3x
fb0e3a040d
fix(video2x): fixed RealESRGAN model name parsing
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-02 00:00:00 +00:00
k4yt3x
bb74144070
fix(realesrgan): fixed RealESRGAN model name variable
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-02 00:00:00 +00:00
k4yt3x
406a97f360
fix(video2x): fixed return code fetching
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-02 00:00:00 +00:00
k4yt3x
9c491d4277
feat: improved file not found messages
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-02 00:00:00 +00:00
k4yt3x
0588908dd6
fix(video2x): fixed string conversions on Linux
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-11-02 00:00:00 +00:00
k4yt3x
b309bec1cb
feat(video2x): rewritten the CLI with C++
2024-11-01 22:20:32 -04:00
k4yt3x
94e69f9f62
fix(libvideo2x): fixed wide character string paths on Windows
2024-11-01 22:19:01 -04:00
k4yt3x
a8b952c3ad
feat(libplacebo): auto-detect the buffer filter's supported options
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-31 00:00:00 +00:00
k4yt3x
5156d4a825
fix(video2x): fixed Anime4K shader name in the help message
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-30 00:00:00 +00:00
k4yt3x
d50cf54f2a
style(libvideo2x): improved resource cleaning and error handling
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-29 00:00:00 +00:00
k4yt3x
613b75ffec
fix(encoder): fixed incorrect encoded video frame rate
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-28 00:00:00 +00:00
k4yt3x
9d342c51a2
fix(libplacebo): fixed libplacebo shader path formatting on Windows
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-28 00:00:00 +00:00
Neo_Chen (BU4AK)
ebef5f54cb
fix(video2x): fixed -g option in src/video2x.c and help message for libplacebo ( #1197 )
...
* fixed -g option in src/video2x.c and help message for libplacebo
* style: sorted getopt options
---------
Signed-off-by: Neo_Chen <chenkolei@gmail.com>
Co-authored-by: K4YT3X <i@k4yt3x.com>
2024-10-26 19:16:55 +00:00
k4yt3x
ebd5e8eb3d
fix(realesrgan): fixed incorrect type for ncnn::Mat elemsize
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-26 00:00:00 +00:00
k4yt3x
50d5cb16d1
docs(video2x): updated command line help messages
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-26 00:00:00 +00:00
k4yt3x
8eac1a7393
feat(libplacebo): added more modes for Anime4K v4
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-26 00:00:00 +00:00
k4yt3x
f0f3166d92
chore(models): moved model files into subdirectories
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-26 00:00:00 +00:00
k4yt3x
482e82f9c4
style(*): reduced implicit casting and other styling issues
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-25 00:00:00 +00:00
k4yt3x
eb7d411f49
perf(libvideo2x): removed unnecessary read of nb_frames
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-22 00:00:00 +00:00
k4yt3x
640d9cd52b
fix(encoder): fixed memory leak in the encoder
...
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-21 00:00:00 +00:00
K4YT3X
bc168d11ab
feat(libvideo2x): use OpenCV to retrieve total frame count ( #1194 )
2024-10-21 23:54:22 +00:00
K4YT3X
cd2006b4d9
feat(*): switched to spdlog for logging and organized headers ( #1183 )
...
* feat: updated PKGBUILD description
* feat: updated workflow syntax and dependencies
* feat: switched logging to spdlog
* chore: adjusted library defaults
* ci: fixed spdlog format string issues
* docs: fixed docs for libvideo2x functions
* feat: organized header files
* fix: fixed header installation directory
* feat: link spdlog statically if compiled from source
* feat: adjusted libvideo2x log level enum names
* feat: added version.h header
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-14 02:46:59 +00:00
K4YT3X
37c2c4c647
feat(*): added support for copying audio/subtitle streams and pause/abort ( #1179 )
...
* feat: added Makefile target for debian
* fix: fixed Dockerfile installing the wrong package
* feat: added hwaccel for encoder and decoder
* feat: added benchmark mode
* feat: removed hard-coded keyframe info
* chore: cleaned up headers and organized code
* style: cleaned up headers and includes
* feat: added a progress bar for CLI
* feat: removed atomicity requirements on processed frames
* feat: added pause and abort for CLI
* chore: updated default preset and crf settings
* feat: added support for copying audio and subtitle streams
* fix: fixed syntax issues for MSVC
* fix: fixed audio/subtitle timestamp rescaling
Signed-off-by: k4yt3x <i@k4yt3x.com>
2024-10-10 07:23:13 +00:00
K4YT3X
a7952fc493
feat(*): rewritten the project with C/C++ ( #1172 )
2024-10-08 02:29:00 +00:00
K4YT3X
e870399af1
moved src to video2x for PyPI
2021-07-06 00:56:12 +00:00
K4YT3X
26795c5561
fixed issue #427
2021-01-23 17:01:38 -05:00
K4YT3X
5543382d03
fixed issue 443
2021-01-23 16:48:29 -05:00
K4YT3X
dc51b8b04c
attempting to fix #442
2021-01-23 16:33:40 -05:00