Skip to content

Instantly share code, notes, and snippets.

@laclaro
Last active August 8, 2021 13:25
Show Gist options
  • Save laclaro/234f296751810c55b03db4c444ef7215 to your computer and use it in GitHub Desktop.
Save laclaro/234f296751810c55b03db4c444ef7215 to your computer and use it in GitHub Desktop.
#EXTM3U
#EXTINF:-1 tvg-name="ZDF HD" tvg-id="ZDF.de" group-title="ZDF" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/zdfhd.png",ZDF HD
pipe://ffmpeg -loglevel fatal -i https://zdf-hls-01.akamaized.net/hls/live/2002460/de/9f87d3ce9cf217b6f4de75631022195f/5/5.m3u8 -i https://zdf-hls-01.akamaized.net/hls/live/2002460/de/9f87d3ce9cf217b6f4de75631022195f/4/4.m3u8 -vcodec copy -acodec copy -metadata service_name=ZDF\ HD -metadata service_provider=ZDF -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1
#EXTINF:-1 tvg-name="ZDFneo HD" tvg-id="ZDFneo.de" group-title="ZDFneo" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/zdfneohd.png",ZDFneo HD
pipe://ffmpeg -loglevel fatal -i https://zdf-hls-02.akamaized.net/hls/live/2002461/de/203772183f9e4182f6a9f4b5536004b4/5/5.m3u8 -i https://zdf-hls-02.akamaized.net/hls/live/2002461/de/203772183f9e4182f6a9f4b5536004b4/4/4.m3u8 -vcodec copy -acodec copy -metadata service_name=ZDFneo\ HD -metadata service_provider=ZDF -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1
#EXTINF:-1 tvg-name="ZDFinfo HD" tvg-id="ZDFinfo.de" group-title="ZDFinfo" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/zdfinfohd.png",ZDFinfo HD
pipe://ffmpeg -loglevel fatal -i https://zdfhls17-i.akamaihd.net/hls/live/744750/de/5/5.m3u8 -i https://zdfhls17-i.akamaihd.net/hls/live/744750/de/4/4.m3u8 -vcodec copy -acodec copy -metadata service_name=ZDFinfo\ HD -metadata service_provider=ZDF -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1
@laclaro
Copy link
Author

laclaro commented Mar 6, 2020

... advanced_codec_digital_hdtv -f nut - | vlc -
to pipe to vlc

@laclaro
Copy link
Author

laclaro commented Mar 8, 2020

the above piping to vlc does not seem to work anymore. Please fumble and tell at jnk22/kodinerds-iptv#272, if you found the solution.

@voltagex
Copy link

voltagex commented Aug 8, 2021

Worth starting from https://zdf-hls-15.akamaized.net/hls/live/2016498/de/high/master.m3u8 instead (geoblocked, German IPs only)

curl.exe https://zdf-hls-15.akamaized.net/hls/live/2016498/de/high/master.m3u8
#EXTM3U

#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-510682780",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/5/5.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-510682780",NAME="Originalton",LANGUAGE="mul",URI="https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/6/6.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-510682780",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/7/7.m3u8"

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1266820252",NAME="TV Ton",LANGUAGE="deu",DEFAULT=YES,URI="https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/5/5.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1266820252",NAME="Originalton",LANGUAGE="mul",URI="https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/6/6.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="A1.1+A2.1+A3.1-1266820252",NAME="Audio-Deskription",LANGUAGE="deu",URI="https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/7/7.m3u8"

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-510682780",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/8/8.m3u8"

#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="T1-1266820252",NAME="Untertitel deutsch",CODECS="wvtt",LANGUAGE="deu",DEFAULT=YES,AUTOSELECT=YES,URI="https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/8/8.m3u8"

#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-510682780",SUBTITLES="T1-510682780",FRAME-RATE=25.000,RESOLUTION=480x270
https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/1/1.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=671111,AVERAGE-BANDWIDTH=581111,AUDIO="A1.1+A2.1+A3.1-1266820252",SUBTITLES="T1-1266820252",FRAME-RATE=25.000,RESOLUTION=480x270
https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/1/1.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-510682780",SUBTITLES="T1-510682780",FRAME-RATE=25.000,RESOLUTION=640x360
https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/2/2.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=1173371,AVERAGE-BANDWIDTH=969371,AUDIO="A1.1+A2.1+A3.1-1266820252",SUBTITLES="T1-1266820252",FRAME-RATE=25.000,RESOLUTION=640x360
https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/2/2.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-510682780",SUBTITLES="T1-510682780",FRAME-RATE=25.000,RESOLUTION=960x540
https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/3/3.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.4d401f,mp4a.40.2",BANDWIDTH=2257198,AVERAGE-BANDWIDTH=1807198,AUDIO="A1.1+A2.1+A3.1-1266820252",SUBTITLES="T1-1266820252",FRAME-RATE=25.000,RESOLUTION=960x540
https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/3/3.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-510682780",SUBTITLES="T1-510682780",FRAME-RATE=50.000,RESOLUTION=1280x720
https://zdf-hls-15.akamaized.net/hls/live/2016498/de/6d56e19e6cb511ea22e5977bbe619121/4/4.m3u8
#EXT-X-STREAM-INF:CODECS="avc1.640028,mp4a.40.2",BANDWIDTH=4504154,AVERAGE-BANDWIDTH=3544154,AUDIO="A1.1+A2.1+A3.1-1266820252",SUBTITLES="T1-1266820252",FRAME-RATE=50.000,RESOLUTION=1280x720
https://zdf-hls-15.akamaized.net/hls/live/2016498-b/de/6d56e19e6cb511ea22e5977bbe619121/4/4.m3u8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment