Skip to content

zr-lib/videos-speed-x_ffmpeg

Repository files navigation

videos-speed-x_ffmpeg

English|中文

Multi-video processing tool based on 'ffmpeg'

  • concat only
  • speed only
  • speed+concat(speed first, and then concat)
  • Multi-folder and multi-process processing

Tips:

Concat first, and the resulting file size is equal to the combined file size, which will occupy a large space; In order to reduce space occupation

  • Speed => dir__{speed}xdirectory
  • Concat => dir__{speed}xfile

Install ffmpeg

Click the link to download from the official websiteffmpeg, And install it locally

  • The shell test version is as follows
$ ffmpeg -version
ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers

Usage

  • -h console README.md
vsxc-ffmpeg -h
  • --hzh console README_zh-CN.md
vsxc-ffmpeg --hzh
  • --mode=co
vsxc-ffmpeg --mode=co --dirs=2023-02-12
  • --mode=sp
vsxc-ffmpeg --mode=sp --file=2023-02-12.mp4 --sp=2
  • --mode=spc
vsxc-ffmpeg --mode=spc --dirs=2023-02-12 --sp=8

Params

--mode param

  • sp: speed only
  • co: concat only
  • spc: speed and concat

others

params describtion Specific -- mode is valid/required
--sp speed all
--file Target file under current path --mode=sp Required
--dirs Directory, multiple separated by commas --mode=spc/--mode=co Valid
--an No audio reserved, no value transfer required, audio reserved by default all
--fflog Print ffmpeg logs;Do not print by default all
--fext Merged output file suffix, default mp4 --mode=spc/--mode=co Valid

Releases

No releases published

Packages

No packages published