I want to upload mp4 files via RTMP using ffmpeg and tried several times. However, I got the following received error message.
Please help me.
[ffmpeg command]
C:>ffmpeg -i D:\Project\360ActionCam\R0010020_er.MP4 -acodec aac -vcodec libx264 -f mp4 rtmp://52.76.193.11:1935/UploadFromGocoder/myStream
[Error message]
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument