RazeLighter777 1 Posted December 29, 2018 Share Posted December 29, 2018 (edited) I am having an issue with playing videos on a linux web client. The web client works properly unless asked to play back a video, in which case it will buffer (the wheel will spin) forever, and the video will not play. I tested both Firefox and Chromium to the same results. Mobile, Roku, and Windows clients are working properly. After googling and looking through the logs, I saw a common issue with ffmpeg permissions. However, I see no errors at all after inspecting the logs. Attached are the logs for Firefox, as I'm not sure if you guys support chromium anyway. The server is your official docker container running on CentOS 7. Thank you for your time. Log Edited December 29, 2018 by RazeLighter777 Link to comment Share on other sites More sharing options...
RazeLighter777 1 Posted December 29, 2018 Author Share Posted December 29, 2018 (edited) Here is the second log: log.txt Edited December 29, 2018 by RazeLighter777 Link to comment Share on other sites More sharing options...
RazeLighter777 1 Posted December 29, 2018 Author Share Posted December 29, 2018 (edited) I am figuring this is a client side error, and may have to do with a missing codec after using the developer console I found: HLS Error: Type: mediaError Details: bufferAddCodecError Fatal: false In both Firefox and Chromium. The same error occured on Firefox and Chromium on Centos 7 and Fedora 29 clients. Attached is the console log. FirefoxConsole.txt Edited December 29, 2018 by RazeLighter777 Link to comment Share on other sites More sharing options...
Luke 37006 Posted December 29, 2018 Share Posted December 29, 2018 Hmm, that's strange. There's nothing obvious here. Can you attach chromium console output? Thanks ! Link to comment Share on other sites More sharing options...
Solution RazeLighter777 1 Posted December 29, 2018 Author Solution Share Posted December 29, 2018 (edited) Ok. But I solved it myself. Basically, I was missing the H264 codec / MP4 container support. On some versions of Fedora and CentOS, (And probably other Linux) this is not installed due to patent restrictions. However, adding the codec manually on the client will fix it. I'm sorry, I didn't save my chromium log, but the Firefox one is above. It was the exact same error in both browsers. Basically install ffmpeg on your client and restart your browser. You can do this by following these instructions: https://tecadmin.net/install-ffmpeg-on-fedora/ Just restart your browser, playback will resume properly. Do you want me to provide any info to help out others who might have the same problem? Why didn't it default to WEBM or something? Is this a bug that needs to be addressed? Edited December 29, 2018 by RazeLighter777 Link to comment Share on other sites More sharing options...
Luke 37006 Posted December 29, 2018 Share Posted December 29, 2018 It does default to webm, but what's probably happening is the browser is reporting it as supported even though it's not. I'm pretty sure I remember reading in firefox developer docs that it does that. Thanks for the feedback. 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