Compare commits

..

7 Commits

Author SHA1 Message Date
b40ae34387 0.1.15 2026-01-22 11:44:03 +03:00
84231d705f style: Update README 2026-01-22 11:44:00 +03:00
2c8d9d1e9e 0.1.14 2026-01-22 11:39:57 +03:00
41fe1a7370 style: Update README 2026-01-22 11:39:51 +03:00
55fb1f640a 0.1.13 2026-01-22 11:14:47 +03:00
4293b6735a chore: update files 2026-01-22 11:14:21 +03:00
248fe15b62 0.1.12 2026-01-22 11:09:08 +03:00
3 changed files with 18 additions and 27 deletions

View File

@@ -28,12 +28,7 @@ brew install ffmpeg gpac
Before running, make sure `FFmpeg` and `MP4Box` are installed (see Install).
```bash
# Run via npx (no install)
npx @gromlab/create-vod video.mp4
# Or install globally
npm install -g @gromlab/create-vod
create-vod video.mp4
```
**Output:** In the current directory you'll get:
@@ -80,31 +75,31 @@ create-vod <input-video> [output-dir] [-r resolutions] [-c codec] [-p poster-tim
```bash
# Default (DASH + HLS, auto profiles)
create-vod video.mp4
npx @gromlab/create-vod video.mp4
# Custom output directory
create-vod video.mp4 ./output
npx @gromlab/create-vod video.mp4 ./output
# Selected resolutions
create-vod video.mp4 -r 720,1080,1440
npx @gromlab/create-vod video.mp4 -r 720,1080,1440
# High FPS
create-vod video.mp4 -r 720@60,1080@60
npx @gromlab/create-vod video.mp4 -r 720@60,1080@60
# Poster from 5th second
create-vod video.mp4 -p 5
npx @gromlab/create-vod video.mp4 -p 5
# Force CPU encode/decode
create-vod video.mp4 -c h264 -e cpu -d cpu
npx @gromlab/create-vod video.mp4 -c h264 -e cpu -d cpu
# Force GPU encode + CPU decode
create-vod video.mp4 -c h264 -e nvenc -d cpu
npx @gromlab/create-vod video.mp4 -c h264 -e nvenc -d cpu
# Combined parameters
create-vod video.mp4 ./output -r 720,1080@60,1440@60 -p 00:00:10
npx @gromlab/create-vod video.mp4 ./output -r 720,1080@60,1440@60 -p 00:00:10
# No audio
create-vod video.mp4 -m
npx @gromlab/create-vod video.mp4 -m
```
### Supported resolutions

View File

@@ -27,12 +27,7 @@ brew install ffmpeg gpac
## Быстрый старт
Перед запуском убедитесь, что в системе установлены `FFmpeg` и `MP4Box` (см. Install).
```bash
# Использование через npx (без установки)
npx @gromlab/create-vod video.mp4
# Или глобальная установка
npm install -g @gromlab/create-vod
create-vod video.mp4
```
**Результат:** В текущей директории появится структура выходных файлов:
@@ -80,25 +75,25 @@ create-vod <input-video> [output-dir] [-r resolutions] [-c codec] [-p poster-tim
```bash
# Базовая конвертация (DASH + HLS, авто кодек, автопрофили)
create-vod video.mp4
npx @gromlab/create-vod video.mp4
# Указать выходную директорию
create-vod video.mp4 ./output
npx @gromlab/create-vod video.mp4 ./output
# Только выбранные разрешения
create-vod video.mp4 -r 720,1080,1440
npx @gromlab/create-vod video.mp4 -r 720,1080,1440
# Высокий FPS для игровых стримов
create-vod video.mp4 -r 720@60,1080@60
npx @gromlab/create-vod video.mp4 -r 720@60,1080@60
# Постер с 5-й секунды
create-vod video.mp4 -p 5
npx @gromlab/create-vod video.mp4 -p 5
# Комбинация параметров
create-vod video.mp4 ./output -r 720,1080@60,1440@60 -p 00:00:10
npx @gromlab/create-vod video.mp4 ./output -r 720,1080@60,1440@60 -p 00:00:10
# Без звука
create-vod video.mp4 -m
npx @gromlab/create-vod video.mp4 -m
```
### Поддерживаемые разрешения

View File

@@ -1,7 +1,7 @@
{
"name": "@gromlab/create-vod",
"author": "Gromov Sergei",
"version": "0.1.11",
"version": "0.1.15",
"description": "DASH/HLS video converter with hardware acceleration (NVENC/QSV/AMF/VAAPI), thumbnails and poster generation",
"type": "module",
"main": "./dist/index.js",
@@ -19,6 +19,7 @@
"dist",
"bin",
"README.md",
"README_RU.md",
"LICENSE"
],
"scripts": {