Libraryless. Click here for Pure Java version (3446L/24K).
1 | // position = seconds |
2 | sS ffmpeg_getSingleFrame(File inVideo, File outImage, double position) {
|
3 | ret backtick(ffmpegCmd() |
4 | + " -ss " + ffmpeg_formatSeconds(position) |
5 | + " " + ffmpeg_inArg(inVideo) |
6 | + " -vframes 1 " + ffmpeg_outArg(outImage)); |
7 | } |
Began life as a copy of #1024585
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024589 |
| Snippet name: | ffmpeg_getSingleFrame |
| Eternal ID of this version: | #1024589/4 |
| Text MD5: | 277092933272db75eff4ffe8460603b5 |
| Transpilation MD5: | 2ba14dc7b2f0c114ae6e6a5abf024dde |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-19 17:11:32 |
| Source code size: | 259 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 418 / 548 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |