View Single Post
  #9  
Old 08-23-2012, 01:31 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
That's what I'm doing. I was just hoping there was a way to avoid the time involved in getting all that video all over again. Oh well, I guess I'll just batch record them over the next few nights. I wonder how long the NBCOlympics site will continue to host those videos?
You can download the m3u8 file and edit it so that you only download part of the video. You would delete the files in the playlist that you don't want to play. For example, you might leave only 500 files in a playlist. Then you'd cat the ffmpeg output files together with ffmpeg. I tested this method awhile back and it works perfectly and it's the way I'll be doing it if I can't figure out a way to download each segment individually.

If anyone has any ideas how to download each segment individually, I would still like to know how to do it. I have an idea which I haven't tried yet. Use a download manager. I haven't used one in a long time, not since I was using dial-up. I remember being able to use a pretty advanced download list with GetRight, so maybe it would work.

The reason I want to get the segments individually is that you have the most options when you get the raw data. Since it's trivial to cat ts files together (just use a binary file combiner), there's no disadvantage to doing it this way, and if you have raw data you can fix problems. For example, in one stream on nbcolympics.com, there's some bad data that would easily be fixable but causes ffmpeg to make the audio go out of sync. I can fix this in the raw data files I've downloaded of that stream. And I'm not really doing this just to get the Olympics. I all ready have everything I really wanted from the Olympics. I assume I will be able to use what I find out in the future for other things.
Reply With Quote