Skip to content

Commit

Permalink
adding function for 3gp
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Abdullah Khabir committed Aug 4, 2023
1 parent 0191a25 commit 436e2a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zsh/.zsh/functions
Original file line number Diff line number Diff line change
Expand Up @@ -1128,3 +1128,11 @@ apply () {
age -i ~/.ak.txt -d ~/.local/share/misc/job.age | mutt -s $subject $destination -a /tmp/Abdullah-Khabir-Resume.pdf
rm /tmp/Abdullah-Khabir-Resume.pdf
}

3gp () {
# create 3gp videos for smaller screens
input_file="$1"
output_file="$2"
ffmpeg -i "$input_file" -r 20 -s 352x288 -vb 400k -acodec aac -strict experimental -ac 1 -ar 8000 -ab 24k "$output_file"

}

0 comments on commit 436e2a5

Please sign in to comment.