mixer / tachyon

FTL enabled branch of OBS
GNU General Public License v2.0
91 stars 13 forks source link

Linux - Tachyon 1.2.7, can't stream. #52

Open ghost opened 8 years ago

ghost commented 8 years ago

Oi, me again.

ftl-express: error while loading shared libraries: libgo.so.5: cannot open shared object file: No such file or directory

I have installed it fresh and tried a reinstall of FFMPEG, but still having this issue.

Full log:

ftl-express: error while loading shared libraries: libgo.so.5: cannot open shared object file: No such file or directory
warning: [libftl] ingest accepted our paramteres
warning: FFMPEG Version: 57.24.102

warning: AV Codec configurations --enable-shared --enable-libvpx --enable-libopus --prefix=/opt/tachyon

debug: v1.5.0

info: Using muxer settings:
    ssrc=240932
info: Using audio muxer settings:
    ssrc=240931
    payload_type=97
debug: Output #0, rtp, to '(null)':

debug:   Metadata:

debug:     encoder         : 
debug: Lavf57.25.100
debug: 

debug:     Stream #0:0
debug: : Audio: opus (libopus), 48000 Hz, stereo, s16, 160 kb/s
debug: 

debug: Output #0, rtp, to '(null)':

debug:   Metadata:

debug:     encoder         : 
debug: Lavf57.25.100
debug: 

debug:     Stream #0:0
debug: : Video: vp8 (libvpx), yuv420p(tv, bt470bg/unknown/unknown), 1280x720, q=-1--1, 2500 kb/s
debug: , 
debug: 90k tbn, 
debug: 30 tbc
debug: 

debug: obs_output_set_video_conversion: Null 'conversion' parameter
info: ==== Recording Start ===============================================
debug: 1 frames left in the queue on closing

warning: [libftl] ingest did not accept our disconnect. Returned response code was 400
warning: Closing FTL express

warning: Sending Ctrl+C to Ftl-express pid 21049

info: Output 'adv_ffmpeg_output': stopping
info: Output 'adv_ffmpeg_output': Total encoded frames: 370
info: Output 'adv_ffmpeg_output': Total drawn frames: 371
Maximilian-Reuter commented 8 years ago

not surprising since this is quite an old version

sslivins commented 8 years ago

the issue is you need to install golang, the name might vary depending on the package manager

tobiasschulz commented 8 years ago

You can use this script to compile the current version of tachyon:

sudo apt install ffmpeg
sudo add-apt-repository ppa:obsproject/obs-studio
sudo sed -i 's@#@@gm' /etc/apt/sources.list.d/obsproject-ubuntu-obs-studio-xenial.list
sudo apt update
sudo apt build-dep obs-studio

git clone git@github.com:WatchBeam/ftl-sdk.git
cd ftl-sdk && (
    mkdir build
    cd build
    cmake ..
    make
    sudo make install
)

mkdir ~/src
cd ~/src
git clone git@github.com:WatchBeam/tachyon.git
cd tachyon && (
    cmake . -DFTLSDK_LIB=/usr/local/lib/libftl.so -DFTLSDK_INCLUDE_DIR=/usr/local/include/ftl/
    { cat - plugins/obs-ffmpeg/obs-ffmpeg-output.c > x && mv x plugins/obs-ffmpeg/obs-ffmpeg-output.c; } <<EOF
#include <resolv.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
EOF
    make
    sudo make install
)
jacobmischka commented 8 years ago

If anyone on Arch runs into the same problem I did, the PKGBUILDs I used to install tachyon and ftl-sdk can be found here: https://github.com/jacobmischka/PKGBUILDs.