Not sure, those Wowza output addresses should work. I would be curious if there was something about your input stream, or something about your Wowza app. Have you tried streaming to/from a file, just to test?
Instead of pushing to rtmp://wowza/live/cam0 I'd like to be able to push to port 80 on the Wowza server. Using a URL of 'rtmp://wowza:80/live/cam0' or 'rtmpt://wowza:80/live/cam0' results in error messages.
I just pushed a file via ffmpeg to my Wowza server -- the "rtmp" prefix with port 80 specified worked for me:
And according to my server firewall log, only port 80 was used for the incoming stream. (Although I played it back using port 1935.) The "http" and "rtmpt" prefixes did not work -- rejected by Wowza and ffmpeg, respectively.
According to your first post, the rtmp port 80 destination in your command returns an "Input/output error" in ffmpeg?