h5ai
h5ai copied to clipboard
Fix short videos thumbnail generation
- Use ffprobe/avprobe to get the total duration of each video file first.
- Compute a desired optimal timestamp of 50% of the total duration to seek for and get the thumbnail from.
- Fix capture of ffmpeg's output (from stderr) in exec_cmdv() by using an optional redirection to stdout.
- Capture of sub-process output is optional (possible slight performance gain).
This fixes #763, fixes #565, fixes #754, fixes #436, fixes #695.
commit 8280aff fixes #695.
I built your forks master branch and the webpage is just a broken page
You don't have issues open on your fork so I'm putting it here. Is the master branch even the correct one to use? I want all of the features you've implemented into h5ai in one package if thats possible.
@Hi-ImKyle I have enabled issues just now thanks for the heads up. Yes master branch includes all my changes. No idea what your issue is, does this happen with the original version of h5ai? What server are you using? What php version? What do you see in the developer console in the web browser?
I'll create an issue on your fork instead of polluting this one~