Skip to content

Instantly share code, notes, and snippets.

View iooner's full-sized avatar
:shipit:

iooner iooner

:shipit:
View GitHub Profile
@iooner
iooner / m3u8-concat.sh
Created February 20, 2017 08:53 — forked from maxwellito/m3u8-concat.sh
Concat / join .ts segment files into an mp4 file
#!/bin/sh
# This script must be executed in the repo where
# the *.ts files are.
# It will concatenate the segments into one temp
# file which ffmpeg will reencode the audio track.
# By default the ouptup filename is output.mp4
# but can be changed by providing the name as parameter.
#
# ffmpeg is required