PDA

View Full Version : Trying to download Smooth Stream video from CBC's site


WeT
07-17-2015, 09:59 PM
I would appreciate some assistance in getting the video from the following link:

http://panam.cbc.ca/videos/live/video/pan-american-games-opening-ceremony-569674.html

Since the video is in smooth stream format, I have tried ismdownloader (the h264 version) and it just crashes. Other programs like smooth-dl.py and smoothget just generate errors when I try and use them with the manifest link.

biezom
07-17-2015, 10:24 PM
I would appreciate some assistance in getting the video from the following link:

http://panam.cbc.ca/videos/live/video/pan-american-games-opening-ceremony-569674.html

Since the video is in smooth stream format, I have tried ismdownloader (the h264 version) and it just crashes. Other programs like smooth-dl.py and smoothget just generate errors when I try and use them with the manifest link.

hi

tools : firefox adblockplus livestreamer

http://i62.tinypic.com/fm2nhd.png
#############################

http://i62.tinypic.com/2drurme.png
#################################################


you have somethings like

http://vod-s.panam.cbc.ca/64712be9-2c36-4799-956d-3cf17e7b5274/0985571d-b91b-401e-a6fb-521150f41e9f.ism/manifest?hdnea=st=1436637882~exp=1436682882~acl=/*~hmac=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b20 5ab6e950dcac30f0ca440


change it to have hls format add blue part



Code:

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=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b20 5ab6e950dcac30f0ca440

then with livestreamer

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=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b20 5ab6e950dcac30f0ca440" best -o pan-american-games-opening-ceremony.ts

WeT
07-18-2015, 12:14 AM
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.

biezom
07-18-2015, 01:16 AM
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
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=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b20 5ab6e950dcac30f0ca440" best -o video-pan-american-games-opening-ceremony.ts

audio
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=7e99f57f8ad1d37f5ab28418f10c2aebdcf50d09b20 5ab6e950dcac30f0ca440" 138k -o audio-pan-american-games-opening-ceremony.ts

merge with fffmpeg
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

markiz2001
07-26-2015, 11:05 AM
im a noob

i still dont get it.


what is "(format=m3u8-aapl)" and how did you know to add it?

how do you know what streaming protocol to use?

what is .ts? i think its weird, it doesnt show the time, and i cant fast forward or move backwards. do i have to convert it to mp4 to make it act normal? can i do this somehow without loosing quality?

thanks

i tried following the instructions, but the audio and video is out of sync. sigh.. :(
the audio is exactly 1.0 second delayed (according to VLC a/v sync setting)