This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{0: 'tinca, tinca tinca', | |
1: "pesce rosso, Carassius auratus", | |
2: "grande squalo bianco, squalo bianco, mangiatore di uomini, squalo mangiatore di uomini, Carcharodon carcharias", | |
3: 'squalo tigre, Galeocerdo cuvieri', | |
4: "martello, squalo martello", | |
5: "raggio elettrico, crampi, numbfish, siluri", | |
6: "pastinaca", | |
7: 'gallo', | |
8: "gallina", | |
9: 'struzzo, Struthio camelus', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |