[guardian-dev] Video MediaRecorder --> GPG flow
David Brodsky
davidpbrodsky at gmail.com
Sat Mar 8 12:37:11 EST 2014
This seems very feasible, with the *very* *small* caveat of relying on that
one private OUTPUT_FORMAT_MPEG2TS in mediarecorder.h.
As far as official APIs go, starting with 4.1 the
MediaCodec<http://developer.android.com/reference/android/media/MediaCodec.html>encoders
have native support for AES CTR 256 via
MediaCrypto<http://developer.android.com/reference/android/media/MediaCrypto.html>.
One advantage to this API is convenient access to individual audio and
video packets for easy hookup to FFmpeg and all the output formats it
supports. Another is the ability to pipe camera frames directly from a
Surface to the encoder which enables GPU-accelerated manipulation of the
data (think obscuracam effects, meta data burn-in etc.).
On Fri, Mar 7, 2014 at 11:57 PM, Nathan of Guardian <
nathan at guardianproject.info> wrote:
> On 03/07/2014 11:48 PM, Nathan of Guardian wrote:
> > 4) DataGramSocket read side takes in packets from socket and writes them
> > out to a pipe outputstream that is sending data directly into a
> > Runtime.exec()/Process shell piping into our GnuPG for Android "gpg"
> > command line
>
> Also, in this step, we could also stream into IOCipher virtual encrypted
> file system, as well. This is what we need for an application like
> InformaCam.
>
> +n
> _______________________________________________
> Guardian-dev mailing list
>
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>
> To Unsubscribe
> Send email to: Guardian-dev-unsubscribe at lists.mayfirst.org
> Or visit:
> https://lists.mayfirst.org/mailman/options/guardian-dev/davidpbrodsky%40gmail.com
>
> You are subscribed as: davidpbrodsky at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20140308/6996300f/attachment.html>
More information about the Guardian-dev
mailing list