Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] No Scene Previews since last few pre-release #2423

Closed
ghfsa opened this issue Mar 24, 2022 · 5 comments · Fixed by #2425
Closed

[Bug Report] No Scene Previews since last few pre-release #2423

ghfsa opened this issue Mar 24, 2022 · 5 comments · Fixed by #2425
Labels
bug Something isn't working

Comments

@ghfsa
Copy link

ghfsa commented Mar 24, 2022

Bug description
Since the last few pre-releases I'm not able to view Scene Previews created by those versions. Preview generated by last stable version (v13.1) or before could be seen though.

Stash Version: (any pre-releases after stable13.1):

Desktop:

  • OS: Windows 8.1
  • Browser: Firefox
  • Version: 98.0.2
@ghfsa ghfsa added the help wanted Extra attention is needed label Mar 24, 2022
@ghfsa ghfsa changed the title [Bug Report] No Scene Previews since last few pre-relese [Bug Report] No Scene Previews since last few pre-release Mar 24, 2022
@WithoutPants
Copy link
Collaborator

Check the value of setting Generated file naming hash. In most cases this should be oshash, but there is a latent bug where this value gets changed. You will also need to verify that the preview files are correctly located in the generated/screenshots directory.

@ghfsa
Copy link
Author

ghfsa commented Mar 24, 2022

Check the value of setting Generated file naming hash. ... verify that the preview files are correctly located in the generated/screenshots directory.

settings seem to be fine. Path & ohash unchanged beween versions.
pan

@gatt70
Copy link

gatt70 commented Mar 24, 2022

I upgraded recently and now scene previews aren't being generated for me either. The old ones still work fine. Here is a sample log:

22-03-24 22:05:49 Warning [generator] failed generating scene preview, trying fallback 2022-03-24 22:05:49 Error ffmpeg error when running command <C:\Program Files\FFmpeg\bin\ffmpeg.exe -v error -f concat -i H:\Archive\stash\generated\tmp\files_602553099e848b7a.txt -y -c copy H:\Archive\stash\generated\screenshots\602553099e848b7a.mp4>: [concat @ 00000233edeae440] Impossible to open 'H:preview_602553099e848b7a_000.mp4' H:\Archive\stash\generated\tmp\files_602553099e848b7a.txt: No such file or directory 2022-03-24 22:05:43 Info [generator] generating scene preview for \\path\filename.mp4

@bnkai
Copy link
Collaborator

bnkai commented Mar 24, 2022

I upgraded recently and now scene previews aren't being generated for me either. The old ones still work fine. Here is a sample log:

22-03-24 22:05:49 Warning [generator] failed generating scene preview, trying fallback 2022-03-24 22:05:49 Error ffmpeg error when running command <C:\Program Files\FFmpeg\bin\ffmpeg.exe -v error -f concat -i H:\Archive\stash\generated\tmp\files_602553099e848b7a.txt -y -c copy H:\Archive\stash\generated\screenshots\602553099e848b7a.mp4>: [concat @ 00000233edeae440] Impossible to open 'H:preview_602553099e848b7a_000.mp4' H:\Archive\stash\generated\tmp\files_602553099e848b7a.txt: No such file or directory 2022-03-24 22:05:43 Info [generator] generating scene preview for \\path\filename.mp4

Is C:\Program Files\FFmpeg\bin\ffmpeg.exe the ffmpeg you used before or not? There was a similar issue mentioned recently in discord and it seems that for some reason the ffmpeg used is not the correct one. Can you double check either the folder that you run stash from or where you have the config.yml and see if you have both ffmpeg.exe and ffprobe.exe there? If you dont you can download from here https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip (that is where stash downloads the windows binaries from) and unzip the ffmpeg.exe and ffprobe.exe to the stash folder?

@WithoutPants WithoutPants added investigate Investigation needed and removed help wanted Extra attention is needed labels Mar 25, 2022
@WithoutPants WithoutPants added this to the Version 0.14.0 milestone Mar 25, 2022
@WithoutPants WithoutPants added bug Something isn't working and removed investigate Investigation needed labels Mar 25, 2022
@WithoutPants
Copy link
Collaborator

Confirmed bug with preview generation code on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants