[FFmpeg-user] ... -f flv rtmp:// ... vlc error on open stream

Moritz Barsnick barsnick at gmx.net
Sat Nov 5 20:49:57 EET 2016

On Sat, Nov 05, 2016 at 19:37:59 +0100, Jens Kallup wrote:
> ../ffmpeg/ffmpeg -f x11grab -i :0.0+100,200 -framerate 5 -f flv 
> rtmp:// 2> /dev/null

I streamed that flv to VLC without nginx, and VLC handles it just fine.
So you need to check what nginx does with it. Does nginx give any error

Thinking about it more, you probably need to choose a different codec
than ffmpeg's default, at least if you believe some of this:

So you might want to add "-c:v libx264" to your command line.


More information about the ffmpeg-user mailing list