find /mnt/md1/Media/Movies -name \*.avi | while read ln; do
ffmpegthumbnailer -i "$ln" -o "$(dirname "$ln")/$(basename "$ln" .avi).jpeg"
done
Thanks in advance!
On 15-06-15 1:31 PM, K Robert wrote:
> Hello,
>
> I've been using alt-f for quite a while now, everything is perfect, only
> thing it's missing from my setup are video thumbnails.
> I am using the latest version of minidlna from the Alt-F package.
> I-ve installed ffmegthumbnailer, but i can't find a script to generate
> thumbnails form a folder with movies. It's time consuming to generate it
> manualy 1 by 1.
> Can anyone help me with a script, or another software to help me create
> thumbs form folders, recursively.
>
> Thanks in advance!
I'm amazed you're using this for video.
It has been discussed here quite a bit that the limited power of these
boxes mean they're best used for simply file sharing. You could use them
for media activities such as playing music, but I think the consensus
has been video is out of the question.
You are mixing up things.
My apologies. I did not mean to confuse. Sorry.*Playing* video is OK, what is not OK is *transcoding* video, this is, converting on the fly one format to another. Transcoding audio works on a 320L with a cpu usage between 10 and 70% depending on the input and output formats, that's near the box limits.
First of all , you have to install ffmpegthumbnailer from alt-f scripts page (from you box's WebUI)1. Edit above script to suite your needs (change media path)2. Open notepad on your pc, copy script , and save file as makemythumbs.sh3. Upload the script "makemythumbs.sh" onto your machine4. Ssh to your box, go to the location where you uploaded the script
5. Set rights (from ssh) => chmod u+x makemythumbs.sh6. execute (from ssh) => sh makemythumbs.shThe process can take some time, depending on movie database. If it's all ok, you should see beside your movie, a new jpg file with your movie name.Good luck!
It has been quite a while now, that minidlna 1.1.5 is out.Anybody can give me some pointers on how to upgrade minidlna alt-f package (currently 1.1.4) to 1.1.5 version?
Thanks