PHP code example of crlt / mp4-proxy

1. Go to this page and download the library: Download crlt/mp4-proxy library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

crlt / mp4-proxy example snippets



rlt_\Mp4Proxy\mp4Proxy;
$url = $_GET['url'];
$myProxy=new mp4Proxy();
$myProxy->actionNormal($url);

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