Closed ericxtang closed 7 years ago
Using ffmpeg 3.3, ffmpeg -f avfoundation -framerate 30 -i "0:0" -video_size vga -f flv "rtmp://localhost:1935/stream/live"
ffmpeg -f avfoundation -framerate 30 -i "0:0" -video_size vga -f flv "rtmp://localhost:1935/stream/live"
Got error: flv: h264 seqhdr invalid. This happens during RTMP handshake.
flv: h264 seqhdr invalid
Turns out my ffmpeg command is faulty.
Using ffmpeg 3.3,
ffmpeg -f avfoundation -framerate 30 -i "0:0" -video_size vga -f flv "rtmp://localhost:1935/stream/live"
Got error:
flv: h264 seqhdr invalid
. This happens during RTMP handshake.