Re: streamlink: an up to date fork of livestreamerImpossible to edit yesterday's post.
Better question may be: How to use streamlink to save youtube live stream and get the file of good quality if it is possible. |
Re: streamlink: an up to date fork of livestreamerIt appears to be that mp4 file type is the only file type on youtube that can be copied, which does not result in a good file.
Therefore, making flv file with ffmpeg is better option. Quote:
dt.au3 $dtime = @YEAR & '-' & @MON & '-' & @MDAY & '_' & @HOUR & '-' & @MIN & '-' & @SEC consolewrite($dtime) clb.au3 $var = ClipGet() ConsoleWrite($var) https://www.youtube.com/watch?v=y60wDzZt8yg Code:
C:\MISC\~>youtube-dl.exe -v -F --no-check-certificate https://www.youtube.com/watch?v=y60wDzZt8yg |
Re: streamlink: an up to date fork of livestreamerHere is how to get good file from youtube live stream with streamlink:
streamlink https://www.youtube.com/watch?v=y60wDzZt8yg 480p --stdout | ffmpeg -i pipe:0 -c:v h264 -c:a aac c:\test.flv Code:
C:\>streamlink https://www.youtube.com/watch?v=y60wDzZt8yg 480p --stdout | ffmpeg -i pipe:0 -c:v h264 -c:a aac c:\test.flv |
Re: streamlink: an up to date fork of livestreamerHere is solution that reduces high CPU usage to normal when making .flv file with ffmpeg on youtube live stream:
Replace -c:v h264 with: -c:v copy streamlink https://www.youtube.com/watch?v=y60wDzZt8yg 480p --stdout | ffmpeg -i pipe:0 -c:v copy -c:a aac c:\test.flv Code:
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers [libx264 @ 0000000002c5b2e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 |
Re: streamlink: an up to date fork of livestreamer |
Re: streamlink: an up to date fork of livestreamerSomething worth saying.
BBC website, pre-recorded video, "manifest" file.. http://www.bbc.co.uk/news/world-us-canada-41826022 The heroin-ravaged city fighting back Code:
C:\>streamlink.exe "http://vod-hds-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd/21a452-p051skl0/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de.ism/pc_hd_abr_v2_hds_master.f4m?s=1509935821&e=1509979021&h=343a818cbf79a3218a3cc8b86a530f97" best Code:
C:\>youtube-dl.exe -v -F --no-check-certificate "http://vod-hds-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd/21a452-p051skl0/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de.ism/pc_hd_abr_v2_hds_master.f4m?s=1509935821&e=1509979021&h=343a818cbf79a3218a3cc8b86a530f97" So far I get it with streamlink only. Future is bright for streamlink and would-be forks. |
Re: streamlink: an up to date fork of livestreamerHere is what youtube-dl says about problem from last post:
https://github.com/rg3/youtube-dl/issues/14684 OK. No youtube-dl, no streamlink, here is solution how to get video file with ffmpeg. I use firefox 56 and User Agent Switcher 0.7.3.1 extension to change browser's user agent to iphone 3.0. Hls Stream Detector add-on returns 10 m3u8 urls, I use one of them: Code:
http://vod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd/21a452-p051skl0/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de.ism/mobile_wifi_main_sd_abr_v2_hls_master.m3u8?s=1510205396&e=1510248596&h=72e7c915698753356662d35285a3907a#t=0 Enter this url in browser's address bar and save m3u8 file. It will look like this: Code:
#EXTM3U Replace: mobile_wifi_main_sd_abr_v2_hls_master.m3u8 with: vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de-audio_eng=96000-video=1604000.m3u8 or some other m3u8 line from saved file with resolution to your liking. Code:
ffplay.exe http://vod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd/21a452-p051skl0/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de.ism/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de-audio_eng=96000-video=1604000.m3u8?s=1510205396&e=1510248596&h=72e7c915698753356662d35285a3907a#t=0 Code:
C:\>ffplay.exe http://vod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_sd/21a452-p051skl0/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de.ism/vf_p051skl0_0bd66164-b23d-4a18-a305-75be57e4e8de-audio_eng=96000-video=1604000.m3u8?s=1510205396 & e=1510248596 & h=72e7c915698753356662d35285a3907a#t=0 ![]() |
Re: streamlink: an up to date fork of livestreamer |
Re: streamlink: an up to date fork of livestreamerHi , thanks for the following .
"plugins for dailymotion" Code:
https://github.com/streamlink/streamlink/blob/master/src/streamlink/plugins/dailymotion.py |
Re: streamlink: an up to date fork of livestreamerLatest release: 0.11.0
https://github.com/streamlink/stream...ses/tag/0.11.0 Forum is alive again, welcome to everyone after a long inactivity page ;) |
All times are GMT -6. The time now is 12:16 PM. |