Quote:
Originally Posted by ehurdler
Biezom:
This does work. But it gives a file with commercials and isn't fully playable. For me anyways. Can you double check on the file it gives you? I tried with livestreamer, and ffmpeg. I get a series of errors either way. I get a few of the following errors during:
Code:
livestreamer "hlsvariant://http://link.theplatform.com/s/dJ5BDC/u6CcZigKccDC?mbr=true&manifest=m3u" best -o video.ts
[cli][info] Found matching plugin stream for URL hlsvariant://http://link.theplatform.com/s/dJ5BDC/u6CcZigKccDC?mbr=true&manifest=m3u
[cli][info] Available streams: 144p, 216p, 270p, 360p, 540p, 68p (worst), 720p (best)
[cli][info] Opening stream: 720p (hls)
[download][video.ts] Written 1.66 GB (7m6s @ 4.9 MB/s) [stream.hls][error] Failed to open segment 297: Unable to open URL: http://api327-phx.unicornmedia.com/now/media/segment/bb0b18ba-64f5-4b1b-a29f-0ac252f06b68/77a785f3-5188-4806-b788-0893a61634ed/468fb310-a585-11e4-bfdb-005056837bc7/93476d66-8777-4970-8779-307471a324c2/0/0/0/content.ts?visitguid=2889c0d1-7d94-448c-b153-4c5dfd7c323b&baseguid=1ca78f47-ed05-4714-87bd-35ef048baf99&bc_a=True&bc_apos=2570&bc_apla=2&bc_i=13&streamDuration=3193&startsegmentseconds=0&endsegmentseconds=0&basemediaitemguid=1ca78f47-ed05-4714-87bd-35ef048baf99 (500 Server Error: Internal Server Error)
[stream.hls][error] Failed to open segment 297: Unable to open URL: http://api327-phx.unicornmedia.com/now/media/segment/bb0b18ba-64f5-4b1b-a29f-0ac252f06b68/77a785f3-5188-4806-b788-0893a61634ed/468fb310-a585-11e4-bfdb-005056837bc7/93476d66-8777-4970-8779-307471a324c2/0/0/0/content.ts?visitguid=2889c0d1-7d94-448c-b153-4c5dfd7c323b&baseguid=1ca78f47-ed05-4714-87bd-35ef048baf99&bc_a=True&bc_apos=2570&bc_apla=2&bc_i=13&streamDuration=3193&startsegmentseconds=0&endsegmentseconds=0&basemediaitemguid=1ca78f47-ed05-4714-87bd-35ef048baf99 (500 Server Error: Internal Server Error)
|
Use FFmpeg to change the TS file into an MP4:
Code:
ffmpeg -i video.ts -c copy -bsf:a aac_adtstoasc video.mp4
That will probably fix the playability problem.