Created attachment 7824 error Is saying that Parole needs H.264 decoder to play this video what I should do? help me please.
I have this problem too. Happens when opening MTS files. Says needs H.264 codec and offers to install automatically. Clicking button that offers to install the codecs does nothing. Played fine with Parole on another machine. Probably was an earlier version of Parole? I think I have the codecs installed. VLC plays the MTS files ok. Maybe Parole can't access or read the installed codec??
*** Bug 14623 has been marked as a duplicate of this bug. ***
I was able to reproduce this bug with a video sample from http://www.lehman.edu/faculty/hoffmann/itc/techteach/video/Video_samples.html and removing gst-plugins-ugly beforehand (Arch Linux). Inspecting the source, I found the problem here https://git.xfce.org/apps/parole/tree/src/gst/parole-gst.c?id=5ae8b124dba5e203810c08860468a33bdaaa0721#n1433 the return (GstInstallPluginsReturn) of gst_install_plugins_async is not check, in my case it returns GST_INSTALL_PLUGINS_HELPER_MISSING. The user has to be notified about failures, maybe via a error dialog or infobar. Even the callback for that function doesn't tell the user its result: https://git.xfce.org/apps/parole/tree/src/gst/parole-gst.c?id=5ae8b124dba5e203810c08860468a33bdaaa0721#n1269
Sean Davis referenced this bugreport in commit 171d87ad3210bd1f3e1a42cc6df862e8ea4679b6 Catch GST_INSTALL_PLUGINS_HELPER_MISSING and notify the user (bug #14529) https://git.xfce.org/apps/parole/commit?id=171d87ad3210bd1f3e1a42cc6df862e8ea4679b6
@Andre, can you test the above commit and let me know if this resolves the issue for you?
Created attachment 7912 fix patch @Sean, unfortunately that commit doesn't work as intended, the result GST_INSTALL_PLUGINS_HELPER_MISSING is not passed to the callback, it returns from gst_install_plugins_async. See the attached patch.
Sean Davis referenced this bugreport in commit f756317140942976439292201e6596042952ce55 Correctly handle missing plugins helper (thanks Andre) (bug 14529) https://git.xfce.org/apps/parole/commit?id=f756317140942976439292201e6596042952ce55
@Andre, I made a small adjustment to your patch (== vs =), please test the above commit before I call this one done. Thanks!
Yes, it works now, thanks. Good catch, I didn't notice the broken comparison. Before we close, I think users will complain about this message too. How does one make a plugin installer available? If it's harder than figuring out the right package to install, then it would be better to not even try to install. Sorry for proposing a fix and then proposing to change that, I tried put some sense in the code, but from a user perspective, it is as frustrating as before :/
I think at this point, it should be left to the forums or documentation (or even bug reports to get maintainers to add the missing package). The answer will vary for every setup and distribution. I'd recommend documenting solutions that we do know to http://docs.xfce.org/apps/parole/start
I see, distributions should provide a script located at /usr/libexec/gst-install-plugins-helper or /usr/lib/gst-install-plugins-helper (prefix=/usr). To whoever is interested, all nifty details are explained here: https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-Install-plugins.html So I think can we close this bug, the reported problem has already been dealt, missing the install helper is another problem, in this case my distribution (Arch) does not provide it.
Closing this bug per Andre's suggestion.