JavaFX Ultra HD (4K) video

≡放荡痞女 提交于 2019-12-24 05:44:22

问题


I wanted to play an Ultra HD (4K) Video with JavaFX 2 MediaPlayer but do only get a black screen (run on JRE 8/Windows 7). There are no error messages.

Does anyone know if JavaFX can play Ultra HD (4K) videos or where I can find these information?

Thank you.


回答1:


I can confirm the player doesn't support anything higher than 1920 pixels wide.

I created a video this weekend with X pixels of 1980 and it couldn't play. I figured out last night to drop it down to 1920 to make the video play.

The Y pixels can be above 1080, not sure how far above you can go, but I was at around 1100 with an X of 1800 and it still played.




回答2:


I can't confirm this for the Mac (with 8u60 ea). On my MacBook Pro Retina a 4K video does play, but the screen is somehow split in the middle and the right half of the video has the wrong colors.



来源:https://stackoverflow.com/questions/26160709/javafx-ultra-hd-4k-video

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!