https://github.com/anduin2017/parser
A cli tool project helps to re-encode and save all videos under a path.
https://github.com/anduin2017/parser
Last synced: about 1 year ago
JSON representation
A cli tool project helps to re-encode and save all videos under a path.
- Host: GitHub
- URL: https://github.com/anduin2017/parser
- Owner: Anduin2017
- License: other
- Created: 2022-03-15T17:40:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-18T07:02:30.000Z (about 1 year ago)
- Last Synced: 2025-04-01T23:35:53.704Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 81.1 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Parser
[](https://gitlab.aiursoft.cn/anduin/parser/-/blob/master/LICENSE)
[](https://gitlab.aiursoft.cn/anduin/parser/-/pipelines)
[](https://gitlab.aiursoft.cn/anduin/parser/-/pipelines)
[](https://www.nuget.org/packages/Anduin.Parser/)
[](https://gitlab.aiursoft.cn/anduin/parser/-/commits/master?ref_type=heads)
A small project helps me to parse and save my videos.
## Install
Run the following command to install this tool:
```bash
dotnet tool install --global Anduin.Parser
```
## Usage
After getting the binary, run it directly in the terminal.
```bash
$ parser
Required command was not provided.
Option '--path' is required.
Description:
A cli tool project helps to re-encode and save all videos under a path.
Usage:
parser [command] [options]
Options:
-g, --gpu Use NVIDIA GPU to speed up parsing. Only if you have an NVIDIA GPU attached. [default:
False]
-c, --crf The range of the CRF scale is 0-51, where 0 is lossless (for 8 bit only, for 10 bit use
-qp 0), 20 is the default, and 51 is worst quality possible. [default: 20]
-p, --path (REQUIRED) Path of the videos to be parsed.
-d, --dry-run Preview changes without actually making them
-v, --verbose Show detailed log
--version Show version information
-?, -h, --help Show help and usage information
Commands:
ffmpeg The command to convert all video files to HEVC using FFmpeg.
```
It will fetch all videos under that folder, and try to re-encode it with ffmpeg.