I was thinking on building something using the Android´s MediaRecorder class like those: http://stackoverflow.com/questions/10713384/broadcasting-android-camera-video http://stackoverflow.com/questions/4155166/streaming-video-from-android But I didn´t spent too much time on it, yet
Yes, that would be the cleanest way but you might face problems with setting up HDMI input into MediaRecorder which may require some proprietary code for which we don't have sources for. But I'm only guessing, I didn't spent much time studying the recorder code yet.
I just finished compiling ffmpeg. Wanna try it? http://blog.danman.eu/ffmpeg-compiled-binaries-for-android/
Hey man! I am doing some tests with your source code: https://github.com/danielkucera/ZidoStreamer but so far, no luck I get a IOError with java.io.FileNotFoundException: mkfifo I will debug it, but choose to ask to you first if I have to set up something else before it works! Thanks!
Thanks. The app is written as background service and for now it starts as soon as it is open from menu. I'm planning to add boot broadcast receiver so it starts right after the android system boots and some controls to manually start/stop/restart it using remote control.
did you make it work with the youtube live? I try some configurations with the ffmpeg but no luck, even with old .ts recordings
running flawless!!! The only addictions that I did was: 1 - move the stream.ts to the usb harddrive 2 - add the ffmpeg output to the logcat
ah, my bad... you did add the output already and I changed the path to: streamFifo = "/mnt/usb/sda1/stream.ts";