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

syncplay-android can't play hevc 10-bit video #56

Closed
soredake opened this issue Feb 28, 2023 · 10 comments
Closed

syncplay-android can't play hevc 10-bit video #56

soredake opened this issue Feb 28, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@soredake
Copy link

Tested with jellyfish-3-mbps-hd-hevc-10bit.mkv from https://www.larmoire.info/jellyfish/

@soredake soredake changed the title syncplay-android can't play hevc 10-bit syncplay-android can't play hevc 10-bit video Feb 28, 2023
@yuroyami yuroyami added enhancement New feature or request Video Player labels Mar 1, 2023
@yuroyami
Copy link
Owner

yuroyami commented Mar 1, 2023

The app supports as many formats as the device internally supports especially when it comes to highly compressed formats like HEVC with high bit depth such as 10bit or 12bit. My main phone plays the video without issues but it doesn't work on one of my old phones

This will be automatically solved if at some point i make the app wrap ffmpeg just like VLC does. Road map might go as mentioned here #42

@yuroyami yuroyami self-assigned this Mar 1, 2023
@soredake
Copy link
Author

soredake commented Mar 4, 2023

@soredake yeah, you're right, my device can't hardware decode hevc 10-bit, same video in vlc produces garbled output and lags very much, mx player plays it correctly, lags as well but slightly less.

@yuroyami
Copy link
Owner

yuroyami commented Jun 3, 2023

Fixed in version (0.12.0) with the introduction of mpv.

@yuroyami yuroyami closed this as completed Jun 3, 2023
@soredake
Copy link
Author

soredake commented Jun 3, 2023

@yuroyami i tried playing jellyfish sample and got only black screen with mpv, with anime encoded in 10bit i got same black screen and crash after seeking.

@yuroyami
Copy link
Owner

yuroyami commented Jun 3, 2023

@soredake Seems like mpv is not falling back to software decoding when the hardware codec is missing, thanks for testing

@yuroyami yuroyami reopened this Jun 3, 2023
@yuroyami
Copy link
Owner

yuroyami commented Jan 6, 2024

@soredake I've added some mpv-related settings inside the room in v0.13.0, where you can enable/disable hardware acceleration, and also use "gpu-next" rendering backend, I dont even know what it is but mpv claims it's a new improved rendering engine or something, it may help

Also, it seems like mpv libs weren't falling back to software acceleration (as mentioned in this mpv-android release)

Let me know if that helps with this case

@soredake
Copy link
Author

soredake commented Jan 6, 2024

Also, it seems like mpv libs weren't falling back to software acceleration

Yeah, hevc 10 bit are still not working.

@yuroyami
Copy link
Owner

yuroyami commented Jan 7, 2024

@soredake This seems more like a device issue to me. What's the test result on mpv-android

@soredake
Copy link
Author

soredake commented Jan 8, 2024

Correction, no videos are working without gpu-next option: #85
And with gpu-next, hevc 10-bit are finally working, although with unwatchable frame rate, vlc/mx player give me much better frame rate with software decoding, but that's a mpv-android/libmpv/ffmpeg problem, will report to them.

@soredake soredake closed this as completed Jan 8, 2024
@soredake
Copy link
Author

@soredake reported to upstream mpv-android/mpv-android#855

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

No branches or pull requests

2 participants