[android-developers] Re: Froyo: MediaRecorder.setVideoFrameRate sets IDR ratio instead of frame rate

2010-08-31 Thread Alexandre Ferrieux
Ping ? Anybody managing a frame rate != 17fps on pre-Froyo ? On non-Desire Froyo ? -Alex -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: MediaRecorder buffers 1 second of video

2010-08-31 Thread Alexandre Ferrieux
Ping ? Is MediaRecorder strictly devoted to SDcard recording ? Does streaming void the warranty ? -Alex -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] MediaRecorder buffers 1 second of video

2010-08-30 Thread Alexandre Ferrieux
Hello, I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out). What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by

[android-developers] Froyo: MediaRecorder.setVideoFrameRate sets IDR ratio instead of frame rate

2010-08-30 Thread Alexandre Ferrieux
Hello, I'm using the H264 encoder on a Froyo HTC Desire. Parsing the generated 3GP stream allows to identify individual frames, and their timing. Now it turns out that: (1) MediaRecorder.setVideoFrameRate() doesn't affect the average frame rate, which is always close to 17fps, regardless of

[android-developers] Re: Getting a FileDescriptor from a Socket

2010-07-26 Thread Alexandre Ferrieux
On Jul 24, 6:39 pm, Joseph Earl joseph.w.e...@gmail.com wrote: For accessing a private member you'd have to use Reflection. Can't help you on the first point though I'm afraid. Thanks anyway. The solution I've come up with, is to create a pair of connected LocalSockets in addition to my

[android-developers] Re: Getting a FileDescriptor from a Socket

2010-07-26 Thread Alexandre Ferrieux
On Jul 26, 11:09 am, Alexandre Ferrieux alexandre.ferri...@gmail.com wrote: On Jul 24, 6:39 pm, Joseph Earl joseph.w.e...@gmail.com wrote: For accessing a private member you'd have to use Reflection. Can't help you on the first point though I'm afraid. Thanks anyway. The solution I've

[android-developers] Getting a FileDescriptor from a Socket

2010-07-23 Thread Alexandre Ferrieux
Hi, The documentation for FileDescriptor says it is The lowest-level representation of a file, device, or socket. I see that some classes like FileOutputStream and LocalSocket expose a getFD(), but Socket doesn't. How do you get at a true (INET) socket's fd ? Alternatively, how do you get at