google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

issue with gio path #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
It seems like I'm unable to create thumbnails through gio paths.
I'm not sure, but the option --enable-gio should add support for automated 
network paths used in nautilus in gnome-shell, right?

I've added a script in /usr/share/thumbnailers/ directory, when I try to use 
ffmegthumbnailer instead of totem-video-thumbnailer in order to create 
thumbnails in nautilus on my nas I have this return:
-
ffmpegthumbnailer -s 128 -i smb://nas/test.mov -o 
/tmp/.gnome_desktop_thumbnail.YZPJ0V -c png -f -t 10
Error: Could not open input file: smb://nas/test.mov
-
(the path smb://nas/test.mov is the %u option in /usr/share/thumbnailers/... 
this %u variable is generated by nautilus itself for my NAS)

the same path used with totem: /usr/bin/totem-video-thumbnailer -s 128 
smb://nas/test.mov /tmp/.gnome_desktop_thumbnail.YZPJ0V works fine

Of course if I mount the NAS by hand (nfs ou cifs) I have no problem at all.

I thought the --enable-gio option was written to enable this feature. Am I 
wrong?

I've tested with ffmpegthumbnailer 2.0.6 and 2.0.7, my system is an Arch Linux 
x86_64.
The creator of the Arch ffmpegthumbnailer package tells me that --enable-gio 
option was already enabled.
The bug I've submited is here: http://bugs.archlinux.org/task/25736

Do I have misunderstood the goal of this option?

Thanks for your help and sorry in advance if I'm not clear ;)
Max

Original issue reported on code.google.com by zappve...@gmail.com on 3 Sep 2011 at 6:55

GoogleCodeExporter commented 9 years ago
Correct, gio is supported only for local files. This means you can thumbnail 
file://somefile.avi but no network paths. I added a an extra logging to the 
source code to make this clear.

Original comment by dirk.vdb on 5 Sep 2011 at 7:40

GoogleCodeExporter commented 9 years ago
Thanks for your answer, is it planned to add this feature?

Original comment by zappve...@gmail.com on 11 Sep 2011 at 9:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No, because ffmpeg doesn't support gio paths.

Original comment by dirk.vdb on 11 Sep 2011 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 25 Aug 2012 at 10:52