Posts: 750
Threads: 72
Joined: Feb 2020
(28.02.2024, 17:32)Selur Wrote: Will try some more tomorrow.
Making a separate addon, doesn't seem feasable due to the ton of dependencies, to the torch-Addon will probably increase another 2GB in size,..
(assuming installing works fine tomorrow after work, I probably can look into adding support for it in Hybrid over the weekend,... )
Cu Selur
I created a repository for this filter where it is possible also to download the wheel archive.
You can find the project here: https://github.com/dan64/vs-deoldify
This is my first python project published in github. I hope that is all Ok.
If you see problems, please let me know.
Thanks,
Dan
P.S.
When will be available in Hybrid, I will update the README to include the reference to Hybrid
Posts: 750
Threads: 72
Joined: Feb 2020
Hello Selur,
I released a new version: https://github.com/dan64/vs-deoldify/rel...tag/v1.0.1
I removed the parameter post_process because was not useful and substitute it with the new parameter torch_hub_dir .
I know that you want full control of where the models are installed and with this new parameter you can control where are stored the neural networks downloaded by torch.
Dan
Posts: 10.598
Threads: 57
Joined: May 2017
Nice! Thanks.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.598
Threads: 57
Joined: May 2017
calling: python -m pip install -U vsdeoldify
I get:
Requirement already satisfied: vsdeoldify in f:\hybrid\64bit\vapoursynth\lib\site-packages (1.0.0)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 750
Threads: 72
Joined: Feb 2020
For me it is working.
I first renamed/removed the previous version because was not installed with pip.
Then i run
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 26/04/2023 17:41 713861 tensorrt-8.6.1-cp311-none-win_amd64.whl
-a---- 29/02/2024 18:45 247323 vsdeoldify-1.0.0-py3-none-any.whl
-a---- 01/03/2024 09:42 247775 vsdeoldify-1.0.1-py3-none-any.whl
PS D:\Programs\Hybrid\64bit\Vapoursynth> .\python -m pip install vsdeoldify-1.0.0-py3-none-any.whl
Processing d:\programs\hybrid\64bit\vapoursynth\vsdeoldify-1.0.0-py3-none-any.whl
Requirement already satisfied: fastai==1.0.60 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (1.0.60)
Requirement already satisfied: numpy>=1.26.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (1.26.2)
Requirement already satisfied: pillow>=9.0.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (9.5.0)
Requirement already satisfied: torch-tensorrt-fx-only>=1.5.0.dev0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (1.5.0.dev0)
Requirement already satisfied: torch>=2.1.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (2.1.1+cu121)
Requirement already satisfied: vapoursynth>=60 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (62)
Requirement already satisfied: vstools>=2.1.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.0) (2.1.0)
Requirement already satisfied: bottleneck in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (1.3.8)
Requirement already satisfied: fastprogress>=0.2.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (1.0.3)
Requirement already satisfied: beautifulsoup4 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (4.12.3)
Requirement already satisfied: matplotlib in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (3.7.1)
Requirement already satisfied: numexpr in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (2.9.0)
Requirement already satisfied: nvidia-ml-py3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (7.352.0)
Requirement already satisfied: pandas in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (2.0.1)
Requirement already satisfied: packaging in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (23.2)
Requirement already satisfied: pyyaml in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (6.0)
Requirement already satisfied: requests in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (2.31.0)
Requirement already satisfied: scipy in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (1.12.0)
Requirement already satisfied: spacy>=2.0.18 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (3.7.4)
Requirement already satisfied: torchvision in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.0) (0.16.1)
Requirement already satisfied: filelock in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (3.12.0)
Requirement already satisfied: typing-extensions in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (4.10.0)
Requirement already satisfied: sympy in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (1.12)
Requirement already satisfied: networkx in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (3.1)
Requirement already satisfied: jinja2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (3.1.2)
Requirement already satisfied: fsspec in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.0) (2023.5.0)
Requirement already satisfied: rich>=12.6.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vstools>=2.1.0->vsdeoldify==1.0.0) (13.3.5)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.0) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.0) (2.15.1)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.11 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (3.0.12)
Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (1.0.5)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (1.0.10)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (2.0.8)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (3.0.9)
Requirement already satisfied: thinc<8.3.0,>=8.2.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (8.2.3)
Requirement already satisfied: wasabi<1.2.0,>=0.9.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (1.1.2)
Requirement already satisfied: srsly<3.0.0,>=2.4.3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (2.4.8)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (2.0.10)
Requirement already satisfied: weasel<0.4.0,>=0.1.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.3.4)
Requirement already satisfied: typer<0.10.0,>=0.3.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.9.0)
Requirement already satisfied: smart-open<7.0.0,>=5.2.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (6.4.0)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (4.66.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (2.6.3)
Requirement already satisfied: setuptools in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (67.7.2)
Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (3.3.0)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.0) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.0) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.0) (2.0.2)
Requirement already satisfied: certifi>=2017.4.17 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.0) (2023.5.7)
Requirement already satisfied: soupsieve>1.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from beautifulsoup4->fastai==1.0.60->vsdeoldify==1.0.0) (2.5)
Requirement already satisfied: MarkupSafe>=2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from jinja2->torch>=2.1.1->vsdeoldify==1.0.0) (2.1.2)
Requirement already satisfied: contourpy>=1.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (1.0.7)
Requirement already satisfied: cycler>=0.10 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (4.39.4)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pandas->fastai==1.0.60->vsdeoldify==1.0.0) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pandas->fastai==1.0.60->vsdeoldify==1.0.0) (2023.3)
Requirement already satisfied: mpmath>=0.19 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from sympy->torch>=2.1.1->vsdeoldify==1.0.0) (1.3.0)
Requirement already satisfied: mdurl~=0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.0) (0.1.2)
Requirement already satisfied: annotated-types>=0.4.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (2.16.3)
Requirement already satisfied: six>=1.5 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from python-dateutil>=2.7->matplotlib->fastai==1.0.60->vsdeoldify==1.0.0) (1.16.0)
Requirement already satisfied: blis<0.8.0,>=0.7.8 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.7.11)
Requirement already satisfied: confection<1.0.0,>=0.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.1.4)
Requirement already satisfied: colorama in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from tqdm<5.0.0,>=4.38.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.4.6)
Requirement already satisfied: click<9.0.0,>=7.1.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from typer<0.10.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (8.1.3)
Requirement already satisfied: cloudpathlib<0.17.0,>=0.7.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from weasel<0.4.0,>=0.1.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.0) (0.16.0)
Installing collected packages: vsdeoldify
Successfully installed vsdeoldify-1.0.0
PS D:\Programs\Hybrid\64bit\Vapoursynth> .\python -m pip install vsdeoldify-1.0.1-py3-none-any.whl
Processing d:\programs\hybrid\64bit\vapoursynth\vsdeoldify-1.0.1-py3-none-any.whl
Requirement already satisfied: fastai==1.0.60 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (1.0.60)
Requirement already satisfied: numpy>=1.26.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (1.26.2)
Requirement already satisfied: pillow>=9.0.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (9.5.0)
Requirement already satisfied: torch>=2.1.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (2.1.1+cu121)
Requirement already satisfied: vapoursynth>=60 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (62)
Requirement already satisfied: vstools>=2.1.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vsdeoldify==1.0.1) (2.1.0)
Requirement already satisfied: bottleneck in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (1.3.8)
Requirement already satisfied: fastprogress>=0.2.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (1.0.3)
Requirement already satisfied: beautifulsoup4 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (4.12.3)
Requirement already satisfied: matplotlib in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (3.7.1)
Requirement already satisfied: numexpr in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (2.9.0)
Requirement already satisfied: nvidia-ml-py3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (7.352.0)
Requirement already satisfied: pandas in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (2.0.1)
Requirement already satisfied: packaging in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (23.2)
Requirement already satisfied: pyyaml in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (6.0)
Requirement already satisfied: requests in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (2.31.0)
Requirement already satisfied: scipy in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (1.12.0)
Requirement already satisfied: spacy>=2.0.18 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (3.7.4)
Requirement already satisfied: torchvision in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from fastai==1.0.60->vsdeoldify==1.0.1) (0.16.1)
Requirement already satisfied: filelock in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (3.12.0)
Requirement already satisfied: typing-extensions in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (4.10.0)
Requirement already satisfied: sympy in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (1.12)
Requirement already satisfied: networkx in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (3.1)
Requirement already satisfied: jinja2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (3.1.2)
Requirement already satisfied: fsspec in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from torch>=2.1.1->vsdeoldify==1.0.1) (2023.5.0)
Requirement already satisfied: rich>=12.6.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from vstools>=2.1.0->vsdeoldify==1.0.1) (13.3.5)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.1) (2.2.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.1) (2.15.1)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.11 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (3.0.12)
Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (1.0.5)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (1.0.10)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (2.0.8)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (3.0.9)
Requirement already satisfied: thinc<8.3.0,>=8.2.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (8.2.3)
Requirement already satisfied: wasabi<1.2.0,>=0.9.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (1.1.2)
Requirement already satisfied: srsly<3.0.0,>=2.4.3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (2.4.8)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (2.0.10)
Requirement already satisfied: weasel<0.4.0,>=0.1.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.3.4)
Requirement already satisfied: typer<0.10.0,>=0.3.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.9.0)
Requirement already satisfied: smart-open<7.0.0,>=5.2.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (6.4.0)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (4.66.1)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (2.6.3)
Requirement already satisfied: setuptools in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (67.7.2)
Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (3.3.0)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.1) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.1) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.1) (2.0.2)
Requirement already satisfied: certifi>=2017.4.17 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from requests->fastai==1.0.60->vsdeoldify==1.0.1) (2023.5.7)
Requirement already satisfied: soupsieve>1.2 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from beautifulsoup4->fastai==1.0.60->vsdeoldify==1.0.1) (2.5)
Requirement already satisfied: MarkupSafe>=2.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from jinja2->torch>=2.1.1->vsdeoldify==1.0.1) (2.1.2)
Requirement already satisfied: contourpy>=1.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (1.0.7)
Requirement already satisfied: cycler>=0.10 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (4.39.4)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (1.4.4)
Requirement already satisfied: pyparsing>=2.3.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pandas->fastai==1.0.60->vsdeoldify==1.0.1) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pandas->fastai==1.0.60->vsdeoldify==1.0.1) (2023.3)
Requirement already satisfied: mpmath>=0.19 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from sympy->torch>=2.1.1->vsdeoldify==1.0.1) (1.3.0)
Requirement already satisfied: mdurl~=0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich>=12.6.0->vstools>=2.1.0->vsdeoldify==1.0.1) (0.1.2)
Requirement already satisfied: annotated-types>=0.4.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.3 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (2.16.3)
Requirement already satisfied: six>=1.5 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from python-dateutil>=2.7->matplotlib->fastai==1.0.60->vsdeoldify==1.0.1) (1.16.0)
Requirement already satisfied: blis<0.8.0,>=0.7.8 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.7.11)
Requirement already satisfied: confection<1.0.0,>=0.0.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.1.4)
Requirement already satisfied: colorama in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from tqdm<5.0.0,>=4.38.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.4.6)
Requirement already satisfied: click<9.0.0,>=7.1.1 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from typer<0.10.0,>=0.3.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (8.1.3)
Requirement already satisfied: cloudpathlib<0.17.0,>=0.7.0 in d:\programs\hybrid\64bit\vapoursynth\lib\site-packages (from weasel<0.4.0,>=0.1.0->spacy>=2.0.18->fastai==1.0.60->vsdeoldify==1.0.1) (0.16.0)
Installing collected packages: vsdeoldify
Attempting uninstall: vsdeoldify
Found existing installation: vsdeoldify 1.0.0
Uninstalling vsdeoldify-1.0.0:
Successfully uninstalled vsdeoldify-1.0.0
Successfully installed vsdeoldify-1.0.1
PS D:\Programs\Hybrid\64bit\Vapoursynth>
as you can see pip deinstalled the "old" version and installed the "new" one.
Please try to perform a clean installation.
Thanks,
Dan
Posts: 10.598
Threads: 57
Joined: May 2017
01.03.2024, 19:22
(This post was last modified: 01.03.2024, 19:24 by Selur.)
removing the old vsdeoldify folders and calling "python -m pip install -U vsdeoldify"
gives me:
F:\Hybrid\64bit\Vapoursynth>python -m pip install -U vsdeoldify
ERROR: Could not find a version that satisfies the requirement vsdeoldify (from versions: none)
ERROR: No matching distribution found for vsdeoldify
before that, trying to uninstall it through pip gave me:
F:\Hybrid\64bit\Vapoursynth>python -m pip uninstall vsdeoldify
Found existing installation: vsdeoldify 1.0.0
Can't uninstall 'vsdeoldify'. No files were found to uninstall.
installing from the whl file seems to work.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 750
Threads: 72
Joined: Feb 2020
Sorry I don't have published this filter on the PyPI repository yet.
The installation is working only using the whl file.
I will update the README
Posts: 10.598
Threads: 57
Joined: May 2017
Ah, okay, that explains the confusion.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 750
Threads: 72
Joined: Feb 2020
I tested the dev version of Hybrid with "vsdeoldify" support.
The generated script is working well with "vsViewer" both in preview and encoding mode.
But is not working when is used with "vsPipe".
To try to understand what is happening I used ffmpeg.
Test 1: I used ffmpeg with Vaoursynth support (like my modded version of vsViewer).
D:\PProjects\vs-deoldify_dev>"D:\Programs\Hybrid\64bit\Vapoursynth\ffmpeg.exe" -f vapoursynth -i "D:\PProjects\vs-deoldify_dev\encoding.vpy" -c:v libx265 -c:a copy "D:\PProjects\vs-deoldify_dev\VideoTest1_720p-1.mp4"
ffmpeg version N-113112-g548ceb9b8f-gf5f414d9c4+3 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.0 (Rev3, Built by MSYS2 project)
configuration: --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-openal --enable-vapoursynth --enable-opencl --enable-opengl --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags='-IH:/mabs/local64/include' --extra-cflags='-IH:/mabs/local64/include/AL'
libavutil 58. 36.100 / 58. 36.100
libavcodec 60. 36.100 / 60. 36.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 14.101 / 9. 14.101
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
Note: NumExpr detected 20 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
NumExpr defaulting to 8 threads.
Input #0, vapoursynth, from 'D:\PProjects\vs-deoldify_dev\encoding.vpy':
Duration: 00:01:48.19, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: wrapped_avframe, yuv420p10le, 1280x692, 23.98 tbr, 23.98 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> hevc (libx265))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 3.5+113-2d109669e
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 20 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 4 / wpp(11 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias : 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing deblock sao
Output #0, mp4, to 'D:\PProjects\vs-deoldify_dev\VideoTest1_720p-1.mp4':
Metadata:
encoder : Lavf60.20.100
Stream #0:0: Video: hevc (hev1 / 0x31766568), yuv420p10le(bt709, progressive), 1280x692, q=2-31, 23.98 fps, 24k tbn
Metadata:
encoder : Lavc60.36.100 libx265
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[out#0/mp4 @ 000001eb5e125a40] video:6136kB audio:0kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.587747%
frame= 2594 fps=6.2 q=35.5 Lsize= 6172kB time=00:01:48.10 bitrate= 467.7kbits/s speed=0.26x
x265 [info]: frame I: 14, Avg QP:26.87 kb/s: 3957.69
x265 [info]: frame P: 663, Avg QP:27.55 kb/s: 1218.26
x265 [info]: frame B: 1917, Avg QP:33.90 kb/s: 177.35
x265 [info]: Weighted P-Frames: Y:11.3% UV:10.6%
encoded 2594 frames in 416.57s (6.23 fps), 463.80 kb/s, Avg QP:32.24
In this way the encoding was successfully.
Test 2: I used ffmpeg with Windows pipe (like "vsPipe").
D:\PProjects\vs-deoldify_dev>"D:\Programs\Hybrid\64bit\Vapoursynth\ffmpeg.exe" -f vapoursynth -i "D:\PProjects\vs-deoldify_dev\encoding.vpy" -vcodec rawvideo -strict -1 -f yuv4mpegpipe - | "D:\Programs\Hybrid\64bit\x265.exe" --y4m - -o "D:\PProjects\vs-deoldify_dev\VideoTest1_720p-1.265"
ffmpeg version N-113112-g548ceb9b8f-gf5f414d9c4+3 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.0 (Rev3, Built by MSYS2 project)
configuration: --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-openal --enable-vapoursynth --enable-opencl --enable-opengl --enable-mbedtls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags='-IH:/mabs/local64/include' --extra-cflags='-IH:/mabs/local64/include/AL'
libavutil 58. 36.100 / 58. 36.100
libavcodec 60. 36.100 / 60. 36.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 14.101 / 9. 14.101
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
x265 [error]: unable to open input file <->
Input #0, vapoursynth, from 'D:\PProjects\vs-deoldify_dev\encoding.vpy':
Duration: 00:01:48.19, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: wrapped_avframe, yuv420p10le, 1280x692, 23.98 tbr, 23.98 tbn
Stream mapping:
Stream #0:0 -> #0:0 (wrapped_avframe (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[yuv4mpegpipe @ 0000022278745e40] Warning: generating non standard YUV stream. Mjpegtools will not work.
Output #0, yuv4mpegpipe, to 'pipe:':
Metadata:
encoder : Lavf60.20.100
Stream #0:0: Video: rawvideo (Y3[11][10] / 0xA0B3359), yuv420p10le(bt709, progressive), 1280x692, q=2-31, 318555 kb/s, 23.98 fps, 23.98 tbn
Metadata:
encoder : Lavc60.36.100 rawvideo
[vost#0:0/rawvideo @ 0000022278746980] Error submitting a packet to the muxer: Invalid argument
Last message repeated 1 times
[out#0/yuv4mpegpipe @ 0000022276f6ed80] Error muxing a packet
[out#0/yuv4mpegpipe @ 0000022276f6ed80] Task finished with error code: -22 (Invalid argument)
[out#0/yuv4mpegpipe @ 0000022276f6ed80] Terminating thread with return code -22 (Invalid argument)
[out#0/yuv4mpegpipe @ 0000022276f6ed80] Error writing trailer: Invalid argument
[out#0/yuv4mpegpipe @ 0000022276f6ed80] Error closing file: Invalid argument
[out#0/yuv4mpegpipe @ 0000022276f6ed80] video:2595kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002597%
frame= 1 fps=0.0 q=-0.0 Lsize= 2595kB time=00:00:00.04 bitrate=509705.4kbits/s speed=0.0915x
Conversion failed!
In this case the encoding failed.
the main reason of the error is: Error submitting a packet to the muxer: Invalid argument
I don't know what is this wrong argument. The error happen at the 1st frame. The problem is that the starting of encoding is very slow so I don't know what is sent as 1st frame since I think that the real frame is not yet available.
This kind problems happen with windows pipe, not clear if the pipe in Unix has not this kind of problem. In in Windows is evident.
Dan
Posts: 10.598
Threads: 57
Joined: May 2017
Hmm,.. haven't tried to encode.
Crashes here too. -> I'll look into it.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
|