Re: [Shotwell] Thumbnails for videos

2017-05-12 Thread Max

On 2017년 01월 19일 09:57, Andreas Brauchli wrote:

but then I get this message:
Your photo library is not compatible with this version of Shotwell.
It
appears it was created by Shotwell 0.23.2 (schema 21). This version
is
0.25.3 (schema 20). Please use the latest version of Shotwell.

That probably stems from running your live photo collection on a
development version of shotwell which is never advisable. The map-
widget  or libchamplain branches of mine increases the schema version
and thus makes it incompatible

"Told you so" isn't going to do much good and the change is basically
compatible, so if you were running the map-widget branch, you can
either
* Delete your shotwell DB and reimport all your photos or
* Manually downgrade your DB version (install sqliteman, then change
the schema version back to 20 on the DB
~/.local/share/shotwell/photo.db)

Keep a backup of the DB in case it doesn't work.


Seems to work well. Thanks

___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-26 Thread Max

On 2017년 01월 26일 11:30, Jens Georg wrote:

Is the resulting thumbnail.png a valid file?


Yes it is! 1MB in my home directory.
___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-26 Thread Jens Georg



0:00:00.062782341 26733   0xf88630 WARN basesrc
gstbasesrc.c:3489:gst_base_src_start_complete: pad not
activated yet
0:00:00.138799574 26733 0x7f46a4060540 WARN qtdemux
qtdemux.c:2651:qtdemux_parse_trex: failed to find fragment
defaults for stream 1
0:00:00.138875639 26733 0x7f46a4060540 WARN qtdemux
qtdemux.c:2651:qtdemux_parse_trex: failed to find fragment
defaults for stream 2
0:00:00.138906632 26733 0x7f46a4060540 WARN basesrc
gstbasesrc.c:2396:gst_base_src_update_length: processing at
or past EOS


Is the resulting thumbnail.png a valid file?
___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-26 Thread Jens Georg



purging gstreamer-vaapi doesn't seem to have any (positive or
negative) effects on my system or shotwell.


Can you run /usr/local/libexec/shotwell/shotwell-video-thumbnailer 
/path/to/video > thumbnail.png --gst-debug *:2 ?


(Or whereever that executable is)
___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-23 Thread Jens Georg



If I need to choose between the map widget and the video thumbnails, I
will pick the map. Or is there a way to get both?


There's a map branch rebased on top of master/0.25.x in Andreas's 
repository. But you can also try to deinstall gstreamer-vaapi as a 
work-around (and to check whether that's the actual issue)

___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-19 Thread Max

On 2017년 01월 19일 09:23, Andreas Brauchli wrote:

What does `which shotwell' tell? If it's not /usr/bin/shotwell (most
likely it'd be /usr/local/bin/shotwell - note the 'local') you're not
running the packaged version. Local binaries take priority over
packaged ones.


aha! you are right:
/usr/local/bin/shotwell


To remove the locally installed version, go to your shotwell source
folder, check out the 0.23.5 tag and run "make uninstall"


my source folder is the above path? How do I check out a tag?

thanks for giving me a hand at this.
___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-19 Thread Max

On 2017년 01월 18일 11:28, Max wrote:

dpkg -l | grep shotwell


the ppa just got updated and pushed it to
ii  shotwell 
0.25.3-0~jensge1~xenial1  amd64 
Digital photo manager


however, in the About infobox it still says 0.23.5



___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-17 Thread Jens Georg

Can you try a version with 1f07d737505a2c4ecc7c2ed0e415a9f8b9f4bd26
applied? (that's >= 0.24.2)


Help -> About says it is  0.23.5, but Synaptic says I have
0.25.2-0~jensge1~xenial1 installed.

?

can you paste the output of dpkg -l | grep shotwell ?

The source at least seems to have the correct version. I will push 
0.25.3 to the PPA tonight.

___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-16 Thread Max

On 2017년 01월 17일 08:33, Jens Georg wrote:



It would be very practical to have thumbnails for video files in
Shotwell.


That should just work. Can you check your log if shotwell is able to


Where is that log?


~/.cache/shotwell/shotwell.log

ok

contents:

L 7964 2017-01-17 02:50:01 [MSG] main.vala:385: Shotwell Photo Manager 
0.23.5
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module 
/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing.la (SPIT 0): 
module with name "org.yorba.shotwell.publishing.core_services" already 
loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module 
/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing-extras.la 
(SPIT 0): module with name "org.yorba.shotwell.publishing.extras" 
already loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module 
/usr/local/lib/shotwell/plugins/builtin/shotwell-transitions.la (SPIT 
0): module with name "org.yorba.shotwell.transitions" already loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module 
/usr/local/lib/shotwell/plugins/builtin/shotwell-data-imports.la (SPIT 
0): module with name "org.yorba.shotwell.data_imports.core_services" 
already loaded

L 7964 2017-01-17 02:50:02 [MSG] main.vala:43: Verifying database ...
L 7964 2017-01-17 02:50:09 [MSG] VideoSupport.vala:381: interpreter 
state has changed; video thumbnails may be out of date
L 7964 2017-01-17 02:50:18 [MSG] VideoSupport.vala:433: offline video 
thumbnail regeneration completed
L 7964 2017-01-17 02:50:34 [WRN] DirectoryMonitor.vala:916: Skipping 
hidden file/directory 
/home/user/Pictures/virbimages/mapillary_tools/.gitignore
L 7964 2017-01-17 02:50:40 [WRN] DirectoryMonitor.vala:916: Skipping 
hidden file/directory /home/user/Pictures/2016/04/.comments
L 7964 2017-01-17 02:50:45 [WRN] DirectoryMonitor.vala:916: Skipping 
hidden file/directory /home/user/Pictures/2016/05/.comments
L 7964 2017-01-17 02:50:58 [WRN] BatchImport.vala:1833: Unable to read 
metadata for /home/user/Pictures/2014/12/11/IMG_20141211_204337.jpg 
(unsupported format): continuing to attempt import
L 7964 2017-01-17 02:50:58 [WRN] Photo.vala:1182: Unable to interrogate 
photo file /home/user/Pictures/2014/12/11/IMG_20141211_204337.jpg: 
Unexpected early end-of-stream
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2014/08/04/_SAM4048.JPG
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2014/08/04/_SAM4048_modified.JPG
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2016/05/12/_SAM1643.JPG
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2016/05/12/_SAM1643_modified.JPG
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2014/04/20/_SAM2167.JPG
L 7964 2017-01-17 02:51:02 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2014/04/20/_SAM2167_modified.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2014/08/16/DSC_1160.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2014/08/16/DSC_1160_modified.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2014/07/02/_SAM2952.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2014/07/02/_SAM2952_modified.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2015/12/23/_SAM0868.JPG
L 7964 2017-01-17 02:51:06 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2015/12/23/_SAM0868_modified.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2014/03/27/DSC_0559.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2014/03/27/DSC_0559_modified.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2016/04/30/_SAM1526.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2016/04/30/_SAM1526_modified.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:646: Completed 
writing metadata to /home/user/Pictures/2016/06/12/DSC_1477.JPG
L 7964 2017-01-17 02:51:07 [MSG] MetadataWriter.vala:652: Completed 
writing metadata to /home/user/Pictures/2016/06/12/DSC_1477_modified.JPG
L 7964 2017-01-17 02:51:44 [MSG] VideoSupport.vala:422: normal video 
thumbnail regeneration completed
L 7964 2017-01-17 02:51:44 [MSG] VideoSupport.vala:442: saving video 
interpreter state to configuration system



Re: [Shotwell] Thumbnails for videos

2017-01-16 Thread Jens Georg



$ shotwell
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module
/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing.la (SPIT
0): module with name "org.yorba.shotwell.publishing.core_services"
already loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module
/usr/local/lib/shotwell/plugins/builtin/shotwell-publishing-extras.la
(SPIT 0): module with name "org.yorba.shotwell.publishing.extras"
already loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module
/usr/local/lib/shotwell/plugins/builtin/shotwell-transitions.la (SPIT
0): module with name "org.yorba.shotwell.transitions" already loaded
L 7964 2017-01-17 02:50:02 [CRT] Plugins.vala:418: Not loading module
/usr/local/lib/shotwell/plugins/builtin/shotwell-data-imports.la (SPIT
0): module with name "org.yorba.shotwell.data_imports.core_services"
already loaded
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open 
/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so

libva info: va_openDriver() returns -1



Can you try a version with 1f07d737505a2c4ecc7c2ed0e415a9f8b9f4bd26 
applied? (that's >= 0.24.2)

___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list


Re: [Shotwell] Thumbnails for videos

2017-01-16 Thread Max

On 2017년 01월 16일 20:42, Jens Georg wrote:



It would be very practical to have thumbnails for video files in
Shotwell.


That should just work. Can you check your log if shotwell is able to


Where is that log?


find your thumbnailer binary? Do you have all the GStreamer plugins
installed? (good, bad, ugly, libav)?


I think so. Shouldn't they be at least "recommended" packages in the 
package manager?

___
shotwell-list mailing list
shotwell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/shotwell-list