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

5
LINES

< > BotCompany Repo | #1025057 // ffmpeg_argsForAudioSplice

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

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

sS ffmpeg_argsForAudioSplice(File in, File out, L<DoubleRange>timestamps) {
  File f = createTempFile("ffmpeg", "txt");
  saveTextFile(f, ffmpeg_makeAudioSpliceFilter(timestamps));
  ret "-i " + platformQuote(in) + " -filter_complex_script " + platformQuote(f) + " -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: #1025057
Snippet name: ffmpeg_argsForAudioSplice
Eternal ID of this version: #1025057/4
Text MD5: d21a4f860a709df9073e7203c58a7fba
Transpilation MD5: 0610792df7d891e8595c3a516eed5b46
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-03 20:13:57
Source code size: 306 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 227
Version history: 3 change(s)
Referenced in: [show references]