Skip to content

Commit 59439c5

Browse files
committed
Quicktime add hvc1 / H.265 video codec
#387
1 parent 78d82a9 commit 59439c5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

getid3/getid3.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class getID3
387387
*/
388388
protected $startup_warning = '';
389389

390-
const VERSION = '1.9.21-202206211730';
390+
const VERSION = '1.9.21-202207161647';
391391
const FREAD_BUFFER_SIZE = 32768;
392392

393393
const ATTACHMENTS_NONE = false;

getid3/module.audio-video.quicktime.php

+2
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ public function QuicktimeParseAtom($atomname, $atomsize, $atom_data, $baseoffset
850850
case 'dvcp':
851851
case 'gif ':
852852
case 'h263':
853+
case 'hvc1':
853854
case 'jpeg':
854855
case 'kpcd':
855856
case 'mjpa':
@@ -2368,6 +2369,7 @@ public function QuicktimeVideoCodecLookup($codecid) {
23682369
$QuicktimeVideoCodecLookup['gif '] = 'GIF';
23692370
$QuicktimeVideoCodecLookup['h261'] = 'H261';
23702371
$QuicktimeVideoCodecLookup['h263'] = 'H263';
2372+
$QuicktimeVideoCodecLookup['hvc1'] = 'H.265/HEVC';
23712373
$QuicktimeVideoCodecLookup['IV41'] = 'Indeo4';
23722374
$QuicktimeVideoCodecLookup['jpeg'] = 'JPEG';
23732375
$QuicktimeVideoCodecLookup['kpcd'] = 'PhotoCD';

0 commit comments

Comments
 (0)