PHP code example of askuri / muxconvert

1. Go to this page and download the library: Download askuri/muxconvert 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/ */

    

askuri / muxconvert example snippets

 php
$muxconvert = new \askuri\MuxConvert\MuxConvert($muxFileContents);
$ogg = $muxconvert->mux2ogg();

$muxconvert = new \askuri\MuxConvert\MuxConvert($oggFileContents);
$mux = $muxconvert->ogg2mux();