FFMPEG: ts(s) to mp4 | srt to mp4 | subtitle

Channel:
Subscribers:
17,600
Published on ● Video Link: https://www.youtube.com/watch?v=Jf011qEWzgc



Duration: 1:04
2,332 views
0


Get(Free,Donate)
- all to one: ts to mp4
- srt to ass
- sort sub and hard sub.
.. merge, join, convert, add,...
You need:
- 1 file m3u8(list of *.ts).
- All ts files(Downloaded).
- ffmpeg for join, convert. (install: $sudo apt install ffmpeg)
- vlc for test. (install: $sudo apt install vlc).
Join and Convert very fast.
But add ass subtitle to mp4 slow more.
#Convert ts to mp4
ffmpeg -i file.ts -c copy file.mp4
#Convert srt to ass
ffmpeg -i file.srt file.ass
#Join *.ts to .mp4
ffmpeg -i file.m3u8 -c copy file.mp4
#Join *.ts to .mp4 with subtitle(can turn on/off view sub, sort sub).
ffmpeg -i file.m3u8 -i file.srt -c copy -c:s mov_text file.mp4
ffmpeg -i file.mp4 -i file.srt -c copy -c:s mov_text file.mp4
#Join *.ts to .mp4 with subtitle(hard sub,).(it slow......)
ffmpeg -i file.m3u8 -c copy file.mp4
ffmpeg -i file.srt file.ass
ffmpeg -i file.mp4 -vf ass=file.ass file.mp4







Tags:
ubuntu os
linux os
gimp photo editor
inkscape vector editor
blender 3D editor
qt creator
vlc
ffmpeg