GNOME Bugzilla – Bug 774900
playbin3/decodebin3 fails to play video/x-divx,divxversion=3 files if gstreamer-vaapi is installed
Last modified: 2018-11-03 11:51:40 UTC
With gstreamer-vaapi installed, playbin3 fails to play some old divx files (e.g. [1]). From what I can tell, vaapidecodebin is selected based on the static caps. Caps negotiation then fails at a later step and decodebin3 tries again. However, vaapidecodebin is not blacklisted so it's selected again in an endless loop. The old playbin still works: when vaapidecodebin fails it tries the next decoder and succeeds to play the file. [1] https://samples.mplayerhq.hu/Divx4-bugs/Fight.Club.Trailer.avi
I can confirm this issue, but isn't specific to gst-vaapi: decodebin3 fails to do any decoder fallback at all. I'm mucking about with writing another generic GStreamer video player, and getting it to work on just the hardware immediately available to me involves demoting the bcmdec element and wrapping vaapidecodebin in a custom bin that does hacky CPUID checks to try and guess the correct caps to expose (although, I guess that's what you sign up for when the docs explicitly say 'this is experimental/a preview' :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/309.