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

6
LINES

< > BotCompany Repo | #1024628 // ffmpeg_argsForSplice_usingFile

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

Libraryless. Click here for Pure Java version (2859L/18K).

sS ffmpeg_argsForSplice_usingFile(File in, File out, L<DoubleRange>timestamps, O... _) {
  File f = createTempFile("ffmpeg", "txt");
  saveTextFile(f, ffmpeg_makeSpliceFilter(timestamps));
  ret "-i " + platformQuote(in) + " -filter_complex_script " + platformQuote(f) + " -map [outv] -map [outa] " +
    unnull(stringPar beforeOut(_)) + " " + platformQuote(out);
}

Author comment

Began life as a copy of #1024581

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1024628
Snippet name: ffmpeg_argsForSplice_usingFile
Eternal ID of this version: #1024628/3
Text MD5: de093dff7dce4811f681bf9cfbd84336
Transpilation MD5: acd0c170f0a395e7e1a088f31d41f4d5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-15 00:12:25
Source code size: 370 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 148 / 205
Version history: 2 change(s)
Referenced in: [show references]