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
Trying to run this command -
string taskCommandLine = string.Format(@"cmd /c %AZ_BATCH_APP_PACKAGE_ffmpeg#4.3%\ffmpeg-4.3-win64-static\bin\ffmpeg.exe -i {0} {1}", inputMediaFile, outputMediaFile);
But the inside batch task stderr.txt file I'm getting "System cannot find the path specified" every time. But when I tried a different command to test "cmd /c echo test > sample.txt" then it worked and uploaded the file into the destination blob. Please help me!!!
The text was updated successfully, but these errors were encountered:
I encountered the same issue.
For me the problem was that i m using a different ffmpeg zip package (so it s a different application package) and consequently the path in the command was not correct.
I have download the version 4.3.2 (the zip version) at https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.2-2021-02-27-essentials_build.zip.
This archive file has the ffmpeg execute file located at ffmpeg-4.3.2-2021-02-27-essentials_build/bin/ffmpeg.exe
so i have change this line string taskCommandLine = String.Format("cmd /c {0}\\ffmpeg-4.3.2-2021-02-27-essentials_build\\bin\\ffmpeg.exe -i \"{1}\" \"{2}\"", appPath, inputMediaFile, outputMediaFile);
Note: I have added quote to handle space in input/output file
Hi All,
Trying to run this command -
string taskCommandLine = string.Format(@"cmd /c %AZ_BATCH_APP_PACKAGE_ffmpeg#4.3%\ffmpeg-4.3-win64-static\bin\ffmpeg.exe -i {0} {1}", inputMediaFile, outputMediaFile);
But the inside batch task stderr.txt file I'm getting "System cannot find the path specified" every time. But when I tried a different command to test "cmd /c echo test > sample.txt" then it worked and uploaded the file into the destination blob. Please help me!!!
The text was updated successfully, but these errors were encountered: