jonataslaw / jonataslaw/VideoCompress

How to rename the file

Open
#149 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
262
Forks
344
PR merge metrics
No merged PRs in 30d

Description

How can i rename the compressed video file

my code

MediaInfo mediaInfo = await VideoCompress.compressVideo(
result.files.single.path,
quality: VideoQuality.LowQuality,
deleteOrigin: false, // It's false by default
);

my path

File: '/storage/emulated/0/Android/data/com.nrithya.nrithya/files/video_compress/VID_2021-12-06 11-24-54.mp4'

filename

VID_2021-12-06 11-24-54.mp4

i want to rename the file name when compressing

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the VideoCompress.compressVideo call shown in the issue and trace how the compressed output path and filename are chosen. Check whether the API accepts a destination name or exposes the generated path; completion would require a clearly supported way to choose the compressed filename, with the behavior documented or covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.