Alternativas OBS - Open Broadcaster Software

1

Eu tenho um problema. O OBS [Open Broadcaster Software] não funciona no meu laptop porque ele não suporta o OpenGL 3.5. Eu quero entrar em livecoding , então existem alternativas para OBS?

Erro de log OBS

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/es-ES.ini
Attempted path: /usr/share/obs/obs-studio/locale/es-ES.ini
info: Using preferred locale 'es-ES'
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz
info: Physical Memory: 5640MB Total
info: Kernel Version: Linux 4.4.0-24-generic
info: Distribution: "Ubuntu" "16.04"
QObject::connect: invalid null parameter
info: OBS 0.14.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 44100
    speakers:        2
error: X Error: GLXBadFBConfig
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video:  Unspecified error
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1458.89 ms
info:  ┣OBSApp::AppInit: 3.954 ms
info:  ┃ ┗OBSApp::InitLocale: 1.561 ms
info:  ┗OBSApp::OBSInit: 85.229 ms
info:    ┣obs_startup: 2.215 ms
info:    ┗OBSBasic::OBSInit: 28.661 ms
info:      ┣OBSBasic::InitBasicConfig: 0.709 ms
info:      ┣OBSBasic::ResetAudio: 0.166 ms
info:      ┗OBSBasic::ResetVideo: 27.652 ms
info: obs_hotkey_thread(25 ms): min=0.131 ms, median=0.38 ms, max=9.193 ms, 99th percentile=9.193 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.009 ms, max=0.027 ms, 99th percentile=0.027 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.215 ms, median=25.484 ms, max=34.269 ms, 52.0833% within ±2% of 25 ms (0% lower, 47.9167% higher)
info: =================================================
info: Number of memory leaks: 128
    
por David Hackro 09.06.2016 / 19:06

1 resposta

5

Solução !

Primeiro :

Instale o FFMPEG

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install ffmpeg

Segundo :

Crie um arquivo chamado "script.sh" contendo o seguinte

  INRES="1366x768" # input resolution
     OUTRES="1366x768" # output resolution
     FPS="30" # target FPS
     GOP="30" # i-frame interval, should be double of FPS, 
     GOPMIN="15" # min i-frame interval, should be equal to fps, 
     THREADS="4" # max 6
     CBR="1000k" # constant bitrate (should be between 1000k - 3000k)
     QUALITY="ultrafast"  # one of the many FFMPEG preset
     AUDIO_RATE="44100"
     STREAM_KEY="***************************"
     #SERVER="rtmp://live.twitch.tv/app/"
     #SERVER="rtmp://live.justin.tv/app/"
     SERVER="rtmp://usmedia3.livecoding.tv:1935/livecodingtv/"

     ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 -f alsa -i pulse -f flv -ac 2 -ar $AUDIO_RATE \
       -vcodec libx264 -g $GOP -keyint_min $GOPMIN -b:v $CBR -minrate $CBR -maxrate $CBR -pix_fmt yuv420p\
       -s $OUTRES -preset $QUALITY -tune film -acodec libmp3lame -threads $THREADS -strict normal \
       -bufsize $CBR "$SERVER$STREAM_KEY"

e execute este script com script.sh

Funciona bem no ubuntu 15.10 e 16.04

    
por David Hackro 12.06.2016 / 17:57