title: Download encrypted TS files from video stream
body: <p>Following <a href="https://stackoverflow.com/questions/22188332/download-ts-files-from-video-stream">this post</a>, I usually download transport stream (.ts) files by using the browser's developer console to find the URLs of the .ts files and then I use wget to download them.  After that I use the <code>ffmpeg -f concat</code> method to combine them into an mp4 file.</p>
  
  <p>Recently I come across a site that streams videos and I used the same method to download all the .ts files.  The site is <a href="http://viu.tv/encore/bondi-vet-s5" rel="nofollow noreferrer">here</a>. After I downloaded all the individual .ts files, I use ffmprobe to check the file format but realized the .ts files cannot be understood by ffmpeg/ffmprobe. While the site uses http (not https) I thought the streams are not encrypted so I tried to open the .ts file in an hex editor but I don't know what format it is (but they don't look like zip/gz). My question is: are the transport steams encrypted? If yes, is there a way to decrypt them? If not? Can anyone point me to the right direction such that I can make ffmpeg understand them?</p>
  
  <p>An example transport stream (first &amp; second) are <a href="http://219.76.112.178/session/p8-5-51c39e46719-0000anonymous_u/hls/vodcp20/201711270485140/201711270485140_Layer1/5944_Period1/segment0.ts" rel="nofollow noreferrer">here</a> and <a href="http://219.76.112.178/session/p8-5-51c39e46719-0000anonymous_u/hls/vodcp20/201711270485140/201711270485140_Layer4/5944_Period1/segment1.ts" rel="nofollow noreferrer">here</a> but the link might expire in a bit. In that case you will need to open the site in developer console to find the updated link to the .ts files.</p>
  
  <p>The site uses JW Player 8.0.0</p>