initial commit

This commit is contained in:
Leo Butler 2020-06-28 17:24:30 -05:00 committed by Leo Butler
parent 8849d0b087
commit 12d992fa94
2 changed files with 17 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
*.ffprobe
*.ffprobe.csv
*.ts
*.mkv
*.srt
*.ffconcat
*.mpg
*.ass
/ffmpeg.git/
*.log

7
commands.txt Normal file
View File

@ -0,0 +1,7 @@
# straight copy
ffmpeg -ss 00:05:00 -i /var/lib/mythtv/recordings/1061_20181210162900.ts -to 00:02:00 -c copy 1061_20181210162900-cut.ts
# decent visual quality, 31M vs 237M for straight copy
ffmpeg -ss 00:05:00 -i /var/lib/mythtv/recordings/1061_20181210162900.ts -to 00:02:00 -c:v libx264 -preset slow -crf 20 -filter:v scale=800:-1,setdar=16/9 -c:a copy 1061_20181210162900-cut-800x-1.ts
# subtitles
ffmpeg -f lavfi -i movie=1061_20181210162900-cut.ts[out+subcc] -map 0:1 1061_20181210162900.srt
ffmpeg -f lavfi -ss 00:05:00 -i movie=/var/lib/mythtv/recordings/1061_20181210162900.ts[out+subcc] -to 00:02:00 -map 0:1 1061_20181210162900.srt