معرفی شرکت ها


diet-video-0.1.14rc0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل diet-video-0.1.14rc0
نام diet-video
نسخه کتابخانه 0.1.14rc0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده javier
ایمیل نویسنده javiale2000@gmail.com
آدرس صفحه اصلی https://github.com/JavierOramas/video-diet
آدرس اینترنتی https://pypi.org/project/diet-video/
مجوز LGPL-3.0
# Video diet [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg?label=license)](https://www.gnu.org/licenses/gpl-3.0) [![Last commit](https://img.shields.io/github/last-commit/hiancdtrsnm/video-diet.svg?style=flat)](https://github.com/hiancdtrsnm/video-diet/commits) [![GitHub commit activity](https://img.shields.io/github/commit-activity/m/hiancdtrsnm/video-diet)](https://github.com/hiancdtrsnm/video-diet/commits) [![Github Stars](https://img.shields.io/github/stars/hiancdtrsnm/video-diet?style=flat&logo=github)](https://github.com/hiancdtrsnm/video-diet) [![Github Forks](https://img.shields.io/github/forks/hiancdtrsnm/video-diet?style=flat&logo=github)](https://github.com/hiancdtrsnm/video-diet) [![Github Watchers](https://img.shields.io/github/watchers/hiancdtrsnm/video-diet?style=flat&logo=github)](https://github.com/hiancdtrsnm/video-diet) [![GitHub contributors](https://img.shields.io/github/contributors/hiancdtrsnm/video-diet)](https://github.com/hiancdtrsnm/video-diet/graphs/contributors) This project aims to reduce the spaces of your videos and audios encoding it on `hevc`. ## Why video-diet? The answer is easy. I have a lot old-movies/videos and music/audios taking a lot of space in the hard-drive. So I'm always short on disk space, the by accident discover de `hevc` codec. when i need to shrink a video of `3GB` to upload it to `Telegram`, the convertion take my 3GB movie and returned a 300 MB with the same quality 😱. So I decided that I would convert all my video and audio files , but they are a lot, so I build this tool for it. More info about `hevc`: https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding ## Installation <div class="termy"> ```console $ pip install video-diet ``` </div> ## FFMPEG In order to run the project you must install `ffmpeg`. ### For Linux In any linux machine you can get it from your favorite package manager. For arch: ```console sudo pacman -S ffmpeg ``` For Debian/Ubuntu: ```console sudo apt-get install ffmpeg ``` ## For Windows Download a windows ffmpeg build here https://ffmpeg.org/download.html. Unzip it and change the folder name to `FFmpeg`. Copy the folder into `C:\` and then add the path `C:\FFmpeg\bin` to the enviroment variables of the system. To check correct instalation open a new instance of cmd and type: ```console ffmpeg --version`. ``` ## Example ### For a file ```bash video-diet file test.mp4 ``` This option conserve the original file ### For a folder ```bash video-diet folder ~/Videos ``` This option replaces the original file for the converted files #### Ignoring files on the folder ```bash video-diet folder ~/Videos --ignore-extension .mp4 ``` This option ignores all the .mp4 files on ~/Videos ```bash video-diet folder ~/Videos --ignore-path ~/Videos/subfolder ``` This option ignores all the files on ~/Videos/subfolder ## AV1 Support To use AV1 instead of hevc add --codec av1 to the commnads above and that will use libaom-av1 instad of libx265 to encode the files ## Note The video conversion can take some time. Depending on the original video properties; the conversion time can be longer than the video. ## For developers ### You must first install *poetry* Poetry provides a custom installer that will install `poetry` isolated from the rest of your system by vendorizing its dependencies. This is the recommended way of installing `poetry`. **osx / linux / bashonwindows install instructions** `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python` **windows powershell install instructions** `(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python` The installer installs the `poetry` tool to Poetry's `bin` directory. On Unix it is located at `$HOME/.poetry/bin` and on Windows at `%USERPROFILE%\.poetry\bin`. This directory will be in your `$PATH` environment variable, which means you can run them from the shell without further configuration. ### Then you need to configure the environment Inside the project make `poetry install` and after `poetry shell` for start the virtualenv. For testing the code run `video-diet`. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details. Good luck 😉. Project Structure based on awesome tutorial by @tiangolo at https://typer.tiangolo.com/tutorial/package


نیازمندی

مقدار نام
>=0.3.2,<0.4.0 typer[all]
>=0.2.0,<0.3.0 ffmpeg-python
>=1.0.7,<2.0.0 filetype
>=1.0.3,<2.0.0 ffprobe-python
>=1.6.2,<2.0.0 enlighten
>=4.0.0,<5.0.0) wexpect
>=4.8.0,<5.0.0) pexpect
>=1.89.0,<2.0.0) ansicon


زبان مورد نیاز

مقدار نام
>=3.6,<4 Python


نحوه نصب


نصب پکیج whl diet-video-0.1.14rc0:

    pip install diet-video-0.1.14rc0.whl


نصب پکیج tar.gz diet-video-0.1.14rc0:

    pip install diet-video-0.1.14rc0.tar.gz