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

7
LINES

< > BotCompany Repo | #1025351 // ffmpeg_argsForMixingVideoAndAudio_copy - doesn't recode audio

JavaX fragment (include)

sS ffmpeg_argsForMixingVideoAndAudio_copy(File videoIn, File audioIn, File out) {
  ret "-y -i " + platformQuote(videoIn)
    + " -i " + platformQuote(audioIn)
    + " -c:v copy -c:a copy -strict experimental"
    + " -map 0:v:0 -map 1:a:0"
    + " " + platformQuote(out);
}

Author comment

Began life as a copy of #1025291

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: #1025351
Snippet name: ffmpeg_argsForMixingVideoAndAudio_copy - doesn't recode audio
Eternal ID of this version: #1025351/2
Text MD5: da8bb3c83f50cd59eaebac0acf416b74
Author: stefan
Category: javax / ffmpeg
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-04 21:09:54
Source code size: 280 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 226
Version history: 1 change(s)
Referenced in: [show references]