Transpiled version (5429L) is out of date.
1 | sS ffmpeg_speedUpVideo(File inVideo, File outVideo, double factor) { |
2 | double invFactor = 1/factor; |
3 | ret ffmpeg("-i " + platformQuote(inVideo) |
4 | + " -filter_complex " + platformQuote("[0:v]setpts=" + invFactor + "*PTS[v];[0:a]atempo=" + factor + "[a]") |
5 | + " -map " + platformQuote("[v]") |
6 | + " -map " + platformQuote("[a]") |
7 | + " -y " + platformQuote(mkdirsForFile(outVideo))); |
8 | } |
Began life as a copy of #1029703
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: | #1029704 |
Snippet name: | ffmpeg_speedUpVideo [make timelapse - works - keeps pitch] |
Eternal ID of this version: | #1029704/11 |
Text MD5: | e4cc4a7bddb2a2ed977148b572baffcb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-12-09 22:00:04 |
Source code size: | 396 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 180 / 270 |
Version history: | 10 change(s) |
Referenced in: | [show references] |