Transpiled version (5429L) is out of date.
sS ffmpeg_speedUpVideo(File inVideo, File outVideo, double factor) { double invFactor = 1/factor; ret ffmpeg("-i " + platformQuote(inVideo) + " -filter_complex " + platformQuote("[0:v]setpts=" + invFactor + "*PTS[v];[0:a]atempo=" + factor + "[a]") + " -map " + platformQuote("[v]") + " -map " + platformQuote("[a]") + " -y " + platformQuote(mkdirsForFile(outVideo))); }
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: | 370 / 495 |
| Version history: | 10 change(s) |
| Referenced in: | [show references] |