View Single Post
  #6  
Old 08-22-2012, 09:23 PM
wer783 wer783 is offline
Junior Member
 
Join Date: Apr 2011
Posts: 25
wer783 is on a distinguished road
Default

Re: trying to download a ts packet using command line


Quote:
Originally Posted by nwtim View Post
Please explain. Can ffmpeg/ffplay join all these files into one? What switches would I use?
The method in the thread above doesn't involve concatenating files. First, do this (copied from MrPaul's post in that thread):

•Start Firefox
•Open web console (CTRL-SHIFT-K)
•Optional - Unselect CSS, JS, & Logging on the menu bar
•Type in "m3u8" in the filter on top right
•Start the video you want to see
•Click the gear icon on bottom right of video and select the quality you want (typically 1080) and you'll see a new m3u8 file appear
•Use this URL for the "-i" option of ffmpeg

The m3u8 file is a playlist that contains all those small files. Next, what you do is run this command, where URL is the m3u8 playlist file and output.ts is the name of the output video file:

ffmpeg.exe -i URL -c copy output.ts
Reply With Quote