schedutron / home-server

A media home server to stream video from your laptop to any device on the same Wi-Fi!
MIT License
20 stars 47 forks source link

Add thumbnail to the list of files #11

Open Kalwing opened 7 years ago

Kalwing commented 7 years ago

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

schedutron commented 7 years ago

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

Kalwing commented 7 years ago

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)

schedutron commented 7 years ago

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

syfenx commented 7 years ago

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

schedutron commented 7 years ago

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