Libraryless. Click here for Pure Java version (5581L/38K).
sS ffmpeg_concatVideos(L<File> inVideos, File outVideo) { File tempFile = createTempFile(); saveTextFile(tempFile, print("> ", mapToLines(inVideos, f -> "file " + singleQuote(f2s(f))))); ret ffmpeg("-f concat -safe 0 -i " + platformQuote(tempFile) + " -c copy -y " + platformQuote(mkdirsForFile(outVideo))); }
Began life as a copy of #1029704
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029705 |
Snippet name: | ffmpeg_concatVideos - no re-encode |
Eternal ID of this version: | #1029705/3 |
Text MD5: | 2ca9ec46fc6098d79df9bf186dce9fda |
Transpilation MD5: | 47efcb7b63544ff461356e6341afa2a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-09-07 22:07:21 |
Source code size: | 326 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 185 / 284 |
Version history: | 2 change(s) |
Referenced in: | [show references] |