Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a way to stream my camera video from my Android phone to an FFServer, like I would with FFMpeg from the command line in Linux:

ffmpeg -f video4linux2 -i /dev/video0 http://IP:8090/cam1.ffm

This command works perfect from any Ubuntu machine, of course. I'm looking to be able to do both audio and video from my Android to my FFserver.

I tried installing FFmpeg 4 Android. It installs fine, starts and binds, but it won't stream. No error message or anything passing it this param:

ffmpeg -f video4linux2 -i /dev/graphics/fb0 http://IP:8090/cam1.ffm

Not sure if it's just that program or what since there is no error message at all. Or is there another software that will allow me to do this?

share|improve this question

Some device manufacturers dont use /graphics/fb0 to access camera due to different camera drivers. My help to you is going on a native NDK application to do that. Look in here or Regards

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.