开发者

Video streaming from Android

开发者 https://www.devze.com 2023-01-04 17:29 出处:网络
I want to live stream video from android device. I found out that ffserver (ffmpeg) can be compiled and run on android. Now i need to get video from camera in android device and get it to the ffserver

I want to live stream video from android device. I found out that ffserver (ffmpeg) can be compiled and run on android. Now i need to get video from camera in android device and get it to the ffserver in real-time.

Any ideas?

Regards开发者_如何学Python, MM


I would look at android.hardware.Camera and android.media.MediaRecorder. You set the "camera" for the media recorder and it has a start/stop methods. It streams the output to a file when you start it, and closes the file when you stop.

This may be another good reference to look at.

0

精彩评论

暂无评论...
验证码 换一张
取 消