Quote:
Originally Posted by WeT
Thank you biezom!
I noticed the above solution just downloads the video from the stream. Is there a way to get the audio as well?
Edit:
Figured it out. The audio stream is mislabeled as "138k" in Livestreamer. Grabbing that instead of "best" will download the audio separately. Unfortunately I cannot find a way to get livestreamer to download both streams concurrently.
|
video
Code:
livestreamer "hlsvariant://http://vod-s.panam.cbc.ca/64712be9-2c36-4799-956d-3cf17e7b5274/0985571d-b91b-401e-a6fb-521150f41e9f.ism/manifest(format=m3u8-aapl)?hdnea=st=1436637882~exp=1436682882~acl=/*~hmac=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b205ab6e950dcac30f0ca440" best -o video-pan-american-games-opening-ceremony.ts
audio
Code:
livestreamer "hlsvariant://http://vod-s.panam.cbc.ca/64712be9-2c36-4799-956d-3cf17e7b5274/0985571d-b91b-401e-a6fb-521150f41e9f.ism/manifest(format=m3u8-aapl)?hdnea=st=1436637882~exp=1436682882~acl=/*~hmac=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b205ab6e950dcac30f0ca440" 138k -o audio-pan-american-games-opening-ceremony.ts
merge with fffmpeg
Code:
ffmpeg -i video-pan-american-games-opening-ceremony.ts -i audio-pan-american-games-opening-ceremony.ts -c copy video-audio-pan-american-games-opening-ceremony.ts