Forum Discussion
SHAGGAR
Mar 08, 2020Copper Contributor
HEVC MP4 support missing
I'm currently on Version 82.0.439.1 (Official build) dev (64-bit) and hevc support seems to have disappeared. I was using MediaSource.isTypeSupported('video/mp4; codecs="hvc1"') to test for HEVC sup...
PetarVutov
Copper Contributor
I'm on Version 89.0.774.50 (Official build) (64-bit)
And still the same behavior.
MP4 HEVC files could be played in a browser, trough the HTML5 Video tag.
But not possible to be loaded in MediaSource.
MediaSource still reports "video/mp4; codecs="hvc1"" is not supported.
And still the same behavior.
MP4 HEVC files could be played in a browser, trough the HTML5 Video tag.
But not possible to be loaded in MediaSource.
MediaSource still reports "video/mp4; codecs="hvc1"" is not supported.
PetarVutov
Mar 15, 2021Copper Contributor
It it interesting that right now "buffer = mediaSource.addSourceBuffer('video/mp4; codecs="hvc1.1.6.H150.90"');" doesn't throw an exception.
It can even be added a single buffer via "buffer.appendBuffer(frame.data);".
But after that buffer goes to readyStates of: 'open', 'ended', 'closed' and are called events 'updatestart', 'error', 'updateend', 'sourceended' and 'sourceclose'.
Relations between events and readyState are:
'updatestart' : 'open',
'error' : 'ended',
'updateend' : 'ended',
'sourceended' : 'ended',
'sourceclose' : 'closed'
Does anyone have a different experience. It could be something from my implementation, although it is working fine with MP4 AVC files.