Skip to content

Bug: Duration parameter is broken on Android #127

@vanfresh

Description

@vanfresh
  Future<MediaInfo?> compressVideo(
    String path, {
    VideoQuality quality = VideoQuality.DefaultQuality,
    bool deleteOrigin = false,
    int? startTime,
    int? duration,
    bool? includeAudio,
    int frameRate = 30,
  }) 

Duration is broken in Android. I tried using seconds and milliseconds for the parameter. If I use seconds, it will trim the video to less than 1 second for a 10 second video. If I use milliseconds, it will run into negative value territory from being to large.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions