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 02-02-2016, 12:39 PM
soernf soernf is offline
Junior Member
 
Join Date: Oct 2015
Posts: 3
soernf is on a distinguished road
Default

How to record/stream m3u8 AES-128 stream


Hi

My question might not be in the right Category, since there is a little more to it.

I have a Mythtv Backend where I would like to be able to play/record following stream:
http://ys-hlslive.ds.cdn.yousee.tv:8...e=yousee.tv-pc

I have more similar streams, but the incryption should be the same.

As fare as I can figure out, it is AES-128 Verimatrix incryption.

My final goal is to be able to record the stream on my Mythtv backend, but for now I "just" want to be able to record the files in a terminal.
The Mythtv supports ffmpeg, so if that could be used, it would properly make the final goal simpler.

I get this in terminal:
Code:
[root@sfalkenberg ~]# mythffmpeg -i "http://ys-hlslive.ds.cdn.yousee.tv:80/Content/HLS/Live/Channel(DR1)/index.m3u8" -c copy /var/flexshare/shares/disk_1/DVD/test2.ts
ffmpeg version 1.2.7 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 31 2016 06:52:56 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
  configuration: --compile-type=release --arch=x86_64 --enable-mmx --prefix=/usr --libdir-name=lib64 --x11-path=/usr/include --enable-joystick-menu --enable-lirc --enable-ivtv --enable-firewire --enable-dvb --enable-audio-oss --enable-audio-alsa --enable-audio-jack --enable-x11 --enable-xrandr --enable-xv --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfftw3 --enable-opengl-video --enable-vdpau --enable-crystalhd --enable-vaapi --enable-ffmpeg-pthreads --perl-config-opts='INSTALLDIRS=vendor' --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libfaac --enable-libvpx --enable-nonfree
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Unable to open key file https://vkey.cdn.yousee.tv/CAB/keyfile?s=883&r=00000000-0000-0000-0000-000000000007&t=DTV&p=1454428800
[hls,applehttp @ 0x1fa4f40] Error when loading first segment 'http://ys-hlslive.ds.cdn.yousee.tv:80/Content/HLS/Live/Channel(DR1)/Stream(02)/Segment(14544303590000000)/segment.ts'
http://ys-hlslive.ds.cdn.yousee.tv:80/Content/HLS/Live/Channel(DR1)/index.m3u8: Invalid data found when processing input
Thanks,

S?ren
Reply With Quote
  #2  
Old 02-02-2016, 11:00 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: How to record/stream m3u8 AES-128 stream


try to download key manualyy while playing stream...

or paste orignal video url
Reply With Quote
  #3  
Old 02-02-2016, 11:10 PM
soernf soernf is offline
Junior Member
 
Join Date: Oct 2015
Posts: 3
soernf is on a distinguished road
Default

Re: How to record/stream m3u8 AES-128 stream


I dont know how to download the key while playing.

I tried using windows to save the key to a .psx file, but did not help to edit the m3u8 and use the key locally.

I tried using a url scanner while playing the streams in a webplayer and got this:

http://taa-cds-se2.se.ys-hlslive.ds....e=yousee.tv-pc
http://taa-cds-se2.se.ys-hlslive.ds....05)/index.m3u8
http://taa-cds-se2.se.ys-hlslive.ds....02)/index.m3u8
http://taa-cds-se2.se.ys-hlslive.ds....02)/index.m3u8
http://taa-cds-se2.se.ys-hlslive.ds....00)/segment.ts
http://taa-cds-se2.se.ys-hlslive.ds....02)/index.m3u8
http://taa-cds-se2.se.ys-hlslive.ds....00)/segment.ts

I think this is encrypted using Viewright.

If anyone know how it would be great.
Reply With Quote
  #4  
Old 02-02-2016, 11:21 PM
surya987 surya987 is offline
Senior Member
 
Join Date: May 2014
Location: India
Posts: 280
surya987 is on a distinguished road
Default

Re: How to record/stream m3u8 AES-128 stream


i am talking about

Code:
https://vkey.cdn.yousee.tv/CAB/keyfile?s=883&r=00000000-0000-0000-0000-000000000007&t=DTV&p=1454475600
open any playlist and download inside key in it and try again editing m3u8 file...
Reply With Quote
  #5  
Old 02-02-2016, 11:44 PM
soernf soernf is offline
Junior Member
 
Join Date: Oct 2015
Posts: 3
soernf is on a distinguished road
Default

Re: How to record/stream m3u8 AES-128 stream


I have already tried that, but since I am using Windows because that is the only thing I can get the web player to work on, I am only being permitted to download a psx file.

Can you please instruct on how to download the key?
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:17 AM.


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