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.
C:\>ffmpeg -i D:\Project\360ActionCam\R0010020_er.MP4 -acodec aac -vcodec libx264 -f mp4 rtmp://184.108.40.206:1935/UploadFromGocoder/myStream
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument