humble-video-noarch/src/main/java/io/humble/video/FilterGraph.java
public FilterPictureSource addPictureSource(String name, int width, int height, PixelFormat.Type format, Rational timeBase, Rational pixelAspectRatio) {
    long cPtr = VideoJNI.FilterGraph_addPictureSource(swigCPtr, this, name, width, height, format.swigValue(), Rational.getCPtr(timeBase), timeBase, Rational.getCPtr(pixelAspectRatio), pixelAspectRatio);
    return (cPtr == 0) ? null : new FilterPictureSource(cPtr, false);
  }
public FilterPictureSource addPictureSource(String name, int width, int height, PixelFormat.Type format, Rational timeBase, Rational pixelAspectRatio) {
    long cPtr = VideoJNI.FilterGraph_addPictureSource(swigCPtr, this, name, width, height, format.swigValue(), Rational.getCPtr(timeBase), timeBase, Rational.getCPtr(pixelAspectRatio), pixelAspectRatio);
    return (cPtr == 0) ? null : new FilterPictureSource(cPtr, false);
  }
Add a FilterPictureSource.<br>
@param name the name; must be unique in graph<br>
@param width the width in pixels of MediaPicture objects that will be added to this source.<br>
@param height the height in pixels  of MediaPicture objects that will be added to this source.<br>
@param format the pixel format<br>
@param timeBase timebase of frames that will be input. If null, 1/Global.DEFAULT_PTS_PER_SECOND is assumed.<br>
@param pixelAspectRatio pixel aspect ratio. If null, 1/1 is assumed.<br>
<br>
@return The FilterSource that was added.<br>
@throws RuntimeException if name is already in graph.<br>
@throws InvalidArgument if any argument is invalid.