marktaff 10 Posted July 12, 2021 Share Posted July 12, 2021 The linux client hangs indefinitely (just have a busy cursor) when I try to play an AV1 video. The client completely freezes; I have to use OS tools to kill the client. The server seems fine. Same issue with server versions 4.6.3.0 and 4.6.4.0. All the files this happens to are AV1 files, but I can't be sure that it happens to all AV1 files. The files this happens to do play fine in VLC. I've let it sit and spin for over ten minutes, waiting for a timeout and an error, but it just keeps spinning. I've attached the server log. I can PM sample files that cause this. The issue is repeatable. emby-server.txt Link to comment Share on other sites More sharing options...
Carlo 4330 Posted July 13, 2021 Share Posted July 13, 2021 Hi, just wondering if you hardware has AV1 decoding built in? Link to comment Share on other sites More sharing options...
marktaff 10 Posted July 13, 2021 Author Share Posted July 13, 2021 10 hours ago, cayars said: Hi, just wondering if you hardware has AV1 decoding built in? I don't think so. Hardware is 8-10 years old, and I think AV1 is only from 2019. The codecs supported by this hardware seem rather limited by today's standards. mark@pacifica:/home/mark> vainfo libva info: VA-API version 1.10.0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_10 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.10 (libva 2.10.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.1 () vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointVLD The hardware is an Intel NUC. Processors: 4 × Intel® Core™ i5-5250U CPU @ 1.60GHz Memory: 14.6 GiB of RAM (2x8GB) 1600MHz Graphics Processor: Mesa Intel® HD Graphics 6000 I ran an AV1 video and a similar x264 video in VLC (which uses hardware acceleration when available). `top' reports the vlc process uses 50% process-cpu for the AV1 video, but only 10% process-cpu for the x264 video. Not definitive, but is does suggest hardware acceleration for x264, but not for AV1. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted July 13, 2021 Share Posted July 13, 2021 I would convert any AV1 files you have to AVC or HEVC simply because a lot more hardware can handle these codecs in hardware. Link to comment Share on other sites More sharing options...
marktaff 10 Posted July 14, 2021 Author Share Posted July 14, 2021 Yeah, I'm probably going to transcode them to x265. I don't really care about AV1. The real issue is that whatever is causing the core issue, the client isn't handling the problem gracefully. This box is due to be replaced soon; I'm sure its replacement will have a better selection of hardware codecs. Link to comment Share on other sites More sharing options...
Luke 36999 Posted July 25, 2021 Share Posted July 25, 2021 I'm surprised about this because our mpv build was compiled with av1 support. You installed one of our pre-packaged builds, right? Link to comment Share on other sites More sharing options...
marktaff 10 Posted July 25, 2021 Author Share Posted July 25, 2021 12 hours ago, Luke said: I'm surprised about this because our mpv build was compiled with av1 support. You installed one of our pre-packaged builds, right? Yes, I've only ever installed pre-built packages for the server and clients. I do have some new information, that may or may not be related. I have observed similar 'hanging' behavior in the client in another context. I have two new libraries: one the permanent library with curated content, and another with script-processed content that requires further manual curating before being moved to the permanent library. The client hangs on a race condition where the source from the tmp library is moved to the permanent library, but is attempted to be played from the tmp library before emby updates the temp library to remove the item from the library. This is an edge-case use of emby, to be sure, and no big deal. I just avoid being so silly. Given the similar hanging behavior, it suggests that the av1 hanging issue might likewise be related to a more general 'file not found' or 'file not available' or 'output stream unavailable' class of error. As far as the 'hanging' part of the issue is concerned, anyway. HTH. Link to comment Share on other sites More sharing options...
Luke 36999 Posted July 30, 2021 Share Posted July 30, 2021 OK thanks we'll do some additional av1 testing. Link to comment Share on other sites More sharing options...
Luke 36999 Posted September 23, 2021 Share Posted September 23, 2021 @marktaff can you please try redownloading and reinstalling the app and let us know if this is still an issue? Thanks. Link to comment Share on other sites More sharing options...
DrBoneSaw 2 Posted September 24, 2021 Share Posted September 24, 2021 https://github.com/MediaBrowser/emby-theater-electron/issues/84 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now