FS#58961 - [caja] caja does not show thumbnails for video files on samba shares

Attached to Project: Community Packages
Opened by Dan MacDonald (danboid) - Sunday, 10 June 2018, 23:31 GMT
Last edited by Balló György (City-busz) - Sunday, 17 March 2019, 18:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

caja does not show thumbnails for video files on samba shares.

Additional info:

* package version(s)

caja 1.20.2-1

* config and/or log files etc.

I enabled debug for cajas thumbnail code and when I tried browsing a directory over samba containing an MP4 file I got the following dumped to STDOUT:

** Message: 18:58:18.425: (Main Thread) Locking mutex

** Message: 18:58:18.425: (Main Thread) Adding thumbnail: smb://192.168.0.4/xyn/samba/20180603_005819.mp4

** Message: 18:58:18.425: (Main Thread) Unlocking mutex

** Message: 18:58:18.426: (Prioritize) Locking mutex

** Message: 18:58:18.426: (Prioritize) Unlocking mutex

** Message: 18:58:18.426: (Main Thread) Creating thumbnails thread

** Message: 18:58:18.426: (Thumbnail Thread) Locking mutex

** Message: 18:58:18.426: (Thumbnail Thread) Unlocking mutex

** Message: 18:58:18.426: (Thumbnail Thread) Creating thumbnail: smb://192.168.0.4/xyn/samba/20180603_005819.mp4

** Message: 18:58:19.217: (Prioritize) Locking mutex

** Message: 18:58:19.217: (Prioritize) Unlocking mutex


(caja:27551): MateDesktop-WARNING **: 18:58:19.220: Unable to create loader for mime type video/mp4: Unrecognised image file format

(caja:27551): MateDesktop-WARNING **: 18:58:19.221: Error creating thumbnail for smb://192.168.0.4/xyn/samba/20180603_005819.mp4: Unrecognised image file format
** Message: 18:58:19.221: (Thumbnail Thread) Thumbnail failed: smb://192.168.0.4/xyn/samba/20180603_005819.mp4

** Message: 18:58:19.222: (Thumbnail Thread) Locking mutex

** Message: 18:58:19.222: (Thumbnail Thread) Exiting

** Message: 18:58:19.229: (Thumbnail Thread) Notifying file changed file:0x562d83322640 uri: smb://192.168.0.4/xyn/samba/20180603_005819.mp4


Steps to reproduce:

Set the 'Show Thumbnails' option to 'Always' and 'Only for files smaller than' to 4GB under Caja's Preferences -> Preview tab. Switch Caja's display to to Icon mode then browse to a samba share containing video files less than 4GB in size.
This task depends upon

Closed by  Balló György (City-busz)
Sunday, 17 March 2019, 18:23 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Wednesday, 13 June 2018, 13:59 GMT
That doesn't appear to have anything to do with being on samba, but with the file format.
Comment by Dan MacDonald (danboid) - Wednesday, 13 June 2018, 14:14 GMT
Hi Doug

I should've mentioned that caja has no problems generating a thumbnail for the exact same video file when it is stored on my local disk.
Comment by Balló György (City-busz) - Sunday, 17 March 2019, 18:23 GMT

Loading...