当前位置:网站首页>PHP uses getid3 to obtain the duration of MP3, MP4, WAV and other media files
PHP uses getid3 to obtain the duration of MP3, MP4, WAV and other media files
2022-06-25 03:35:00 【Chafferer WANG】
getid3 Download address
https://github.com/JamesHeinrich/getID3
It only needs getid3 Folder
How to write it
// The path is modified according to your actual situation
include_once(Yii::$app->basePath.'/getid3.php');
$getID3 = new \getID3();
$mp4info= $getID3->analyze($file['tmp_name']);
// except analyze There are other ways , Try it yourself
边栏推荐
- 在Microsoft Exchange Server 2007中安装SSL证书的教程
- SkyWalking 实现跨线程 Trace 传递
- Seata四大模式之TCC模式详解及代码实现
- DSPACE set zebra crossings and road arrows
- EasyNVR使用Onvif探测设备失败,显示“无数据”是什么原因?
- Is it safe to open an account by fraud
- Eggservice builds the basic service of wechat official account
- Unity archive system - file in JSON format
- Is it safe to open a stock account with the customer's haircut account link? Tell me what you know
- automated testing
猜你喜欢
随机推荐
Performance rendering of dSPACE
Two way combination of business and technology to build a bank data security management system
[proteus simulation] Arduino uno+ relay controls lighting equipment
Tutoriel d'installation MySQL
Rebeco: using machine learning to predict stock crash risk
Solution of separating matlab main window and editor window into two interfaces
跨境电商新手如何防止店铺关联?用什么工具好?
用指南针开户如何选择证券公司?哪一个是更安全的
Tell you about mvcc sequel
Refresh mechanism of vie
Is it safe to open an account on the compass? Is it reliable?
用向量表示两个坐标系的变换
Overview of AOSP ~ WiFi architecture
Expressing the transformation of two coordinate systems with vectors
PE file infrastructure sorting
Getting started with unityshader - Surface Shader
ACM. Hj70 matrix multiplication calculation amount estimation ●●
使用XXL-JOB自定义任务并调度
CUDA编程入门极简教程
记一次beego通过go get命令后找不到bee.exe的坑