initial commit
This commit is contained in:
parent
8849d0b087
commit
12d992fa94
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
*.ffprobe
|
||||
*.ffprobe.csv
|
||||
*.ts
|
||||
*.mkv
|
||||
*.srt
|
||||
*.ffconcat
|
||||
*.mpg
|
||||
*.ass
|
||||
/ffmpeg.git/
|
||||
*.log
|
7
commands.txt
Normal file
7
commands.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user