> https://sportbar.biz/sk2serbia.html > > I believe it requires JS though. Sorry :(
By viewing the page source I found this line: var videoLink = 'https://sportbar.biz/lba/ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=/g3/sk2serbia.m3u8?token=ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=&id=MWM2OWEyZGE4MDAzMGI3NDVkZjdhYTJhOWQ2YWRkZjg=&vip=1567178367&dip=NjUxYzhmNTk4N2EwMzVmMWQwNDI4ODBmOGRjMmI5ZmI=&pip=31.7.59.226&hip=ZDYzMjA2ODRjYjI3NzI0ZTE2MzU4NDk5N2NhZDk4ZGQ='; I tried playing the link with $ mpv https://sportbar.biz/lba/ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=/g3/sk2serbia.m3u8?token=ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=&id=MWM2OWEyZGE4MDAzMGI3NDVkZjdhYTJhOWQ2YWRkZjg=&vip=1567178367&dip=NjUxYzhmNTk4N2EwMzVmMWQwNDI4ODBmOGRjMmI5ZmI=&pip=31.7.59.226&hip=ZDYzMjA2ODRjYjI3NzI0ZTE2MzU4NDk5N2NhZDk4ZGQ= and it worked, but kept freezing. So this solves the JS problem, but not your original problem. I then ran $ youtube-dl --list-formats https://sportbar.biz/lba/ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=/g3/sk2serbia.m3u8?token=ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=&id=MWM2OWEyZGE4MDAzMGI3NDVkZjdhYTJhOWQ2YWRkZjg=&vip=1567178367&dip=NjUxYzhmNTk4N2EwMzVmMWQwNDI4ODBmOGRjMmI5ZmI=&pip=31.7.59.226&hip=ZDYzMjA2ODRjYjI3NzI0ZTE2MzU4NDk5N2NhZDk4ZGQ= and got [info] Available formats for sk2serbia: format code extension resolution note 0 mp4 unknown To capture the stream as an mp4 file, I then ran $ youtube-dl --format 0 https://sportbar.biz/lba/ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=/g3/sk2serbia.m3u8?token=ZmJkYmU0M2M1NTk0ZTdiMGViYzE4ODE0NWZiMTUyNjY=&id=MWM2OWEyZGE4MDAzMGI3NDVkZjdhYTJhOWQ2YWRkZjg=&vip=1567178367&dip=NjUxYzhmNTk4N2EwMzVmMWQwNDI4ODBmOGRjMmI5ZmI=&pip=31.7.59.226&hip=ZDYzMjA2ODRjYjI3NzI0ZTE2MzU4NDk5N2NhZDk4ZGQ= (Since there was only one format available, it might not have been necessary to specify the format with "--format") I let this run for a while, and saw that it created "sk2serbia-sk2serbia.mp4.part" in the working directory. I renamed it to "sk2serbia-sk2serbia.mp4" and tried to play it with mpv and... it didn't work. $ mpv sk2serbia-sk2serbia.mp4 Playing: sk2serbia-sk2serbia.mp4 [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found [lavf] avformat_open_input() failed [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: moov atom not found [lavf] avformat_open_input() failed Failed to recognize file format. If I have time later I'll see if I can make more progress.
signature.asc
Description: PGP signature