Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to play clean h265 videos with the current player? #8710

Closed
pedro-demeu opened this issue Apr 25, 2024 · 5 comments
Closed

Comments

@pedro-demeu
Copy link

Description

Hi guys, I need to play videos in h265 in my player that uses videoJS, but I can't find a player that works anywhere, there is an example that I managed to find but it doesn't support all types of h265 videos and I would like a final version without bugs, with good integration, is there a tutorial or something that can help me on this journey? So far I haven't found anything concrete, and if there isn't a solution, how difficult would it be for me to implement something functional? I am Mid level frontend working with React and TS.

Link to demo that supposedly has a video running in h265:
https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&fluid=false&minified=false&sync-workers=false&liveui=true&llhls=true&url=https%3A%2F%2Fdemo.unified-streaming.com%2Fk8s%2Ffeatures%2Fstable%2Fvideo%2Ftears-of-steel%2Ftears-of-steel-hevc.ism%2F.m3u8&type=application%2Fx-mpegURL&keysystems=&buffer-water=false&exact-manifest-timings=false&pixel-diff-selector=false&network-info=false&dts-offset=false&override-native=true&preload=auto&mirror-source=true&forced-subtitles=false

Reduced test case

https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&fluid=false&minified=false&sync-workers=false&liveui=true&llhls=true&url=https%3A%2F%2Fdemo.unified-streaming.com%2Fk8s%2Ffeatures%2Fstable%2Fvideo%2Ftears-of-steel%2Ftears-of-steel-hevc.ism%2F.m3u8&type=application%2Fx-mpegURL&keysystems=&buffer-water=false&exact-manifest-timings=false&pixel-diff-selector=false&network-info=false&dts-offset=false&override-native=true&preload=auto&mirror-source=true&forced-subtitles=false

Steps to reproduce

Errors

No response

What version of Video.js are you using?

7.20.3

Video.js plugins used.

"videojs-errors": "^4.3.2", "videojs-hlsjs-plugin": "^1.0.5","@videojs/http-streaming": "^2.4.0","@types/video.js": "^7.3.10",

What browser(s) including version(s) does this occur with?

Chrome 124.0.6367.78

What OS(es) and version(s) does this occur with?

Windows 11 / Linux

@pedro-demeu pedro-demeu added the needs: triage This issue needs to be reviewed label Apr 25, 2024
Copy link

welcome bot commented Apr 25, 2024

👋 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.

@mister-ben
Copy link
Contributor

h265 can be played where the browser supports it. which isn't universal. See https://caniuse.com/hevc

@mister-ben mister-ben removed the needs: triage This issue needs to be reviewed label Apr 26, 2024
@pedro-demeu
Copy link
Author

h265 pode ser reproduzido onde o navegador for compatível. o que não é universal. Veja https://caniuse.com/hevc

image

According to the website, Chrome in version 124 was supposed to work, but I still get black screens when trying to play these videos in this format.

@JinNgVN
Copy link

JinNgVN commented Apr 27, 2024

Hi @pedro-demeu , I can normally play the video in your link, which is weird. The reason is that i already tested hevc with hls format on my computer using videojs and it didnt work (the videos are stored in cloudflare R2). I am using microsoft edge - win 10. Why can i play your videos but not mine? is it because of the mpeg-dash vs hls?

@JinNgVN
Copy link

JinNgVN commented Apr 27, 2024

Hi @pedro-demeu , may i ask why do you need hevc with hls while you already have it with dash (your video can be played on my machine, maybe just need a bit configuration then you can also play it too).
May i also ask how do you generate that type of video? I try on my own using ffmpeg but it doesnt work. I first convert the h264 video to h265 video, then use the result to convert to dash (all using ffmpeg). It doesnt work but when i take your url and put in my videojs, it can be played normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants