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

7
LINES

< > BotCompany Repo | #1025291 // ffmpeg_argsForMixingVideoAndAudio - recodes audio as AAC

JavaX fragment (include)

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

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: #1025291
Snippet name: ffmpeg_argsForMixingVideoAndAudio - recodes audio as AAC
Eternal ID of this version: #1025291/3
Text MD5: 9f8a786746d7060a49103ff005c88dc8
Author: stefan
Category: javax / ffmpeg
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-19 17:46:36
Source code size: 271 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 225 / 259
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025351 - ffmpeg_argsForMixingVideoAndAudio_copy - doesn't recode audio