Seems to me I am the only one running 1.0.0-beta.9 and seeing this. I scanned quite large set of photos and videos ~73K assets. Scan completed within a day on decent Ubuntu 20 machine (I chose not to copy to Library). I am browsing through assets and notice no videos of any type/extension were imported from any folders. Checked my PS_ related env vars:
Yes, I had this too issue too but I cant say if it is the same cause, I drilled through to logs and ffmpeg failed with hwaccl not supported. I run a windows VM so no hardware acceleration is available. I adjusted the new ffmpeg arguments setting to not include the hwaccel parameter and it imported all new videos.
I also had this issue due to hwaccl being set to auto. Set it to off then no more issue. I know that setting will be defaulted to off in beta.10 which hopefully @mrm releases soon since it’s been cooking for a couple weeks already.
I stopped PS, plugged export PS_FFMPEG_HWACCEL=“disable” into ~/.profile, logged out, logged back in, started PS and did “Rebuild(slow)”. Watching it working, but no videos has showed up… Do I need to dump the Library, as it sees already video assets marked as “not shown”?
It’s a bit confusing that PhotoStructure has both a “rebuild” and a “sync”, but they’re different:
rebuild is “driven” by the current URIs in your library database: it’s to make sure the contents of your library database are correct. This involves regenerating image hashes, re-extracting metadata (as new versions may have improvements), and reaggregation of assets (because new versions have asset aggregation improvements).
sync is driven by what’s on your filesystem: it’s to import new or updated files. It assumes asset aggregation is already correct (so it can be a lot faster than rebuild).
I ran “manual” sync. No errors, couple warnings and the file showed up in PS. But just that file. No other videos are present. Then I ran sync to the folder where this and other videos sit - no new videos popped in… And I noticed PS was doing sync for more than this folder in the command /path/to/the/dir.
I found out earlier today that the cache directory cleanup script could sometimes fight with the longer-running image extraction or transcode tasks, which could result in some videos not getting imported.
I’ve rewritten the cleanup method and imgcache prep functions to play nicely with each other: this is in beta.10 (due in a couple days).
“longer-running image extraction or transcoding tasks” would not be an issue for all videos not being scanned… Let’s see how .10 behaves. I will try it with default hwaccl settings and will re-import all my assets. Fun times!