Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-03-2016, 01:39 AM
utuxia utuxia is offline
Member
 
Join Date: Apr 2015
Posts: 32
utuxia is on a distinguished road
Default

unable to play watch.hgtv.com with ffmpeg


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=914b9fdcbf201b7d584edc16cb3e22ccafc8517cb4a 74f23932d797ac7467c31&fw_mvpd=d8b58f7bfce28eefcc1c dd5b95c3b663&anv_user=bf41da85d64722a03cbc1e02b9fd 9b3a17522&fw_mvpd_id=Comcast_SSO&fw_sdk_flag=%2Bsl cb%2Bvicb&fw_metr=7&_dev=web&fw_sdk_flag_safe=%252 Bslcb%252Bvicb&_tkx_anvack=anvato_scripps_app_web_ prod_0837996dbe373629133857ae9eb72e740424d80a&_tkx _callsign=hgtv&anvauth=tb=0~te=1459664425~sgn=5025 0220fa7ab28c2093a85a27c855bbbb5e5ce443c1a269ee02b9 7176b4c79d&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/se...AlD0o8uIwNsRM: Immediate exit requested
Exiting normally, received signal 2.
Reply With Quote
  #2  
Old 04-03-2016, 04:20 AM
nyancat nyancat is offline
Junior Member
 
Join Date: Mar 2016
Posts: 9
nyancat is on a distinguished road
Default

Re: unable to play watch.hgtv.com with ffmpeg


Don't know anything about HGTV but 403s from M3U8 can indicate missing cookies. You'll need to grab the cookie from your browser and attach it to the header (though, adding a new-line via FFMPEG can be problematic). Maybe try omitting the User-Agent and just putting the cookie instead.
Reply With Quote
  #3  
Old 04-03-2016, 03:16 PM
ehurdler ehurdler is offline
Senior Member
 
Join Date: Feb 2014
Location: NY
Posts: 126
ehurdler is on a distinguished road
Default

Re: unable to play watch.hgtv.com with ffmpeg


When you say play in ffmpeg what do you mean? Are you trying to capture an episode, or actually restream to vlc or something?
Reply With Quote
  #4  
Old 04-03-2016, 05:23 PM
stream_monkey stream_monkey is offline
Member
 
Join Date: Dec 2015
Posts: 72
stream_monkey is on a distinguished road
Default

Re: unable to play watch.hgtv.com with ffmpeg


Get a fresh m3u8 link, then use livestreamer, which will stream to vlc or use the -o file.ts handle to save to file.

Also, it's best to post code inside of code boxes, rather than in the body of the post.
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:27 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons