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

7
LINES

< > BotCompany Repo | #1024638 // ffmpeg_argsForSplice_multipleInputVideos

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

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

sS ffmpeg_argsForSplice_multipleInputVideos(L<File> in, File out, LL<DoubleRange> timestamps) {
  File f = createTempFile("ffmpeg", "txt");
  saveTextFile(f, ffmpeg_makeSpliceFilter_multipleInputVideos(timestamps));
  ret joinWithSpace(map(in, i -> "-i " + platformQuote(i)))
    + " -filter_complex_script " + platformQuote(f)
    + " -map [outv] -map [outa] " + platformQuote(out);
}

Author comment

Began life as a copy of #1024628

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: #1024638
Snippet name: ffmpeg_argsForSplice_multipleInputVideos
Eternal ID of this version: #1024638/3
Text MD5: b744e8309a73a442f022398074047d8f
Transpilation MD5: dcd04c5543d0449c6e6dd405988a6e79
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-21 14:38:27
Source code size: 391 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 260
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)