Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1024589 // ffmpeg_getSingleFrame

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3446L/24K).

// position = seconds
sS ffmpeg_getSingleFrame(File inVideo, File outImage, double position) {
  ret backtick(ffmpegCmd()
    + " -ss " + ffmpeg_formatSeconds(position)
    + " " + ffmpeg_inArg(inVideo)
    + " -vframes 1 " + ffmpeg_outArg(outImage));
}

Author comment

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: 207 / 295
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)