Class FfmpegIO


  • public class FfmpegIO
    extends java.lang.Object
    For Internal Use Only. This is the global (static) object that implements the AVPKit IO library.

    The following methods are not meant to be generally called by code (although they can be).

    You should never need to call this method. Calling URLProtocolManager.registerFactory(String, IURLProtocolHandlerFactory) should cause it to be instantiated.

    They are generally 'thread-aware' but not 'thread-safe', meaning if you use a handle on a thread, you are a responsible for making sure you don't reuse it on other threads.

    They forward into ffmpeg's URL read/write/seek capabilities and allow our test scripts to make sure our URLProtocolHandlers (and FFMPEG's native handlers) work as expected.

    Lastly this class, unlike other classes in the library, does not use SWIG to generate the Java objects, so you need to be careful not to change method names as the corresponding native code relies on specific naming and parameters.

    Author:
    aclarke