1. install ffmpeg or avconv (debian alternative)
2. put all *.ts* files in one folder (they should have the same encoding, resolution etc. etc.)
3. and while you are in this directory fire this line:
ffmpeg -i "concat:$(ls -1 *.ts* | perl -0pe 's/\n/|/g;s/\|$//g')" -c copy -bsf:a aac_adtstoasc outputfile.mp4
you could also save it into a script, if you might need it later: /scripts/join_videos.sh
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!