[FFmpeg-user] unable to play watch.hgtv.com stream

Chovy chovy at protonmail.ch
Sun Apr 3 08:38:25 CEST 2016


Unable to play HGTV stream.

I can login via cable to watch.hgtv.com and I I paste this url in Safari it plays fine, but I'm unable to play it in ffmpeg for some reason.


ffmpeg -re -i 'http://play-prod1.live.anvato.net/server/play/sni-hgtvx-ctg/1326000/prog.m3u8?hdnea=st=1459664225~exp=1459667225~acl=/*~hmac=914b9fdcbf201b7d584edc16cb3e22ccafc8517cb4a74f23932d797ac7467c31&fw_mvpd=d8b58f7bfce28eefcc1cdd5b95c3b663&anv_user=bf41da85d64722a03cbc1e02b9fd9b3a17522&fw_mvpd_id=Comcast_SSO&fw_sdk_flag=%2Bslcb%2Bvicb&fw_metr=7&_dev=web&fw_sdk_flag_safe=%252Bslcb%252Bvicb&_tkx_anvack=anvato_scripps_app_web_prod_0837996dbe373629133857ae9eb72e740424d80a&_tkx_callsign=hgtv&anvauth=tb=0~te=1459664425~sgn=50250220fa7ab28c2093a85a27c855bbbb5e5ce443c1a269ee02b97176b4c79d&t=1459664335&X-Anvato-Adst-Auth=RKAvzq7jqKKdTQPkCEB8kO4G/UZN/ueImX+Z+dT2v1WEjLLvwuUAlD0o8uIwNsRM' -header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A' -c copy test.m3u8
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[http @ 0x7fea58c19120] No trailing CRLF found in HTTP header.
[http @ 0x7fea58c19120] HTTP error 403 Forbidden
[hls,applehttp @ 0x7fea59010600] Failed to open segment of playlist 0
[http @ 0x7fea58c19120] No trailing CRLF found in HTTP header.
[http @ 0x7fea58c19120] HTTP error 403 Forbidden
[hls,applehttp @ 0x7fea59010600] Failed to open segment of playlist 0
[http @ 0x7fea58d01700] No trailing CRLF found in HTTP header.
[http @ 0x7fea58d01700] HTTP error 403 Forbidden
[hls,applehttp @ 0x7fea59010600] Failed to open segment of playlist 0
[hls,applehttp @ 0x7fea59010600] Error when loading first segment 'http://hgtv-i.akamaihd.net/hls/live/221952/LIVEHGTV/1296k/IFpwE13arPq/145966/segment_145966565.ts'
http://play-prod1.live.anvato.net/server/play/sni-hgtvx-ctg/1326000/prog.m3u8?hdnea=st=1459664225~exp=1459667225~acl=/*~hmac=914b9fdcbf201b7d584edc16cb3e22ccafc8517cb4a74f23932d797ac7467c31&fw_mvpd=d8b58f7bfce28eefcc1cdd5b95c3b663&anv_user=bf41da85d64722a03cbc1e02b9fd9b3a17522&fw_mvpd_id=Comcast_SSO&fw_sdk_flag=%2Bslcb%2Bvicb&fw_metr=7&_dev=web&fw_sdk_flag_safe=%252Bslcb%252Bvicb&_tkx_anvack=anvato_scripps_app_web_prod_0837996dbe373629133857ae9eb72e740424d80a&_tkx_callsign=hgtv&anvauth=tb=0~te=1459664425~sgn=50250220fa7ab28c2093a85a27c855bbbb5e5ce443c1a269ee02b97176b4c79d&t=1459664335&X-Anvato-Adst-Auth=RKAvzq7jqKKdTQPkCEB8kO4G/UZN/ueImX+Z+dT2v1WEjLLvwuUAlD0o8uIwNsRM: Immediate exit requested
Exiting normally, received signal 2.

You can generate the url by logging into watch.hgtv.com with cable credentials and filtering for .m3u8 in chrome network tools


-- chovy


More information about the ffmpeg-user mailing list