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 "bursts", exactly one
second apart. I tried both containers (THREE_GPP and MPEG_4) and all
three available codecs (MPEG_4_SP, H263, H264), the behavior is always
the same. This one-second period is notably unrelated to framerate or
bitrate, so it is not flushing by size; rather, it seems to be
flushing by time (possibly to mask SD card write overheads ? Bummer, I
'm not using the SD here !). Is it a known limitation ? Is there a
known workaround ?

-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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to