MediaFile
MediaFile copied to clipboard
Unable to read MP4 file
File is propably corrupted: This file does not have "mvhd" box!
Here is my video: https://mega.nz/#!SUhDSAJI!oGArcly7xxexwenprYTX_sAKgrUIS1Z_KCv6h-06vKA
Also have same problem with mp4 files, I only get Duration, but not
echo 'Dimensions: ' . $video->getWidth() . 'x' . $video->getHeight() . PHP_EOL; echo 'Framerate: ' . $video->getFramerate() . PHP_EOL;
Then I get error:
Duration: 7.552 <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>vendor/wapmorgan/media-file/src/Adapters/Mp4Adapter.php</b> on line <b>14</b><br /> <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>vendor/wapmorgan/media-file/src/Adapters/Mp4Adapter.php</b> on line <b>21</b><br /> Dimensions: x <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>vendor/wapmorgan/media-file/src/Adapters/Mp4Adapter.php</b> on line <b>28</b><br /> Framerate: