Reputation: 66711
When I stream to an flv server, like flash media server, using ffmpeg, like
ffmpeg -i input -vcodec libx264 rtmp://hostname/streamname
it turns out black. Why is that?
Upvotes: 0
Views: 1071
Reputation: 66711
Turns out that in "more recent" versions of ffmpeg, the default x264 pixel format is "yuv422p" which isn't supported by most commercial encoders.
Fix: specify -pix_fmt yuv420p or -pix_fmt yuyv422 for the x264 format.
Upvotes: 1