[9B] -- The duration of the Block (based on TimecodeScale).

Value (hex)



  1. if ( defined( 'EBML_ID_CLUSTERBLOCKDURATION' ) ) { 
  3. // grab the value 
  4. $value = constant( 'EBML_ID_CLUSTERBLOCKDURATION' ); 
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 

Defined (1)

The constant is defined in the following location(s).

  1. define('EBML_ID_CLUSTERBLOCKDURATION', 0x1B); // [9B] -- The duration of the Block (based on TimecodeScale). This element is mandatory when DefaultDuration is set for the track. When not written and with no DefaultDuration, the value is assumed to be the difference between the timecode of this Block and the timecode of the next Block in "display" order (not coding order). This element can be useful at the end of a Track (as there is not other Block available), or when there is a break in a track like for subtitle tracks.