Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

H265 Video Support #800

Unanswered
lucas-viva asked this question in Q&A
Dec 3, 2024 · 1 comments · 1 reply
Discussion options

I saw RoboVM has H264 video support: https://github.com/search?q=repo%3AMobiVM%2Frobovm%20H264&type=code

But I could not find references to H265: https://github.com/search?q=repo%3AMobiVM%2Frobovm+H265&type=code

Does RoboVM support H265? Or could I open a feature request for it?

Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

hey, RoboVM just exposes API that is available in Apple iOS API.
as for codecs you can check it there at Apple site.

for H265 i would look into AVVideoCodecTypeHEVC that is another name for it.

You must be logged in to vote
1 reply
Comment options

Thanks dkimitsa!

I'm trying to play a H265 MP4 with gdx-video and I'm getting the following error:

java.lang.IllegalArgumentException: No constant with value 1751479857 found in org.robovm.apple.coremedia.CMVideoCodecType
	at org.robovm.apple.coremedia.CMVideoCodecType.valueOf(CMVideoCodecType.java:141)
	at com.badlogic.gdx.video.VideoPlayerIos.onVideoTrackLoaded(VideoPlayerIos.java:103)
	at com.badlogic.gdx.video.VideoPlayerIos3ドル.invoke(VideoPlayerIos.java:167)
	at com.badlogic.gdx.video.VideoPlayerIos3ドル.invoke(VideoPlayerIos.java:162)
	at org.robovm.apple.avfoundation.AVAsset$$BlockMarshaler0.invoked(Unknown Source)

If I comment the line in gdx-video code that throws the exception (that line is just used to print debug information), the video still doesn't play.

Note: The video I'm using was H264 and I converted it to H265 using ffmpeg by running ffmpeg -y -loglevel "error" -i input.mp4 -c:v libx265 -preset veryslow -crf 23 -c:a copy output.mp4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /