Skip to content

Flutter-ffmpeg video is stuck in the first few seconds after it was trimmed (but the audio is still playing) #2

@braysonjohn148

Description

@braysonjohn148

video is stuck in the first few seconds after it was trimmed (but the audio is still playing).
I think that it is because of the FFmpeg command, but I'm not sure and couldn't find the exact reason,.

try{ FileUtils.mkdir([dirloc]); _flutterFFmpeg.execute( '-i ${widget.picked.path} -ss ${timeBoxControllerStart.text} -t ${durationFormatter(difference)} -c copy $dirloc/$now.mp4') .then((value) { print('Got value $value'); _saveVideo('$dirloc/$now.mp4'); }).catchError((error) { print('Error'); }); } catch(e) { print(e); }

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