Reputation: 35
Trying to stream with ffmpeg to a local rtmp server. My comand is like this
ffmpeg -re -i http://127.0.0.1:8902 -c copy -f flv "rtmp://192.168.0.101/live/livestream live=1"
but it gives me some errors
[flv @ 00000000003ac0c0] Tag [3][0][0][0]/0x00000003 incompatible with output codec id '86016' ([0][0][0][0])
and
Could not write header for output file #0 (incorrect codec parameters ?): Invali d data found when processing input
Am i missing a codec?
ffmpeg build: ffmpeg-20140214 x64 windows
Upvotes: 3
Views: 8738
Reputation: 31100
FLV/RTMP only supports a handful of codecs. If your source does not support these formats, you must transcode.
Video:
Audio:
Upvotes: 2