定制 ruka-surendra-kumar-reddy/framenet-video-utils-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ruka-surendra-kumar-reddy/framenet-video-utils-php

最新稳定版本:v1.0.0

Composer 安装命令:

composer require ruka-surendra-kumar-reddy/framenet-video-utils-php

包简介

A simple PHP utility to get details like duration, resolution, and FPS from a video file.

README 文档

README

Latest Version License

A simple PHP utility for getting video file details like duration, resolution, and frame rate.

This package provides a single, easy-to-use function to quickly analyze local video files, a common task in video processing workflows. It requires ffmpeg to be installed and available in your system's PATH.

About FrameNet.ai

This utility is proudly developed and maintained by the team at FrameNet.ai. Our mission is to make video creation effortless through powerful, AI-driven tools.

While this package helps developers work with video programmatically, our platform offers a full suite of free tools for creators:

Installation

Install the package via Composer:

composer require ruka-surendra-kumar-reddy/framenet-video-utils-php

Usage

The library exports one primary function, getVideoDetails().

<?php

require 'vendor/autoload.php';

use FrameNet\VideoUtils\VideoUtils;

$details = VideoUtils::getVideoDetails('path/to/your/video.mp4');

if ($details) {
    printf("Duration: %.2fs\n", $details['duration_seconds']);
    printf("Resolution: %dx%d\n", $details['resolution']['width'], $details['resolution']['height']);
    printf("Frame Rate: %.2f fps\n", $details['fps']);
} else {
    echo "Could not process video.";
}

About FrameNet.ai

FrameNet.ai is a comprehensive suite of AI tools designed to simplify and automate your video creation workflow, from text-to-video generation to automatic subtitling.

➡️ Learn more about the FrameNet.ai platform

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-14