Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to convert ts to mp4 with ffmpeg

ffmpeg -i input.ts -c:v libx264 -c:a aac output.mp4
Comment

ffmpeg join ts files to mp4

// Windows
copy /b segment1_0_av.ts+segment2_0_av.ts+segment3_0_av.ts all.ts
ffmpeg -i all.ts -acodec copy -vcodec copy all.mp4

// GNU/Linux, using bash:
cat segment1_0_av.ts segment2_0_av.ts segment3_0_av.ts > all.ts
ffmpeg -i all.ts -acodec copy -vcodec copy all.mp4
Comment

PREVIOUS NEXT
Code Example
:: add changes to last commit 
::  
Shell ::  
:: invalid or corrupted database (pgp signature) 
::  
:: turn on bluetooth terminal linux 
:: sha256 windows 10 
::  
::  
::  
Shell :: steam is not in the sudoers file. 
::  
Shell ::  
Shell ::  
Shell ::  
::  
::  
::  
:: ubuntu black screen on screen share 
Shell ::  
::  
::  
Shell ::  
Shell ::  
::  
::  
Shell :: install babel core 
::  
Shell ::  
Shell :: error: The following untracked working tree files would be overwritten by merge: .DS_Store .gitignore Please move or remove them before you merge. 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =