title: Can't livestream with FFmpeg on Nginx?
body: <p>I am trying to livestream through RTMP on FFmpeg in Nginx. Doing <code>sudo ffmpeg -re -f video4linux2 -i test.mp4  -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream</code> gives me <code>ioctl(VIDIOC_QUERYCAP): Inappropriate ioctl for device
  test.mp4: Inappropriate ioctl for device</code></p>
  
  <p>Am I even doing this right?</p>