soernf
02-02-2016, 11:39 AM
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:80/Content/HLS/Live/Channel(DR1)/index.m3u8?deviceType=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:
[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
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:80/Content/HLS/Live/Channel(DR1)/index.m3u8?deviceType=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:
[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