Timeline for Extract key frame from video with ffmpeg
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 3, 2016 at 13:17 | history | edited | Gyan | CC BY-SA 3.0 | added 16 characters in body |
| Nov 3, 2016 at 13:17 | comment | added | Gyan | Check your ffmpeg version. Both ss before -i works and output is a set of image files (PNG is a still image format, anyway). There's one change needed to avoid a quirk of ffmpeg which will duplicate frames. I've added that to the command. | |
| Nov 3, 2016 at 12:47 | vote | accept | SpongeBobPHPants | ||
| Nov 3, 2016 at 12:47 | comment | added | SpongeBobPHPants | This seems to be the answer, thank you. I think the usage is syntax is somewhat different, however. Running the above command results in a single file over 1GB (it must contain a frame every 300 frames), rather than producing a separate image for each frame. Additionally, as we only require one frame I think we can add -frames:v 1 so that it will take the first suitable frame it finds. This seems ok to me. This seems to ignore the -ss parameter as far as I can tell, though. Would be ideal to start finding thumbnails after X seconds, but maybe it won't be needed. Thanks again! | |
| Nov 3, 2016 at 5:07 | history | answered | Gyan | CC BY-SA 3.0 |