Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -i inputVideo.ts
- -i audio1.mp3
- -i audio2.mp3
- -filter_complex "[0]atrim=0:6,asetpts=PTS-STARTPTS[part0];[1]atrim=17:31,asetpts=PTS-STARTPTS[part1];[0]atrim=20:39,asetpts=PTS-STARTPTS[part2];[2]atrim=108:144,asetpts=PTS-STARTPTS[part3];[2]atrim=153:172,asetpts=PTS-STARTPTS[part4];[part0][part1][part2][part3][part4]concat=n=5:v=0:a=1[aout]"
- -map 0:v
- -map [aout]
- -c:v copy
- -c:a aac
- -async 1000
- out.ts
- ffmpeg -i out.ts -c copy -bsf:a aac_adtstoasc out.mp4
- ffprobe out.ts
- Duration: 00:01:36.18, start: 1.458667, bitrate: 1051 kb/s
- ffprobe out.mp4
- Duration: 00:01:52.07, start: 0.000000, bitrate: 825 kb/s
Add Comment
Please, Sign In to add comment