megafagol
04-29-2018, 05:21 PM
hello I want to download this stream and play it in vlc or in another player
http://vmf.edge-apps.net/embed/live.php?streamname=el12_live01-100083
Thanks
Browser -> F12 -> Name: Playlist.m3u8?sense=true -> copy URL
Headers -> Referer -> copy URL
Code:
strealink --http-header Referer=copy URL "URL .m3u8" best -o video.ts
j_cool
05-14-2018, 04:29 PM
Good tutorial.
It is important to press F12 before stream starts, to catch playlist.m3u8.
If you press F12 after stream starts, there won't be playlist.m3u8, only hundreds of chunklist.m3u8.
ffmpeg can download this stream with good user agent, without referer.
C:\>ffmpeg -user_agent "stagefright/1.2 (Linux;Android 8.0.0)" -i "https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/Playlist.m3u8?sense=true" -c copy file.ts
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec
--enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b346000.m3u8?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b596000.m3u8?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b1596000.m3u8?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159231.ts?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159232.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b596000.m3u8?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-ul2skf83b_b596000_159231.ts?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-ul2skf83b_b596000_159232.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uysg40k20_b946000_159231.ts?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uysg40k20_b946000_159232.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b1596000.m3u8?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159231.ts?sense=true' for reading
[hls,applehttp @ 06ba46c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159232.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b346000.m3u8?sense=true' for reading
[https @ 08c9b7c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159233.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b596000.m3u8?sense=true' for reading
[https @ 08d3c3c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-ul2skf83b_b596000_159233.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8?sense=true' for reading
[https @ 08fa47c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uysg40k20_b946000_159233.ts?sense=true' for reading
Input #0, hls,applehttp, from 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/Playlist.m3u8?sense=true':
Duration: N/A, start: 61541.024311, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 371000
Stream #0:0: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 371000
Stream #0:1: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 426x240 [SAR 1:1 DAR 71:40], 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 371000
Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 371000
Program 1
Metadata:
variant_bitrate : 646000
Stream #0:3: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 646000
Stream #0:4: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 646000
Stream #0:5: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 646000
Program 2
Metadata:
variant_bitrate : 1031000
Stream #0:6: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 1031000
Stream #0:7: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 960x540 [SAR 1:1 DAR 16:9], 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 1031000
Stream #0:8: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 1031000
Program 3
Metadata:
variant_bitrate : 1746000
Stream #0:9: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 1746000
Stream #0:10: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 30 tbr, 90k tbn, 60 tbc
Metadata:
variant_bitrate : 1746000
Stream #0:11: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 1746000
Output #0, mpegts, to 'file.ts':
Metadata:
encoder : Lavf58.12.100
Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 30 tbr, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 1746000
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
Metadata:
variant_bitrate : 371000
Stream mapping:
Stream #0:10 -> #0:0 (copy)
Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b346000.m3u8?sense=true' for reading
[https @ 08d45d00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159234.ts?sense=true' for reading
[hls,applehttp @ 06ba46c0] No longer receiving playlist 1
[hls,applehttp @ 06ba46c0] No longer receiving playlist 227 bitrate= 759.9kbits/s speed=2.11x
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b1596000.m3u8?sense=true' for reading
[https @ 09106e00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159233.ts?sense=true' for reading
[https @ 08c9b7c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159235.ts?sense=true' for reading
[https @ 091d2340] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159234.ts?sense=true' for reading
[https @ 08d45d00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159236.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b1596000.m3u8?sense=true' for reading
[https @ 09106e00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159235.ts?sense=true' for reading
[https @ 06c72640] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b346000.m3u8?sense=true' for reading
[https @ 08c9b7c0] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159237.ts?sense=true' for reading
[https @ 091d2340] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159236.ts?sense=true' for reading
[https @ 08d45d00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-uah6yw8s0_b346000_159238.ts?sense=true' for reading
[https @ 09106e00] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159237.ts?sense=true' for reading
[https @ 091d2340] Opening 'https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/media-upjoaiifj_b1596000_159238.ts?sense=true' for reading
Yes, with this User the Agent ffmpeg download.
j_cool
05-15-2018, 09:37 AM
There are different resolutions of this stream so let's see what options we have:
C:\curl -A "Mozilla/5.0 Android" -k "https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/Playlist.m3u8?sense=true"
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=371000,CODECS="avc1.66.21,mp4a.40.2",RESOLUTION=426x240
chunklist_b346000.m3u8?sense=true
#EXT-X-STREAM-INF:BANDWIDTH=646000,CODECS="avc1.66.30,mp4a.40.2",RESOLUTION=640x360
chunklist_b596000.m3u8?sense=true
#EXT-X-STREAM-INF:BANDWIDTH=1031000,CODECS="avc1.66.31,mp4a.40.2",RESOLUTION=960x540
chunklist_b946000.m3u8?sense=true
#EXT-X-STREAM-INF:BANDWIDTH=1746000,CODECS="avc1.66.40,mp4a.40.2",RESOLUTION=1280x720
chunklist_b1596000.m3u8?sense=true
If you want resolution 960x540 replace Playlist.m3u8 with chunklist_b946000.m3u8
"https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/Playlist.m3u8"
"https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8"
Now, you can try different players to see if one is better than the other for this stream.
The simplest one is ffplay.exe:
ffplay.exe -user_agent "Mozilla/5.0 (Android 7.0; Mobile; rv:57.0) Gecko/57.0 Firefox/57.0" https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8
https://s7.postimg.cc/jnbuyuzyf/Screen_Shot.jpg (https://postimg.cc/image/jnbuyuzyf/)
megafagol
05-21-2018, 06:54 AM
Thanks, I was able to do it with ffplay.exe. Img (https://postimg.cc/image/ml25ub25n/)
Could it be reproduced in vlc? Because my idea was to be able to watch it on tv with ssiptv
j_cool
05-21-2018, 10:18 AM
Yes if you know how to bypass certificate check with VLC.
Short of that switch for VLC, there are other ways:
streamlink.exe --http-header "User-Agent=Mozilla/5.0 Android" --http-no-ssl-verify https://prepublish.f.qaotic.net/b09/ngrp:el12_live01-100083_all/chunklist_b946000.m3u8 best
https://s7.postimg.cc/jo76vd1lj/Screen_Shot.jpg (https://postimg.cc/image/jo76vd1lj/)
megafagol
05-21-2018, 11:00 AM
I did it and it worked, but it was not what I wanted xD. I wanted an address of the style .ts, m3u, or something similar to be able to use it in the ssiptv app. However, thank you very much for the help
j_cool
05-22-2018, 01:27 AM
Have you found some switch like --http-no-ssl-verify for VLC ?
EDITED:
I found something that works for VLC by looking for "cert" in VLC help file:
vlc.exe %url% --no-gnutls-system-trust :http-user-agent="Mozilla/5.0 Android"
https://s31.postimg.cc/lq4ssgetz/Screen_Shot.jpg (https://postimg.cc/image/lq4ssgetz/)
megafagol
05-22-2018, 05:07 AM
it has not worked for me, something I'm doing wrong, but the problem is that with this method I can play it in vlc but my idea was to pass it to the smart tv through the ssiptv app. I leave the page if you want to see something. http://ss-iptv.com/en/
In the description of the post mention vlc because I thought there would be some way to reproduce it in the formats .ts, m3u, etc. I should have put ssiptv
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.