Askbruzz 1 Posted November 8, 2018 Share Posted November 8, 2018 Hello, it's about a month that I have a problem with Emby. When I click on Play to watch a movie on my FireStick, Emby shows me only the loading screen. After a while, Emby asks me if there is an Audio / Video problem. Press yes or no is the same ... The movie does not start and my NAS starts to load, I do not know what (my hdd makes lot of loading noise) and I can not access my NAS for about 40/50 minutes. When the loading finish, my NAS returns to normal. This happens with every 4K movie and with a lot of FullHD movies. What could be the problem? ps. I apologize for my bad English: D Thanks a lot Regards Mike ffmpeg trasconde.txt ffmpeg trasconde 2.txt Log.txt Link to comment Share on other sites More sharing options...
Luke 32908 Posted November 9, 2018 Share Posted November 9, 2018 Hi, looks like you're not getting fast enough transcoding. can you try turning off the subtitles? Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 9, 2018 Author Share Posted November 9, 2018 Hi, looks like you're not getting fast enough transcoding. can you try turning off the subtitles?Hello, I have checked and subtitles are off. Link to comment Share on other sites More sharing options...
Luke 32908 Posted November 9, 2018 Share Posted November 9, 2018 In the log you posted subtitles are on. Where did you check? Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 9, 2018 Author Share Posted November 9, 2018 In the log you posted subtitles are on. Where did you check?before starting the movie I checked and the subtitles are off. I do not know why in the logs they are turned on. Link to comment Share on other sites More sharing options...
Luke 32908 Posted November 9, 2018 Share Posted November 9, 2018 Where did you check to see that they were turned off? Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 9, 2018 Author Share Posted November 9, 2018 In the emby player on the fire stick... Link to comment Share on other sites More sharing options...
Luke 32908 Posted November 9, 2018 Share Posted November 9, 2018 Where in the app? In the video player? In settings, or where else? Thanks. Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 11, 2018 Author Share Posted November 11, 2018 (edited) Where in the app? In the video player? In settings, or where else? Thanks. Ops Sorry. I Have checked in the video player and are disabled. See Photos attached. I have tried to change the audio too but without success. Thanks you so much Edited November 11, 2018 by Askbruzz Link to comment Share on other sites More sharing options...
rouq 22 Posted November 12, 2018 Share Posted November 12, 2018 (edited) What NAS model do you have and what is the processor? From the ffmpeg logs that you have provided: 4k HEVC main 10 at around 80mbps. Need to transcode video and audio: Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (native)) For some reasons, hardware transcoding (vaapi) failed and ffmpeg fall back to software transcoding. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (native)) But to transcode UHD hevc main 10 and audio at 80mbps, you need a very very powerful processor. The processor in the NAS is not able to keep up. frame= 2 fps=0.0 q=0.0 size=N/A time=00:00:00.42 bitrate=N/A speed=0.00132x You need the speed to be at least 1.0000x or higher. Why hardware transcoding is failling, I don't know. Probably the video engine on the processor doesn't supporting 4k hevc 10 bit. But since I don't know your processor model, I can't tell for sure. Edited November 12, 2018 by rouq Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 12, 2018 Author Share Posted November 12, 2018 What NAS model do you have and what is the processor? From the ffmpeg logs that you have provided: 4k HEVC main 10 at around 80mbps. Need to transcode video and audio: Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (native)) For some reasons, hardware transcoding (vaapi) failed and ffmpeg fall back to software transcoding. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (native))But to transcode UHD hevc main 10 and audio at 80mbps, you need a very very powerful processor. The processor in the NAS is not able to keep up. frame= 2 fps=0.0 q=0.0 size=N/A time=00:00:00.42 bitrate=N/A speed=0.00132xYou need the speed to be at least 1.0000 or higher. Why hardware transcoding is failling, I don't know. Probably the video engine on the processor doesn't supporting 4k hevc 10 bit. But since I don't know your processor model, I can't tell for sure. Sorry i forgot it. My nas is a Synology DS918+ Link to comment Share on other sites More sharing options...
rouq 22 Posted November 13, 2018 Share Posted November 13, 2018 (edited) It's not clear to me (maybe they Devs can give more explanations) why vaapi encoding fails. From the logs : Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 [aac @ 0x2362e80] Qavg: 64650.125 [aac @ 0x2362e80] 2 frames left in the queue on closing Conversion failed! But you are asking a lot to this little processor (intel celeron J3455). Since emby only uses vaapi for encoding and uses software decoding, I don't think this processor can handle transcoding of UHD hevc 10 bit over 80mbps. I own a ds418play, the processor is in the same family but 2 cores instead of 4 and transcoding a 1080p hevc 10 bit at 5 mbps takes a lot of processing power. I never tried a UHD file like the one you are trying to transcode but I'm pretty sure it would not be able to do it. To stream this movie to the firestick using this NAS as server, I think the best way would be to use the multi resolution files that emby support. I would create a copy of this file with a lower resolution and a lower bitrate that the firestick can direct play. Emby suppose to be capable of selecting the proper file based on the player capability. Sorry I can help more. Edited November 13, 2018 by rouq Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 13, 2018 Author Share Posted November 13, 2018 It's not clear to me (maybe they Devs can give more explanations) why vaapi encoding fails. From the logs : Impossible to convert between the formats supported by the filter 'Parsed_hwupload_1' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 [aac @ 0x2362e80] Qavg: 64650.125 [aac @ 0x2362e80] 2 frames left in the queue on closing Conversion failed! But you are asking a lot to this little processor (intel celeron J3455). Since emby only uses vaapi for encoding and uses software decoding, I don't think this processor can handle transcoding of UHD hevc 10 bit over 80mbps. I own a ds418play, the processor is in the same family but 2 cores instead of 4 and transcoding a 1080p hevc 10 bit at 5 mbps takes a lot of processing power. I never tried a UHD file like the one you are trying to transcode but I'm pretty sure it would not be able to do it. To stream this movie to the firestick using this NAS as server, I think the best way would be to use the multi resolution files that emby support. I would create a copy of this file with a lower resolution and a lower bitrate that the firestick can direct play. Emby suppose to be capable of selecting the proper file based on the player capability. Sorry I can help more. Thanks you very much. I have tried with ds video player and i was able to play the video. This is little bit boring because i hate to have too many player installed on the nas... emby, plex and ds video. Link to comment Share on other sites More sharing options...
rouq 22 Posted November 13, 2018 Share Posted November 13, 2018 Thanks you very much. I have tried with ds video player and i was able to play the video. This is little bit boring because i hate to have too many player installed on the nas... emby, plex and ds video. To my knowledge, DS video has access to a hardware video engine that Plex and emby don't. But I thought that Synology has dropped support for this app. Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 13, 2018 Author Share Posted November 13, 2018 To my knowledge, DS video has access to a hardware video engine that Plex and emby don't. But I thought that Synology has dropped support for this app.this means that there is no definitive solution Link to comment Share on other sites More sharing options...
solabc16 379 Posted November 13, 2018 Share Posted November 13, 2018 Hello @@Askbruzz From an SSH session, can you run the following and post the output here:- sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo Best - James Link to comment Share on other sites More sharing options...
Askbruzz 1 Posted November 14, 2018 Author Share Posted November 14, 2018 Hello @@Askbruzz From an SSH session, can you run the following and post the output here:- sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo Best - James Hello, i hope this i right. Link to comment Share on other sites More sharing options...
Luke 32908 Posted November 23, 2018 Share Posted November 23, 2018 @@Askbruzz, we are working on revamping our hardware acceleration support. you can follow these efforts here: https://emby.media/community/index.php?/topic/64534-36058-hardware-acceleration-settings/ Once complete, our vaapi support will be significantly improved. thanks ! 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