You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to ffmpeg concat attaches the wd to each filepath (at least on my system). I solved by reset images <- basename(images) just before the loop on input_txt_path.
Here below the reprex after the patch I used to fix issue #2
ari::ari_narrate(
script= system.file("test", "ari_intro_script.md", package="ari"),
slides= system.file("test", "ari_intro.html", package="ari"),
voice="Joey"
)
#> "C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS ari_intro_script.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output pandoc1c0c414b4119.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\corra\Documents\R\win-library\3.4\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\corra\AppData\Local\Temp\RtmpCiyuCW\rmarkdown-str1c0c69c45021.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"#> #> Output created: C:\Users\corra\AppData\Local\Temp\Rtmpi8VlWj/ari_script_Sr4gMM78ULl4.html#> Warning in normalizePath(path.expand(path), winslash, mustWork):#> path[1]="C:\Users\corra\Documents\R\win-library\3.4\ari\test#> \ari_intro.html#1": The system cannot find the file specified#> Warning in normalizePath(path.expand(path), winslash, mustWork):#> path[1]="C:\Users\corra\Documents\R\win-library\3.4\ari\test#> \ari_intro.html#2": The system cannot find the file specified#> Warning in normalizePath(path.expand(path), winslash, mustWork):#> path[1]="C:\Users\corra\Documents\R\win-library\3.4\ari\test#> \ari_intro.html#3": The system cannot find the file specified#> Warning in normalizePath(path.expand(path), winslash, mustWork):#> path[1]="C:\Users\corra\Documents\R\win-library\3.4\ari\test#> \ari_intro.html#4": The system cannot find the file specified#> Warning in normalizePath(path.expand(path), winslash, mustWork):#> path[1]="C:\Users\corra\Documents\R\win-library\3.4\ari\test#> \ari_intro.html#5": The system cannot find the file specified#> Warning: running command 'C:\ffmpeg\bin\ffmpeg.exe -y -f concat -safe 0 -#> i C:\Users\corra\AppData\Local\Temp\Rtmpi8VlWj/ari_input_LcPVQ5rUzxVj.txt -#> i C:\Users\corra\AppData\Local\Temp\Rtmpi8VlWj/ari_audio_F5L1gjRHbCnw.wav#> -c:v libx264 -c:a aac -b:a 192k -shortest -vsync vfr -pix_fmt yuv420p#> output.mp4' had status 1
The call to ffmpeg concat attaches the wd to each filepath (at least on my system). I solved by reset
images <- basename(images)
just before the loop oninput_txt_path
.Here below the reprex after the patch I used to fix issue #2
Session info
While running not for reprex, the error is more informative and, in particular the following is the output of my consol
As you can see the filepath is repeated twice.
The text was updated successfully, but these errors were encountered: