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-05-2014, 10:51 AM
adi10289 adi10289 is offline
Member
 
Join Date: Dec 2012
Posts: 36
adi10289 is on a distinguished road
Default

M3U8 FFMPEG Download Issue


Hi
I am getting issue in downloading video through ffmpeg due to secure https key file. If anyone knows how to download from m3u8 using https key file pls let me know.

Code:
ffmpeg -i "http://hls.spuul.com/va/movies/11911008-d2d897ca/0010/s_renditions.m3u8" -c copy -absf aac_adtstoasc test_2_2.mkv
Code:
ffmpeg version N-62121-g634636e Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr  3 2014 23:30:16 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 73.100 / 52. 73.100
  libavcodec     55. 56.107 / 55. 56.107
  libavformat    55. 36.101 / 55. 36.101
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[https @ 02899ae0] HTTP error 404 Not Found
Unable to open key file https://secure.spuul.com/keys/va/movies/11911008-d2d897ca/0010/renditions-encryption-00001.key
Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 029b7180] Header missing
    Last message repeated 1034 times
[mp3 @ 029bd860] decoding for stream 0 failed
[mp3 @ 029bd860] Could not find codec parameters for stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
http://hls.spuul.com/va/movies/11911008-d2d897ca/0010/s_renditions.m3u8: Operation not permitted
M3U8 File
Code:
#EXTM3U
#EXT-X-VERSION:2
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:10
#EXT-X-KEY:METHOD=AES-128,URI="https://secure.spuul.com/keys/va/movies/11911008-d2d897ca/0010/renditions-encryption-00001.key",IV=0xad5dbef1ba46abb21f305b661f05353c
#EXTINF:10,
renditions-00001.ts
#EXTINF:10,
renditions-00002.ts
#EXTINF:10,
renditions-00003.ts
Reply With Quote
  #2  
Old 04-05-2014, 11:09 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


post original link, which plays on browser
Reply With Quote
  #3  
Old 04-05-2014, 11:41 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Code:
ffmpeg -i "http://hls.spuul.com/va/movies/11911008-d2d897ca/0010/renditions.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi92YS9tb3ZpZXMvMTA4MTAwMDctZjQ1YzU3MmMvc19qdy5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzk2NjA0Njg4fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=q0mDnbxjW8BL2RJ55IZRV9EOpXx1FaOFoaKnaQ8mBrvP202Xgl8CByPiGtqGOJkL1Ym81xQ8cfh4hxFtWijhYJ-AV74KqZucBeoWen8S5SbIK4xw03PSHCE-93ceicvak6c8GzDuyQ0MFJYA0aUW3x3tKG4P~gM7XW3sRRJUfTY_&Key-Pair-Id=APKAJMKGGGYZCUBNLANQ" -c copy t.ts
Reply With Quote
  #4  
Old 04-05-2014, 11:48 AM
adi10289 adi10289 is offline
Member
 
Join Date: Dec 2012
Posts: 36
adi10289 is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Quote:
Originally Posted by chap View Post
Code:
ffmpeg -i "http://hls.spuul.com/va/movies/11911008-d2d897ca/0010/renditions.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi92YS9tb3ZpZXMvMTA4MTAwMDctZjQ1YzU3MmMvc19qdy5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzk2NjA0Njg4fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=q0mDnbxjW8BL2RJ55IZRV9EOpXx1FaOFoaKnaQ8mBrvP202Xgl8CByPiGtqGOJkL1Ym81xQ8cfh4hxFtWijhYJ-AV74KqZucBeoWen8S5SbIK4xw03PSHCE-93ceicvak6c8GzDuyQ0MFJYA0aUW3x3tKG4P~gM7XW3sRRJUfTY_&Key-Pair-Id=APKAJMKGGGYZCUBNLANQ" -c copy t.ts
Hi Chap can u tell me how u got that URL through PM pls as when i am using adblocker in firefox i am not getting full URL.
Reply With Quote
  #5  
Old 04-06-2014, 01:29 AM
peterpan peterpan is offline
Senior Member
 
Join Date: Jun 2013
Posts: 553
peterpan is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Next time, post the link for the channel/movie you're trying to play

like this: https://spuul.com/watch/movies/2455-john-day

So someone can help you like this LOL

Code:
ffmpeg -i "http://hls.spuul.com/va/movies/10810007-f45c572c/0011/renditions.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi92YS9tb3ZpZXMvMTA4MTAwMDctZjQ1YzU3MmMvc19qdy5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzk2NzY1MjYwfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=t2aKKRA0U6oM9qcFEPMIDM0N3f5bxkPzDAizWylOBeAMYvodof0bVlPvfVOWroT099LGU7Ogn6TGed5NyiVb9HV~HWXeqqV7hSavRDUNLqf~iWXpko3qI2hTP3vVfQVYuWZDgdsrPkdt2K3gN-3Pb73KEvmjiSO6z7FD-8CkqRU_&Key-Pair-Id=APKAJMKGGGYZCUBNLANQ" -c copy m2.ts
Reply With Quote
  #6  
Old 04-07-2014, 02:54 AM
adi10289 adi10289 is offline
Member
 
Join Date: Dec 2012
Posts: 36
adi10289 is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Quote:
Originally Posted by peterpan View Post
Next time, post the link for the channel/movie you're trying to play

like this: https://spuul.com/watch/movies/2455-john-day

So someone can help you like this LOL

Code:
ffmpeg -i "http://hls.spuul.com/va/movies/10810007-f45c572c/0011/renditions.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi92YS9tb3ZpZXMvMTA4MTAwMDctZjQ1YzU3MmMvc19qdy5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzk2NzY1MjYwfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9fX1dfQ__&Signature=t2aKKRA0U6oM9qcFEPMIDM0N3f5bxkPzDAizWylOBeAMYvodof0bVlPvfVOWroT099LGU7Ogn6TGed5NyiVb9HV~HWXeqqV7hSavRDUNLqf~iWXpko3qI2hTP3vVfQVYuWZDgdsrPkdt2K3gN-3Pb73KEvmjiSO6z7FD-8CkqRU_&Key-Pair-Id=APKAJMKGGGYZCUBNLANQ" -c copy m2.ts
Thanks I got it
Reply With Quote
  #7  
Old 04-12-2014, 05:46 AM
adi10289 adi10289 is offline
Member
 
Join Date: Dec 2012
Posts: 36
adi10289 is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Quote:
Originally Posted by adi10289 View Post
Thanks I got it
Hi Guys
Spuul has again changed their method of streaming. Pls check and help me out with new method.
Reply With Quote
  #8  
Old 04-12-2014, 10:26 AM
denobis denobis is offline
Senior Member
 
Join Date: Sep 2013
Posts: 568
denobis is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


With only ffmpeg maybe you can't. You need to pass certain cookies to download the chunks.
Reply With Quote
  #9  
Old 04-12-2014, 01:07 PM
adi10289 adi10289 is offline
Member
 
Join Date: Dec 2012
Posts: 36
adi10289 is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


Quote:
Originally Posted by denobis View Post
With only ffmpeg maybe you can't. You need to pass certain cookies to download the chunks.
Pls help me in how to pass cookies, m totally lost now
Reply With Quote
  #10  
Old 04-12-2014, 01:18 PM
denobis denobis is offline
Senior Member
 
Join Date: Sep 2013
Posts: 568
denobis is on a distinguished road
Default

Re: M3U8 FFMPEG Download Issue


It's not trivial, but atres downloader will support it in the next release. Wait till then.
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 10:26 AM.


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