On 2020-04-16 11:04, First Last wrote:
/home/ec2-user/ffmpeg-git-20200324-amd64-static/ffmpeg -re -loop 1
-framerate 2 -i /home/ec2-user/banner.png -s 1920x1080 -ab 128k -vcodec
libx264 -pix_fmt yuv420p -maxrate 2048k -bufsize 2048k -framerate 30 -g 2
-strict experimental -f flv
rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
This results in the following error:
-bash: /home/ec2-user/ffmpeg-git-20200324-amd64-static/ffmpeg -re: No such
file or directory
However, when I run the following command:
/home/ec2-user/ffmpeg-git-20200324-amd64-static/ffmpeg
The program launches with default messaging and no error messages.
Any recommendations as to what could be going wrong? Thank you.
Just looking at the error message from bash, I wonder if it might be
interpreting "ffmpeg -re" as a single filename. Are you sure there is a
space, and not some other blank character, between "ffmpeg" and "-re"?
Or, it could be that Bash is truncating your command line when it
presents the error message.
Consider posting your exact command line and your entire uncut console
output here. Then you might discover whether you left something out of
your original post.
Also, try your command again, but with "--loglevel verbose" before the
"-re". The resulting log will show how FFmpeg is interpreting your
parameters. That might turn up a misspelling or something.
Best of luck!
--
--Jim DeLaHunt, [email protected] http://blog.jdlh.com/ (http://jdlh.com/)
multilingual websites consultant
355-1027 Davie St, Vancouver BC V6E 4L2, Canada
Canada mobile +1-604-376-8953
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".