Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # $1 the filename to be chucked
- # $2 should contains how frequently the video must be chuncked (00:00:00, hh/mm/ss)
- ffmpeg -i $1 -c copy -map 0 -segment_time $2 -reset_timestamps 1 -f segment output%03d.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement