Class VideoFrameProcessingException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public final class VideoFrameProcessingException
    extends Exception
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Thrown when an exception occurs while preparing an Effect, or applying an Effect to video frames.
    See Also:
    Serialized Form
    • Field Detail

      • presentationTimeUs

        public final long presentationTimeUs
        Deprecated.
        The microsecond timestamp of the frame being processed while the exception occurred or C.TIME_UNSET if unknown.
    • Constructor Detail

      • VideoFrameProcessingException

        public VideoFrameProcessingException​(String message)
        Deprecated.
        Creates an instance.
        Parameters:
        message - The detail message for this exception.
      • VideoFrameProcessingException

        public VideoFrameProcessingException​(String message,
                                             long presentationTimeUs)
        Deprecated.
        Creates an instance.
        Parameters:
        message - The detail message for this exception.
        presentationTimeUs - The timestamp of the frame for which the exception occurred.
      • VideoFrameProcessingException

        public VideoFrameProcessingException​(String message,
                                             Throwable cause)
        Deprecated.
        Creates an instance.
        Parameters:
        message - The detail message for this exception.
        cause - The cause of this exception.
      • VideoFrameProcessingException

        public VideoFrameProcessingException​(String message,
                                             Throwable cause,
                                             long presentationTimeUs)
        Deprecated.
        Creates an instance.
        Parameters:
        message - The detail message for this exception.
        cause - The cause of this exception.
        presentationTimeUs - The timestamp of the frame for which the exception occurred.
      • VideoFrameProcessingException

        public VideoFrameProcessingException​(Throwable cause)
        Deprecated.
        Creates an instance.
        Parameters:
        cause - The cause of this exception.
      • VideoFrameProcessingException

        public VideoFrameProcessingException​(Throwable cause,
                                             long presentationTimeUs)
        Deprecated.
        Creates an instance.
        Parameters:
        cause - The cause of this exception.
        presentationTimeUs - The timestamp of the frame for which the exception occurred.
    • Method Detail

      • from

        public static VideoFrameProcessingException from​(Exception exception)
        Deprecated.
        Wraps the given exception in a VideoFrameProcessingException if it is not already a VideoFrameProcessingException and returns the exception otherwise.
      • from

        public static VideoFrameProcessingException from​(Exception exception,
                                                         long presentationTimeUs)
        Deprecated.
        Wraps the given exception in a VideoFrameProcessingException with the given timestamp if it is not already a VideoFrameProcessingException and returns the exception otherwise.