SoMuchForSubtlety / f1viewer

🏎️ TUI for F1TV
GNU General Public License v3.0
758 stars 65 forks source link

[BUG] [vo/sdl] SDL_Init failed Error opening/initializing the selected video_out (--vo) device #239

Closed darrencoen closed 2 years ago

darrencoen commented 2 years ago
[Downloads]$ mpv http://127.0.0.1:33399/hls/F1_SUT_1650650872574_1650651000438/index.m3u8 --a
lang=teamradio,obc,eng --quiet --title=QUALIFYING HIGHLIGHTS - Emilia Romagna                
INFO: checking for live session                                                              
INFO: no live session found                                                                  
     Video --vid=1 'bitrate 1265033' (h264 640x360 50.000fps)                                
     Video --vid=2 'bitrate 434825' (h264 480x270 50.000fps)                                 
     Video --vid=3 'bitrate 704944' (h264 512x288 50.000fps)                                 
     Video --vid=4 'bitrate 2115395' (h264 960x540 50.000fps)                                
     Video --vid=5 'bitrate 3955088' (h264 1280x720 50.000fps)                               
 (+) Video --vid=6 'bitrate 6687254' (h264 1920x1080 50.000fps)                              
 (+) Audio --aid=1 --alang=eng (aac 2ch 48000Hz)                                             
     Audio --aid=2 --alang=cfx (*) (aac 2ch 48000Hz)                                         
[vo/sdl] SDL_Init failed                                                                     
Error opening/initializing the selected video_out (--vo) device.                             
Video: no video                                                                              

Exiting... (Errors when loading file)                                                        
ERROR: delivering proxy response: write tcp 127.0.0.1:33399->127.0.0.1:58802: write: connecti
on reset by peer                                                                             
ERROR: delivering proxy response: write tcp 127.0.0.1:33399->127.0.0.1:58806: write: connecti
on reset by peer                              

logged in with token load up a stream with mpv

nothing starts

f1tv pro

Desktop (please complete the following information): ubuntu 20.04 LTS installed via console sudo dpkg --install

f1viewer --version
Version:     2.7.0
Git commit:  5ceccf052b40658019923c2d456f91bafdab24a1
Built:       2022-04-07T20:54:15Z
mpv --version
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
ffmpeg version: 4.2.4-1ubuntu0.1
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

image

SoMuchForSubtlety commented 2 years ago

This is caused by widevine DRM, see #233