Hi there,
First up, PhotoStructure is such a great piece of software, thanks for creating it!
I’m having an issue getting videos to appear within PhotoStrucure. Syncing displays all the images as expected, but skips any kind of video I add to the path. I’ve tried a bunch of things suggested on the forums to troubleshoot but I’m still coming up empty unfortunately.
Setup
- I’m on MacOS 10.15.7
- Tried both PhotoStructure for Desktop and PhotoStructure for Node versions (1.1.0)
- About PhotoStructure shows that I have FFmpeg 5.0.1.
What I’ve tried
- I’ve tried MOV and MP4 files, newly created ones via ffmpeg to be sure there are no errors in them.
- I’ve used
.photostructure info filename.mov
on Node and I can’t see a reason why they would be excluded as they all showerrors: [] rejected: [] ignoredBecause: []
- These files don’t require transcoding by default, but either forcing it on or off using settings does not change anything.
What I think it might be
- On this forum post it was mentioned to test ffmpeg’s arguments, and when I do I get an error with “singlejpeg” not being a valid output format. After digging through debug logs, I can see the following:
{"ts":1654851263136,"l":"warn","ctx":"sharpReadable(/path/to/video/FILENAME.MOV)","msg":"strategy failed for extractVideoFrame: Error: [NULL @ 0x7febb00060c0] Requested output format 'singlejpeg' is not a suitable output format\n/Users/user/Library/Caches/PhotoStructure/imgcache/2v/sg/rj1pppzzkzq7v0g8exg6/.frame.jpg: Invalid argument⁶⁷"}
{"ts":1654851263137,"l":"warn","ctx":"AssetPreviewBuilder(1)","msg":"Failed to set shown file to AssetFile(1)","meta":"Error: Cannot read /path/to/video/FILENAME.MOV (video/quicktime): [NULL @ 0x7febb00060c0] Requested output format 'singlejpeg' is not a suitable output format\n/Users/user/Library/Caches/PhotoStructure/imgcache/2v/sg/rj1pppzzkzq7v0g8exg6/.…"}
{"ts":1654851263139,"l":"warn","ctx":"AssetPreviewBuilder(1)","msg":"none of the files are valid"}
{"ts":1654851263139,"l":"warn","ctx":"UpdateAsset(1)","msg":"Failed to update previews. Un-showing asset 1","meta":{"cause":{}}}
{"ts":1654851263141,"l":"debug","ctx":"stdoutWrite","msg":"()","meta":{"obj":{"id":1,"skipped":true},"ready":true}}
So as of a few hours in troubleshooting, this seems like the likely issue, although I’m not entirely sure at this point. I can provide full logs, just not sure what would be helpful. If you have any thoughts on how I might fix this issue it would be most appreciated!