Uses 1936K of libraries. Click here for Pure Java version (2286L/16K/64K).
!7 lib 1006715 lib 1006717 lib 1006721 // jcodec 0.2.0 + samples import org.jcodec.samples.transcode.*; p { final File inFile = getProgramFile(#1006716, "test.mp4"); inputFilePath("Audio file", voidfunc(final File audioFile) { thread { File outFile = prepareProgramFile(audioFile.getName() + "-" + inFile.getName()); copyFile(inFile, outFile); S[] args = {"--o:ac=copy", f2s(audioFile), f2s(outFile)}; TranscodeMain.main(args); print("Added " + audioFile + " to " + inFile + ", yielding " + outFile); } }); }
Began life as a copy of #1006720
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006725 |
Snippet name: | Add audio to video [dev.] |
Eternal ID of this version: | #1006725/3 |
Text MD5: | f5ae3869156a6db465dfc390c10043ed |
Transpilation MD5: | 9434d566b5a8324d1ed0498ceeaa2284 |
Author: | stefan |
Category: | javax video |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-03 00:30:39 |
Source code size: | 570 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 528 / 632 |
Version history: | 2 change(s) |
Referenced in: | [show references] |