承接 orkan/ffmpeg 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

orkan/ffmpeg

最新稳定版本:2.8.0

Composer 安装命令:

composer require orkan/ffmpeg

包简介

ork-ffmpeg (W)indows (C)ontext (T)ools

README 文档

README

ffmpeg-logo

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:

  1. 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
  2. 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

Orkan

Updated

Sun, 07 Sep 2025 23:47:21 +02:00

License

MIT

统计信息

  • 总下载量: 44
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Batchfile

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-07