home-server icon indicating copy to clipboard operation
home-server copied to clipboard

Add thumbnail to the list of files

Open Kalwing opened this issue 8 years ago • 5 comments

I used video tag. Not a good idea semantically but it works for now

Kalwing avatar Oct 28 '17 20:10 Kalwing

Looks good, but somehow now the browser takes forever to load the list of videos. What could be the problem?

schedutron avatar Oct 29 '17 06:10 schedutron

Well the browser must still load a part of the video I guess... the only other option would be to use python to generate the thumbnail. On another project I used ffmpeg to generate picture from the video with php, I think it would probably work with python... (i found that : https://github.com/senko/python-video-converter)

Kalwing avatar Oct 29 '17 10:10 Kalwing

Thanks! I'll view it soon and let you know.

schedutron avatar Oct 29 '17 15:10 schedutron

I was trying this with ffmpeg, let me know if that's an option and I'll continue.

syfenx avatar Nov 01 '17 04:11 syfenx

@sjhuff Sure. I’m open to it. Go for ffmpeg!

schedutron avatar Nov 01 '17 05:11 schedutron