videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.82k stars 7.43k forks source link

Play h265 video stream? #7553

Open sty888 opened 2 years ago

sty888 commented 2 years ago

I saw from the website that h265 video playback is supported. I use the player according to the tutorial and can't play the h265 video pushed by the camera. What should I do to play h265.Video pushed by camera.

welcome[bot] commented 2 years ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

gkatsev commented 2 years ago

May I ask which page you were reading that said that h265 is supported? Unfortunately, most browsers do not support h265 playback. Only Safari and Chromecast support h265 playback right now. Your best bet is to convert to h264 video with aac audio. Though, someone did write an h265 tech for Video.js, but I probably wouldn't recommend it because it requires using a custom flv container for it.

sty888 commented 2 years ago

https://videojs.com/html5-video-support/ Thank you for your answer. I see support h265 from her 20211207104321 e

gkatsev commented 2 years ago

Ah, cool. Yeah, as it says, HEVC is only supported in some browsers. I don't think that current versions of Edge support it anymore, actually.

mister-ben commented 2 years ago

Legacy Edge did, Chromium Edge does not

sty888 commented 2 years ago

But I can't play h265 with edge,I want to know how to solve it

gkatsev commented 2 years ago

Current versions of Edge do not support h265.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.