From e1f4cdd71d72aa8787227d3f3c97cddbaf37577e Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Fri, 11 Feb 2022 06:55:07 +0000 Subject: [PATCH] updated licensing info in source files --- README.md | 4 ++-- video2x/__init__.py | 20 ++++++++++++++++++-- video2x/__main__.py | 20 ++++++++++++++++++-- video2x/decoder.py | 15 +++++++++++++++ video2x/encoder.py | 15 +++++++++++++++ video2x/interpolator.py | 15 +++++++++++++++ video2x/upscaler.py | 15 +++++++++++++++ video2x/video2x.py | 37 ++++++++++++++----------------------- 8 files changed, 112 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 0837d28..1d900f2 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ Video2X's documentations are hosted on this repository's [Wiki page](https://git Video2X is a video/GIF/image upscaling and frame interpolation software written in Python. It can use these following state-of-the-art algorithms to increase the resolution and frame rate of your video/GIF/image. More information about the algorithms that it supports can be found in [the documentations](https://github.com/k4yt3x/video2x/wiki/Algorithms). +### Video Upscaling + ![Spirited Away Demo](https://user-images.githubusercontent.com/21986859/49412428-65083280-f73a-11e8-8237-bb34158a545e.png)\ _Upscale demo: Spirited Away's movie trailer_ -Below are some demo videos you can watch to get a taste of the program: - - **Spirited Away**: [YouTube](https://youtu.be/mGEfasQl2Zo) | [Bilibili](https://www.bilibili.com/video/BV1V5411471i/) - 360P to 4K - The [original video](https://www.youtube.com/watch?v=ByXuk9QqQkk)'s copyright belongs to 株式会社スタジオジブリ diff --git a/video2x/__init__.py b/video2x/__init__.py index 175d984..7a66cf4 100755 --- a/video2x/__init__.py +++ b/video2x/__init__.py @@ -1,11 +1,27 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Name: Video2X package init +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + +Name: Package Init Author: K4YT3X Date Created: July 3, 2021 -Last Modified: July 3, 2021 +Last Modified: February 11, 2022 """ + from .video2x import Video2X from .upscaler import Upscaler from .interpolator import Interpolator diff --git a/video2x/__main__.py b/video2x/__main__.py index 56915bc..bdb75cb 100755 --- a/video2x/__main__.py +++ b/video2x/__main__.py @@ -1,13 +1,29 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ -Name: Video2X package main +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + +Name: Package Main Author: K4YT3X Date Created: July 3, 2021 -Last Modified: July 3, 2021 +Last Modified: February 11, 2022 """ from .video2x import main + if __name__ == "__main__": main() diff --git a/video2x/decoder.py b/video2x/decoder.py index ef8d7ce..bbec441 100755 --- a/video2x/decoder.py +++ b/video2x/decoder.py @@ -1,6 +1,21 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + Name: Video Decoder Author: K4YT3X Date Created: June 17, 2021 diff --git a/video2x/encoder.py b/video2x/encoder.py index 500a2d1..5109c7e 100755 --- a/video2x/encoder.py +++ b/video2x/encoder.py @@ -1,6 +1,21 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + Name: Video Encoder Author: K4YT3X Date Created: June 17, 2021 diff --git a/video2x/interpolator.py b/video2x/interpolator.py index 64e754c..5800f34 100755 --- a/video2x/interpolator.py +++ b/video2x/interpolator.py @@ -1,6 +1,21 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + Name: Interpolator Author: K4YT3X Date Created: May 27, 2021 diff --git a/video2x/upscaler.py b/video2x/upscaler.py index a9f57da..2c5a543 100755 --- a/video2x/upscaler.py +++ b/video2x/upscaler.py @@ -1,6 +1,21 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + Name: Upscaler Author: K4YT3X Date Created: May 27, 2021 diff --git a/video2x/video2x.py b/video2x/video2x.py index 6d9a0d9..4c1b6a4 100755 --- a/video2x/video2x.py +++ b/video2x/video2x.py @@ -1,6 +1,20 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- r""" +Copyright (C) 2018-2022 K4YT3X and contributors. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . __ __ _ _ ___ __ __ \ \ / / (_) | | |__ \ \ \ / / @@ -23,29 +37,6 @@ Last Modified: June 25, 2019 Editor: 28598519a Last Modified: March 23, 2020 - -Licensed under the GNU Affero General Public License Version 3 (GNU GPL v3), - available at: https://www.gnu.org/licenses/agpl-3.0.txt - -Copyright (C) 2018-2022 K4YT3X and contributors. - -Video2X is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Video2X is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . - -Description: Video2X is an automation software based on waifu2x image -enlarging engine. It extracts frames from a video, enlarge it by a -number of times without losing any details or quality, keeping lines -smooth and edges sharp. """ # local imports