Upon updating to ffmpeg-1:3.4-1 on Arch Linux, kodi cannot playback video content. Upon trying to playback video content, kodi simply displays 1 or 2 frames of the video and seems to freeze there. The CPU goes up to 100% usage until playback is stopped which returns to the kodi GUI.

The fix is to downgrading to ffmpeg-1:3.3.4-1. Linked below is a debug log. I post here asking for someone to review the log and help pin-point what is wrong so I can create an informed bug report against ffmpeg. Thank you.

(2017-10-21, 20:42)graysky Wrote: Upon updating to ffmpeg-1:3.4-1 on Arch Linux, kodi cannot playback video content. Upon trying to playback video content, kodi simply displays 1 or 2 frames of the video and seems to freeze there. The CPU goes up to 100% usage until playback is stopped which returns to the kodi GUI.

The fix is to downgrading to ffmpeg-1:3.3.4-1. Linked below is a debug log. I post here asking for someone to review the log and help pin-point what is wrong so I can create an informed bug report against ffmpeg. Thank you.

I agree and figured I was just missing it. I can just point to the fact that on 6 different videos, the same symptoms are present and if I downgrade ffmpeg, the same 6 play without a problem. Highly confident ffmpeg is to blame but need some data to share with ffmpeg upstream rather than just a bug report detailing the problem without a direction for them :/

EDIT: If you look at the Arch bug report, another user mentions similar problems with the new ffmpeg and parole media player.

(2017-10-21, 22:43)graysky Wrote: I agree and figured I was just missing it. I can just point to the fact that on 6 different videos, the same symptoms are present and if I downgrade ffmpeg, the same 6 play without a problem. Highly confident ffmpeg is to blame but need some data to share with ffmpeg upstream rather than just a bug report detailing the problem without a direction for them :/

EDIT: If you look at the Arch bug report, another user mentions similar problems with the new ffmpeg and parole media player.

As I don't see anything in your logfile and as it works perfectly on my Ubuntu machine I am not sure I can do anything about it.

But: try with ffplay from ffmpeg 3.4 and check ffmpeg command with 3.4 - cause this is what the ffmpeg guys will need. If you can rule out arch illnesses before (mixing latest and greatest and a semi rebuild environment), that would be great.

Edit: Something else: if you have issues with VAAPI only (e.g. sw playback works) it might be ARCH shipping vaapi 2.0 (cause latest is greatest ;-)) in combination with missing this one: https://github.com/FFmpeg/FFmpeg/commit/...f94096e244 which was pushed to 3.4 ffmpeg branch.

First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.

(2017-10-22, 07:55)fritsch Wrote: As I don't see anything in your logfile and as it works perfectly on my Ubuntu machine I am not sure I can do anything about it.

But: try with ffplay from ffmpeg 3.4 and check ffmpeg command with 3.4 - cause this is what the ffmpeg guys will need. If you can rule out arch illnesses before (mixing latest and greatest and a semi rebuild environment), that would be great.

Edit: Something else: if you have issues with VAAPI only (e.g. sw playback works) it might be ARCH shipping vaapi 2.0 (cause latest is greatest ;-)) in combination with missing this one: https://github.com/FFmpeg/FFmpeg/commit/...f94096e244 which was pushed to 3.4 ffmpeg branch.

@fritsch - When I run kodi from git (18.0-ALPHA1 Git:20171021-d68e7e31b1) it plays the video without error using the suspect ffmpeg version. Therefore, we can conclude that kodi-17.4-6 and ffmpeg-1:3.4 is the problem. Can you repeat your experiment using 17.4 with the new ffmpeg?

I had same issue with Gentoo when updated system and ffmpeg yesterday, switched back to Kodis (17.4) version of ffmpeg as workaround. (I updated mesa, libva and vaapi intel driver straigth from version control.)

Quick Links

About Kodi

Kodi is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium.

Kodi is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.