Function __global->_get_mp4_details_do_atom_list

Definitions

sources/galleries2.php

  • Get chunk-bytes-read,width,height,length of a atom list of a .mp4 video file.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$file resource No No required parameter N/A N/A The file handle
$atom_size ?integer No No Null N/A N/A The length of the current atom list (null: covers full file)

Returns

  • The quartet (possibly containing nulls for when we can't detect properties)
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get chunk-bytes-read,width,height,length of a atom list of a .mp4 video file.
 *
 * @param  resource $file The file handle
 * @param  ?integer $atom_size The length of the current atom list (null: covers full file)
 * @return array The quartet (possibly containing nulls for when we can't detect properties)
 */

function _get_mp4_details_do_atom_list($file, ?int $atom_size = null) : array