Skip to content

Instantly share code, notes, and snippets.

View jgh-'s full-sized avatar
🌳

james h jgh-

🌳
  • aws ivs / twitch
  • San Francisco, CA
View GitHub Profile
@tredoe
tredoe / gist:4419687
Created December 31, 2012 13:12
Planning Rust library of low-level for multimedia

Thanks to languages like Go and Rust the developers can now build software for the command line that can run in every architecture and system where those languages can compile. And this is awesome, you code an application which can be compiled in Windows, Mac OS or Linux, getting a full market of users just like with web applications.

Now, the next step is create graphical applications using the same code for those systems. To get this goal is necessary to build libraries of low level that provide access to graphics, audio and input. Later can be built a graphical toolkit. Step by step.

@wobbals
wobbals / AvcEncoder.java
Created October 31, 2012 22:46
MediaCodec encoder sample
package com.opentok.media.avc;
import java.io.IOException;
import java.nio.ByteBuffer;
import android.media.MediaCodec;
import android.media.MediaCodecInfo;
import android.media.MediaFormat;
public class AvcEncoder {