Browse Source

update ffmpeg-cut-start

master
VirtuBox 5 months ago
parent
commit
a8a1582430
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      mybashrc

+ 3
- 1
mybashrc View File

@ -689,7 +689,9 @@ ffmpeg_start_time() {
if [ "$#" = "0" ]; then
echo "ffmpeg-cut-start <start-time> <input> <duration(optional)>"
echo ""
echo "example : ffmpeg-cut-start 00:34 file.mp4 300"
echo "Example : ffmpeg-cut-start 00:34 file.mp4 300"
echo ""
echo "----------------------------------------------------------"
else
if [ -n "$3" ]; then
bash -c "ffmpeg -ss '$1' -t '$3' -y -i '$2' -c copy -movflags +faststart '${2%.mp4}-output.mp4';"


Loading…
Cancel
Save