Project

General

Profile

TVheadend error add m3u8 stream

Added by Jan Konečný almost 5 years ago

Good day, I'm trying to add a tvheadend stream in m3u8 format and add it to me this error

2018-03-21 12:12:29.206 mpegts: pipe:///usr/bin/ffmpeg -i http://xxx.eu/xxx/iptv.m3u8 -c copy -f mpegts pipe:1 in IPTV_dodatky - tuning on IPTV
2018-03-21 12:12:29.214 spawn: Executing "/usr/bin/ffmpeg" 
2018-03-21 12:12:29.214 subscription: 007B: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -i http://http://xxx.eu/xxx/iptv.m3u8 -c copy -f mpegts pipe:1", weight: 6, adapter: "IPTV", network: "IPTV_dodatky", service: "Raw PID Subscription" 
2018-03-21 12:12:29.262 spawn: ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
2018-03-21 12:12:29.262 spawn:   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
2018-03-21 12:12:29.262 spawn:   configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11g
2018-03-21 12:12:29.262 spawn:   libavutil      54. 31.100 / 54. 31.100
2018-03-21 12:12:29.262 spawn:   libavcodec     56. 60.100 / 56. 60.100
2018-03-21 12:12:29.262 spawn:   libavformat    56. 40.101 / 56. 40.101
2018-03-21 12:12:29.262 spawn:   libavdevice    56.  4.100 / 56.  4.100
2018-03-21 12:12:29.262 spawn:   libavfilter     5. 40.101 /  5. 40.101
2018-03-21 12:12:29.262 spawn:   libavresample   2.  1.  0 /  2.  1.  0
2018-03-21 12:12:29.262 spawn:   libswscale      3.  1.101 /  3.  1.101
2018-03-21 12:12:29.262 spawn:   libswresample   1.  2.101 /  1.  2.101
2018-03-21 12:12:29.262 spawn:   libpostproc    53.  3.100 / 53.  3.100
2018-03-21 12:12:29.293 spawn: [http @ 0xaf4c60] HTTP error 404 Not Found
2018-03-21 12:12:29.293 spawn: http://xxx.eu/xxx/iptv.m3u8: Server returned 404 Not Found
2018-03-21 12:12:29.297 iptv: stdin pipe unexpectedly closed: No data
2018-03-21 12:12:44.206 mpegts: pipe:///usr/bin/ffmpeg -i http://xxx.eu/xxx/iptv.m3u8 -c copy -f mpegts pipe:1 in IPTV_dodatky - scan no data, failed
2018-03-21 12:12:44.206 subscription: 007B: "scan" unsubscribing

Could someone please help me ???

Content m3u8

#EXTM3U
#EXT-X-VERSION:03
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:494093
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xEB002AA670FA2097B36ABF861B0FBAEC
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1500.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0DE5C55D8F68C6A21643B33AB568B71E
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1510.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0408CA999CAD499F33585D1F0AA68C1C
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1520.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xAA2F331040146ED382243CDCA2F98061
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1530.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1540.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1550.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xEB002AA670FA2097B36ABF861B0FBAEC
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1600.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0DE5C55D8F68C6A21643B33AB568B71E
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1610.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0408CA999CAD499F33585D1F0AA68C1C
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1620.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xAA2F331040146ED382243CDCA2F98061
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1630.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1640.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1650.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xEB002AA670FA2097B36ABF861B0FBAEC
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1700.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0DE5C55D8F68C6A21643B33AB568B71E
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1710.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0x0408CA999CAD499F33585D1F0AA68C1C
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1720.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xAA2F331040146ED382243CDCA2F98061
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1730.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:9,
http://xxxx:xy/xy/xy_xx/yyyy_yy1740.ts
#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128
#EXTINF:10,
http://xxxx:xy/xy/xy_xx/yyyy_yy1750.ts
]]

Replies (4)

RE: TVheadend error add m3u8 stream - Added by Robert Cameron almost 5 years ago

According to the error, ffmpeg is getting an HTTP 404 error when trying to access the file. This means "File not found", so it cannot repackage a stream if there is no stream ...

RE: TVheadend error add m3u8 stream - Added by Jan Konečný almost 5 years ago

but when I give the link to the file in the VLC, everything goes

RE: TVheadend error add m3u8 stream - Added by saen acro almost 5 years ago

#EXT-X-KEY:METHOD=AES-128,URI="http://xxx.eu/xxx/key.key",IV=0xA5AB4B8E9450B683DE2149256AC60128

string is not used in FFMPEG.
FFMPEG itself cannot descramble, it need external library.

RE: TVheadend error add m3u8 stream - Added by Jan Konečný almost 5 years ago

So can not use m3u8 where key is used ??? and or can it somehow solve ??

    (1-4/4)