Closed The-Pezman closed 3 years ago
The file should be at /tmp/RtmpPa3t1d/file47e92baea8a4.mp4
library(tuneR)
library(ari)
out = ari_stitch(
ari_example(c("mab1.png", "mab2.png")),
list(noise(), noise()))
out
#> [1] TRUE
#> attr(,"outfile")
#> [1] "/private/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T/RtmpqElJTw/file4c294745acea.mp4"
#> attr(,"images")
#> [1] "/Users/johnmuschelli/Library/R/4.0/library/ari/test/mab1.png"
#> [2] "/Users/johnmuschelli/Library/R/4.0/library/ari/test/mab2.png"
outfile = attr(out, "outfile")
file.exists(outfile)
#> [1] TRUE
file.size(outfile)
#> [1] 39664
Created on 2021-04-28 by the reprex package (v2.0.0)
Here is with ari 0.3.5
library(tuneR)
library(ari)
out = ari_stitch(
ari_example(c("mab1.png", "mab2.png")),
list(noise(), noise()))
out
#> [1] TRUE
#> attr(,"outfile")
#> [1] "/private/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T/RtmpaMEFyR/file4cac7f8a0eeb.mp4"
#> attr(,"images")
#> [1] "/Users/johnmuschelli/Library/R/4.0/library/ari/test/mab1.png"
#> [2] "/Users/johnmuschelli/Library/R/4.0/library/ari/test/mab2.png"
outfile = attr(out, "outfile")
file.exists(outfile)
#> [1] TRUE
file.size(outfile)
#> [1] 39572
Created on 2021-04-28 by the reprex package (v2.0.0)
Ah, thanks. I was able to navigate to the directory and find the video. But how can we specify the output directory in the code?
Please read the documentation for ?ari_stitch
.
I'm running Ubuntu Studio 20.10. I installed both ari 0.3.5 (the latest off CRAN) and ffmpeg. All I did was try to run the simple ari_stitch example from the readme:
But I did not get a resultant video file. This is what I saw in the console: