I want to make thumbnails of my videos

Johnny Rosenberg gurus.knugum at gmail.com
Fri Jul 20 15:18:47 UTC 2012


2012/7/20 Kevin O'Gorman <kogorman at gmail.com>:
> I have a hobby website with some videos from my camera and phones, as
> well as photos from both.  I've figured out how to use ImageMagick's
> convert(1) to script the creation of thumbnails en masse, and would
> like to automate the task for  videos too.  I have mostly AVI and MP4
> formats.
>
> Any suggestions?

Here's one suggestion, at least:
ffmpeg  -itsoffset -4  -i test.avi -vcodec mjpeg -vframes 1 -an -f
rawvideo -s 320x240 test.jpeg

This will create a 320×240 size jpeg image of the fourth second of the video.


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ

>
> --
> Kevin O'Gorman, PhD
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list