Skip to content

NearXdu/mp4-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mp4 proxy

Install

composer require crlt/mp4-proxy

Usage

<?php
require_once "vendor/autoload.php";
use Crlt_\Mp4Proxy\mp4Proxy;
$url = $_GET['url'];
$myProxy=new mp4Proxy();
$myProxy->actionNormal($url);

Test

curl "http://localhost:1024/mp4-proxy/index.php?url=http://localhost:1024/mp4-proxy/test.mp4" > test.mp4

License

MIT