Video and Video Thumbnails in App Image

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Video and Video Thumbnails in App Image

Shaav

I am on Linux Mint 18 using the app image of digiKam 5.3.

Thumbnails for videos don't show up (actually doesn't show the default icon that I've seen mentioned elsewhere either --- just nothing) and video won't play.

I realize that this has come up a couple times already and I have seen those threads; I think this may be an app image specific issue though. If I right-click on a video and select "open", it correctly opens up my default video player "xplayer" but it won't play there either (I included some errors below). It complains about needing to install plugins to be able to play videos of type X.  However, if I open the video from the file manager, it opens xplayer and plays fine.

Errors (below) indicate that gstreamer is failing and since digiKam uses gstreamer too, it seems to me that that may be why internally things are not working either?

I tried to change the application that digiKam uses to open the video files to vlc but that completely failed; vlc wouldn't even open let alone play the video. I don't know much about app images, but I assume there's some sort of sandboxing going on and maybe digiKam is being prevented from interacting from the rest of the system normally?

Any thoughts?

Cheers,

Sean

===========

When trying to open xplayer from digiKam, it throws this:

** (xplayer:13713): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY
** Message: Missing plugin: gstreamer|1.0|xplayer|H.264 (Constrained Baseline Profile) decoder|decoder-video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4.1, profile=(string)constrained-baseline, max-input-size=(int)222476, parsed=(boolean)true (H.264 (Constrained Baseline Profile) decoder)
/usr/lib/python3/dist-packages/sessioninstaller/core.py:47: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gst

** (gstreamer-codec-install:13740): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/lib/python3/dist-packages/sessioninstaller/core.py:48: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.

Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Philip Johnsson
As far as I know the appimage bundle is built without qtmultimedia support and that would mean that you can't play or show video files in those builds of Digikam 5. Not sure about preview thumbnails of them though.

/Philip

On Mon, Dec 12, 2016 at 12:14 AM, <[hidden email]> wrote:

I am on Linux Mint 18 using the app image of digiKam 5.3.

Thumbnails for videos don't show up (actually doesn't show the default icon that I've seen mentioned elsewhere either --- just nothing) and video won't play.

I realize that this has come up a couple times already and I have seen those threads; I think this may be an app image specific issue though. If I right-click on a video and select "open", it correctly opens up my default video player "xplayer" but it won't play there either (I included some errors below). It complains about needing to install plugins to be able to play videos of type X.  However, if I open the video from the file manager, it opens xplayer and plays fine.

Errors (below) indicate that gstreamer is failing and since digiKam uses gstreamer too, it seems to me that that may be why internally things are not working either?

I tried to change the application that digiKam uses to open the video files to vlc but that completely failed; vlc wouldn't even open let alone play the video. I don't know much about app images, but I assume there's some sort of sandboxing going on and maybe digiKam is being prevented from interacting from the rest of the system normally?

Any thoughts?

Cheers,

Sean

===========

When trying to open xplayer from digiKam, it throws this:

** (xplayer:13713): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY
** Message: Missing plugin: gstreamer|1.0|xplayer|H.264 (Constrained Baseline Profile) decoder|decoder-video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4.1, profile=(string)constrained-baseline, max-input-size=(int)222476, parsed=(boolean)true (H.264 (Constrained Baseline Profile) decoder)
/usr/lib/python3/dist-packages/sessioninstaller/core.py:47: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gst

** (gstreamer-codec-install:13740): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/lib/python3/dist-packages/sessioninstaller/core.py:48: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.


Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Gilles Caulier-4
You must be patient. Q5Multimedia support is currently dropped to 70%. We will replace by QtAV framework based on ffmpeg.

http://www.qtav.org/

QtAV/ffmpeg is portable everywhere : Linux, MacOS, and Windows. this will be universal in opposite of Qt5ultmedia wich use GStreamer under Linux, and dedicated OS codecs under MacOS and Windows.

The good news is to have also video preview everywhere de facto, instead only under Linux.

Another good news : Video are now supported with Slideshow tool.


We plan a full support of QtAV with 5.4.0 release.

Note: With 5.4.0 bundle, video metadata will be fully available using current pre-release of Exiv2 0.26 not yet released and which include more than 200 bugfixes.

Gilles Caulier



2016-12-12 0:48 GMT+01:00 Philip Johnsson <[hidden email]>:
As far as I know the appimage bundle is built without qtmultimedia support and that would mean that you can't play or show video files in those builds of Digikam 5. Not sure about preview thumbnails of them though.

/Philip

On Mon, Dec 12, 2016 at 12:14 AM, <[hidden email]> wrote:

I am on Linux Mint 18 using the app image of digiKam 5.3.

Thumbnails for videos don't show up (actually doesn't show the default icon that I've seen mentioned elsewhere either --- just nothing) and video won't play.

I realize that this has come up a couple times already and I have seen those threads; I think this may be an app image specific issue though. If I right-click on a video and select "open", it correctly opens up my default video player "xplayer" but it won't play there either (I included some errors below). It complains about needing to install plugins to be able to play videos of type X.  However, if I open the video from the file manager, it opens xplayer and plays fine.

Errors (below) indicate that gstreamer is failing and since digiKam uses gstreamer too, it seems to me that that may be why internally things are not working either?

I tried to change the application that digiKam uses to open the video files to vlc but that completely failed; vlc wouldn't even open let alone play the video. I don't know much about app images, but I assume there's some sort of sandboxing going on and maybe digiKam is being prevented from interacting from the rest of the system normally?

Any thoughts?

Cheers,

Sean

===========

When trying to open xplayer from digiKam, it throws this:

** (xplayer:13713): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY

(xplayer:13713): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /usr/lib/x86_64-linux-gnu/libass.so.5: undefined symbol: FT_Outline_EmboldenXY
** Message: Missing plugin: gstreamer|1.0|xplayer|H.264 (Constrained Baseline Profile) decoder|decoder-video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4.1, profile=(string)constrained-baseline, max-input-size=(int)222476, parsed=(boolean)true (H.264 (Constrained Baseline Profile) decoder)
/usr/lib/python3/dist-packages/sessioninstaller/core.py:47: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gst

** (gstreamer-codec-install:13740): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/lib/python3/dist-packages/sessioninstaller/core.py:48: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.



Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Shaav
In reply to this post by Shaav

> You must be patient. Q5Multimedia support is currently dropped to 70%. We
> will replace by QtAV framework based on ffmpeg.

OK, thanks for the update! I didn't realize this was the case;
everything I saw was about getting it work in 5 with gstreamer. I didn't
see anything about the change over which seem eminently wise.

Is it not still odd though that the video won't play in a external
player opened by digiKam?

Cheers,

Sean


Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Gilles Caulier-4


2016-12-12 20:32 GMT+01:00 <[hidden email]>:

> You must be patient. Q5Multimedia support is currently dropped to 70%. We
> will replace by QtAV framework based on ffmpeg.

OK, thanks for the update! I didn't realize this was the case;
everything I saw was about getting it work in 5 with gstreamer. I didn't
see anything about the change over which seem eminently wise.

Is it not still odd though that the video won't play in a external
player opened by digiKam?

If the video cannot be played in an external player, what's we can do from digiKam side ? nothing.

We pass the url to the desktop application. that all. It's very simple. If external application need relevant codecs to play video, the digiKam codecs can not be used/shaed

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Shaav
In reply to this post by Shaav

> If the video cannot be played in an external player, what's we can do from
> digiKam side ? nothing.
>
> We pass the url to the desktop application. that all. It's very simple. If
> external application need relevant codecs to play video, the digiKam codecs
> can not be used/shaed

This is definitely a digiKam problem. At least with the app image.

The external player cannot play the video *ONLY* if it's opened *from
digiKam*. If you open it from the file manager, it plays just fine.

Sean
Reply | Threaded
Open this post in threaded view
|

Re: Video and Video Thumbnails in App Image

Gilles Caulier-4
Not reproducible here. Under Linux Mageia5, when i double click over a video thumbnail, it open the default video player set in KDE desktop : VLC. This one play the video as expected...

I tried with Xine and Dragon Player : it work perfectly...

So, there is a problem on your system...

Gilles Caulier

2016-12-19 4:58 GMT+01:00 <[hidden email]>:

> If the video cannot be played in an external player, what's we can do from
> digiKam side ? nothing.
>
> We pass the url to the desktop application. that all. It's very simple. If
> external application need relevant codecs to play video, the digiKam codecs
> can not be used/shaed

This is definitely a digiKam problem. At least with the app image.

The external player cannot play the video *ONLY* if it's opened *from
digiKam*. If you open it from the file manager, it plays just fine.

Sean