FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS)
问题 I'm trying to stream my webcam with FFmpeg to my Red5 server using RTMP. I've done this successfully using FLV format with the following line: ffmpeg -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/livestream I'm new to FFmpeg and live streaming, and I've tried to stream using H.264/MPEG-4. But my knowledge is a bit limited with the FFmpeg options (which I did find here: http://man.cx/ffmpeg%281%29). So, my questions would be: How can I use H.264/MPEG-4 to stream to my Red5 server