Generate video sprites using just FFmpeg

(steelcm.com)

49 points | by steelcm 9 hours ago ago

13 comments

  • EE84M3i 2 hours ago

    Is it common to call these sprites in British English? I would call them "thumbnails".

    • allenu an hour ago

      I'll admit I was expecting an explanation of how to extract sprites from retro video game footage using FFmpeg, which I can see totally being possible with a bit of work.

      • dlcarrier 34 minutes ago

        I was thinking the opposite: Using FFmpeg as a sprite engine, to move sprites around, over background layers

        Overlaying them at fixed positions is trivially easy, but animating the movement may take some work.

    • wmf 2 hours ago

      The term "sprite" is mostly used in games. A single image file that contains multiple sub-images is called a "sprite sheet". (This reduces overhead compared to loading a large number of image files.) In this case they happen to be video thumbnails.

  • pdyc 18 minutes ago

    interesting will probably integrate as sprite mode in my ffmpeg video editor https://newbeelearn.com/tools/videoeditor/

  • montroser 2 hours ago

    A long time ago, we used this approach to play videos at 15 fps in IE6, with no flash or realplayer plugins required! No sound though...

  • bastloing 4 hours ago

    Back in the day a sprite was a smaller 2d bitmap you'd superimpose on the screen. A key frame was a marker like this.

    • smitelli 3 hours ago

      I’m trying to remember the name of a UI control that could be backed by something like this. It was a sequence of thumbnails laid out in a row like a film strip. (For all I know, that was what it was called.)

      • bastloing 2 hours ago

        Could be a poster frame or chapter frame or chapter marker

    • wslh 3 hours ago

      Yes, and the sprites were supported by a specific coprocessor. For example, the Apple II didn't have one.

      • JSR_FDED an hour ago

        We had to make do with Shape Tables in AppleSoft BASIC…good times drawing those out manually on graph paper. And then XOR-ing them onto the background. Amazing how good games were on the Apple ][ without dedicated graphics hardware.

  • brokenmachine 5 hours ago

    I wish there was some way to get vlc to use external sprite files.

    While I'm thinking about it, external chapter files would be great too. Then you could make your own bookmarks without modifying the video file.

  • robblbobbl 4 hours ago

    Cool thanks