Skip to content

Commit

Permalink
add concat
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Jan 22, 2022
1 parent b49c0d5 commit ba00203
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified 07/slides.pptx
Binary file not shown.
8 changes: 8 additions & 0 deletions tools/concat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

for x in $*; do
ffmpeg -i $x.mkv -vcodec copy -acodec copy -vbsf h264_mp4toannexb /tmp/t_$x.ts
done
cat /tmp/t_*.ts > /tmp/a_a.ts
ffmpeg -i /tmp/a_a.ts -acodec copy -vcodec copy -absf aac_adtstoasc /tmp/out.mp4
rm -f /tmp/a_a.ts /tmp/t_*.ts

0 comments on commit ba00203

Please sign in to comment.