AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
506 stars 126 forks source link

Ovenplayer support for H265 #434

Open yas1th opened 3 weeks ago

yas1th commented 3 weeks ago

Does the ovenplayer support H265 as of now ?

We were trying out ovenplayer for playback and provided 2 different master m3u8 files.

One with H265 codec and the other with H264 codec.

I was able to play the H265 master file using ffplay.

However, when I try to load the ovenplayer with 2 different master m3u8 files , one with H265 & the other with H264.

Ovenplayer is falling back to H264 master m3u8 file.

So just thought of checking on this if the ovenplayer supports H265 at the moment.

If it supports, can you please share some working demo example or reference as well

SangwonOh commented 4 days ago

@yas1th OvenPlayer's hls playback uses hlsjs. Currently, hlsjs's h265 playback seems to only support fmp4 containers. Please check the container of your h265 stream?

And if you're playing on Chrome, you'll need to have hardware acceleration enabled in your browser settings.