orkan/ffmpeg
最新稳定版本:2.8.0
Composer 安装命令:
composer require orkan/ffmpeg
包简介
ork-ffmpeg (W)indows (C)ontext (T)ools
README 文档
README
ork-ffmpeg v2.8.0
Convert your media files quickly with FFmpeg library.
The main idea is to limit the command line switches passed to ffmpeg.exe while keeping full control of the conversion process.
Use Windows "Send To" menu or "Drag & Drop" features to quickly convert your media.
Use convert.bat tool to batch proccess multiple media files from different locations at once.
Installation
Environment variables:
Customize default config values by declaring user config file environment variable ORKAN_FFMPEG_USER_CONFIG
Example: ORKAN_FFMPEG_USER_CONFIG=path\to\usr\config.bat
From this file you can:
- customize ffmpeg binaries location:
set FFMPEG_HOME=path\to\ffmpeg-static - change log file location:
set LOG_FILE=path\to\file.log - extend Autoloader locations:
set APP_TOOLS_PATH=path\to\user\tools(same format as Windows %PATH%) - this way you can basically change every option from default
src\_config.bat
Autoloader:
The autoload.bat is the main entry point for any tool located on %APP_TOOLS_PATH%.
Usage: autoload.bat <tool_*.bat> [arg1 ... arg8]
Check autoload.bat header section for more info.
Send To:
- Create shortcut in
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo- to load any tool with autoloader use:
autoload.bat tool_mp4.bat ...args - to load specific tool use absolute path:
D:\...\src\tool_mp4.bat ...args
- to load any tool with autoloader use:
- Right click on your media file, choose: Send To > Convert to mp4
Batch processing:
Proccess multiple files from different locations at once with convert.bat tool.
Command: autoload.bat convert.bat files.bat
In files.bat:
@echo off REM Convert all *.ts to *.mp4 in X:\media\videos echo ffmpeg_mp4.bat "X:\media\videos\*.ts" 28 24.97 REM Convert all *.avi to *.mp3 in D:\clips echo ffmpeg_mp3.bat "D:\clips\*.avi"
About
Requirements
Author
Updated
Sun, 07 Sep 2025 23:47:21 +02:00
License
MIT
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-07
