Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A How can I efficiently create a collage of video thumbnails on Linux?

Of course, being a swiss army knife ffmpeg already has this capability builtin: ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4:padding=2:color=white" -vsync 0 -frames:v 1 ...

posted 1mo ago by GeraldS‭  ·  edited 1mo ago by GeraldS‭

Answer
#3: Post edited by user avatar GeraldS‭ · 2024-10-09T06:38:12Z (about 1 month ago)
added borders between the thumbnails
  • Of course, being a swiss army knife `ffmpeg` already has this capability builtin:
  • ```shell
  • ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4" -vsync 0 -frames:v 1 output.jpg
  • ```
  • The result is about the same:
  • ![Output image of ffmpeg, a 5x4 grid of video images](https://linux.codidact.com/uploads/mnzt6gamk3pu3pzuxcuslkzkl6t5)
  • Of course, being a swiss army knife `ffmpeg` already has this capability builtin:
  • ```shell
  • ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4:padding=2:color=white" -vsync 0 -frames:v 1 output.jpg
  • ```
  • The result is about the same:
  • ![Output image of ffmpeg, a 5x4 grid of video images](https://linux.codidact.com/uploads/ivqd76eusp7lpoxok6o7qarx3qyl)
#2: Post edited by user avatar GeraldS‭ · 2024-10-08T12:08:00Z (about 1 month ago)
corrected image position
  • Of course, being a swiss army knife `ffmpeg` already has this capability builtin:
  • ```
  • ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4" -vsync 0 -frames:v 1 output.jpg
  • ```
  • The result is about ![Output image of ffmpeg, a 5x4 grid of video images](https://linux.codidact.com/uploads/mnzt6gamk3pu3pzuxcuslkzkl6t5)the same:
  • Of course, being a swiss army knife `ffmpeg` already has this capability builtin:
  • ```shell
  • ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4" -vsync 0 -frames:v 1 output.jpg
  • ```
  • The result is about the same:
  • ![Output image of ffmpeg, a 5x4 grid of video images](https://linux.codidact.com/uploads/mnzt6gamk3pu3pzuxcuslkzkl6t5)
#1: Initial revision by user avatar GeraldS‭ · 2024-10-08T12:07:14Z (about 1 month ago)
Of course, being a swiss army knife `ffmpeg` already has this capability builtin:

```
ffmpeg -i Example.mp4 -vf "select=not(mod(n\,20)),scale=200:-1,tile=5x4" -vsync 0 -frames:v 1 output.jpg
```

The result is about ![Output image of ffmpeg, a 5x4 grid of video images](https://linux.codidact.com/uploads/mnzt6gamk3pu3pzuxcuslkzkl6t5)the same: