Bug Report [FEATURE MISSING] CMAKE - ftl-services is NOT being built!

barkshark

New Member
In the github release, for a full two years now (?!?!) it seems that ftl-services are NOT being built.

This isn't to say that FTL isn't working on linux-- it appears that it's working just fine for Ubuntu, so long as you install through the Debian Installer GUI, not through github.

This presents a problem in that presently, Ubuntu is the only linux OS that is able to use FTL out-of-the-box, stranding me when it comes to my little Manjaro install that I'd like to use Mixer FTL on. From what I can see, the output plugin itself, ftl-services.so is outright missing! This of course leads to the stream failing to start, with a GUI error that is... Well, useless, in my case.
1566695547536.png

And... Since it asks me to check the log for details...
Code:
08:26:10 AM.755: Output 'adv_stream': Tried to set a delay value on a non-encoded output
08:26:10 AM.755: Stream output type 'ftl_output' failed to start!
It was about now that i decided to check ~./config/obs-studio/plugins AND /usr/share/obs/obs-plugins ... I didn't find an ftl-services.so. Unfortunately, I lack the coding skills to make a pull request on the github, and (to my complete confusion and actual frustration) issues are disabled (?!) on the github page... Something reserved for projects not actively being developed/supported anymore... Which... Isn't a good sign.

As far as I can tell, this issue isn't new, with yet another thread in this forum being unresolved for 9 months, here: https://obsproject.com/forum/threads/mixer-ftl-no-encoder.95837/

With ArchLinux (in this sense, is where Manjaro gets its code from), this issue's been tracked (and unfortunately closed!) for two full years, seen here https://bugs.archlinux.org/task/55441

I don't know if this issue is known of and abandoned, or if it's just that nobody has stuck their nose so high up the tree as I have today, but this issue needs fixing either way. Two years is a long time for what seems to be a simple bug, to be fixed.
 

barkshark

New Member
Cloning actually does execute init, but let's rebuild with the git submodules updated-- though if this is the issue in and of itself, I'll need to dig deeper into why (for manjaro) pacman/pamac don't actually have this working either. Though, I figured that it wouldn't have it OOTB because the actual get repo didn't have it working either. Let's build.
Code:
[dan@dan-pc build-obs-studio]$ git clone https://github.com/obsproject/obs-studio.git
Cloning into 'obs-studio'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 53457 (delta 6), reused 12 (delta 3), pack-reused 53434
Receiving objects: 100% (53457/53457), 30.09 MiB | 4.98 MiB/s, done.
Resolving deltas: 100% (35555/35555), done.
[dan@dan-pc build-obs-studio]$ dir
obs-studio
[dan@dan-pc build-obs-studio]$ cd obs-studio
[dan@dan-pc obs-studio]$ git submodule update
[dan@dan-pc obs-studio]$
Will reply when building is done (hopefully)
 

barkshark

New Member
No such luck. Still get this error.
Code:
error: Output ID 'ftl_output' not found
error: Failed to create output 'adv_stream'!
warning: Output 'adv_stream': Tried to set a delay value on a non-encoded output
warning: Stream output type 'ftl_output' failed to start!
1566752326180.png
 

Tuna

Member
I don't see you doing a submodule init there. The submodule update will do nothing if the submodules are not initialized.
 

barkshark

New Member
Mm. Okay. Wiped and rebuilding. Did something this time
Code:
[dan@dan-pc ~]$ mkdir build-obs-studio
[dan@dan-pc ~]$ cd build-obs-studio/
[dan@dan-pc build-obs-studio]$ git clone https://github.com/obsproject/obs-studio.git
Cloning into 'obs-studio'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 53457 (delta 6), reused 12 (delta 3), pack-reused 53434
Receiving objects: 100% (53457/53457), 30.09 MiB | 12.78 MiB/s, done.
Resolving deltas: 100% (35555/35555), done.
[dan@dan-pc build-obs-studio]$ dir
obs-studio
[dan@dan-pc build-obs-studio]$ cd obs-studio/
[dan@dan-pc obs-studio]$ mkdir build
[dan@dan-pc obs-studio]$ cd build
[dan@dan-pc build]$ cd ..
[dan@dan-pc obs-studio]$ git submodule init
Submodule 'plugins/enc-amf' (https://github.com/obsproject/obs-amd-encoder.git) registered for path 'plugins/enc-amf'
Submodule 'plugins/mac-syphon/syphon-framework' (https://github.com/palana/Syphon-Framework.git) registered for path 'plugins/mac-syphon/syphon-framework'
Submodule 'plugins/obs-browser' (https://github.com/obsproject/obs-browser.git) registered for path 'plugins/obs-browser'
Submodule 'plugins/obs-outputs/ftl-sdk' (https://github.com/Mixer/ftl-sdk.git) registered for path 'plugins/obs-outputs/ftl-sdk'
Submodule 'plugins/obs-vst' (https://github.com/obsproject/obs-vst.git) registered for path 'plugins/obs-vst'
Submodule 'plugins/win-dshow/libdshowcapture' (https://github.com/obsproject/libdshowcapture.git) registered for path 'plugins/win-dshow/libdshowcapture'
[dan@dan-pc obs-studio]$ git submodule update
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/enc-amf'...
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/mac-syphon/syphon-framework'...
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/obs-browser'...
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/obs-outputs/ftl-sdk'...
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/obs-vst'...
Cloning into '/home/dan/build-obs-studio/obs-studio/plugins/win-dshow/libdshowcapture'...
Submodule path 'plugins/enc-amf': checked out '47c3c728affbeb064779a7495818de73e727d2fb'
Submodule path 'plugins/mac-syphon/syphon-framework': checked out '01b144811f6f7080b70b2d7cc729da071f86f9d7'
Submodule path 'plugins/obs-browser': checked out '6b1ed9b12afe8af2aff16db2723226f23a89d5f7'
Submodule path 'plugins/obs-outputs/ftl-sdk': checked out 'aad863dc12e02beb8f8a46cbc83b5d8ee3af7093'
Submodule path 'plugins/obs-vst': checked out 'e7d21c36c865c6004087bd91f1d9141d955be113'
Submodule path 'plugins/win-dshow/libdshowcapture': checked out 'd9ca1142cd863c99ce1225d515b1880938c66b0c'
[dan@dan-pc obs-studio]$ cd build
[dan@dan-pc build]$
 

barkshark

New Member
Right... Now who do I talk to to get the pacman/pamac version to have this support?
Code:
info: [ftl stream: '(null)'] ftl_stream_create
info: [ftl stream: 'adv_stream'] ftl_stream_start
info: ---------------------------------
info: [x264 encoder: 'streaming_h264'] preset: veryfast
info: [x264 encoder: 'streaming_h264'] profile: main
info: [x264 encoder: 'streaming_h264'] settings:
    rate_control: CBR
    bitrate:      2500
    buffer size:  2500
    crf:          0
    fps_num:      60
    fps_den:      1
    width:        1280
    height:       720
    keyint:       120

info: ---------------------------------
info: [FFmpeg libopus encoder: 'alt_audio_enc'] bitrate: 160, channels: 2, channel_layout: 3

warning: ftl-stream: connect thread
info: [ftl stream: 'adv_stream'] init_connect
info: [ftl stream: 'adv_stream'] Connecting to FTL Ingest URL ingest-wdc.mixer.com...
info: [ftl stream: 'adv_stream'] Connection to ingest-wdc.mixer.com successful
info: [ftl stream: 'adv_stream'] Speed test completed: User desired bitrate 2500, Peak kbps 14831, initial rtt 38, final rtt 49, 0.15 lost packets
info: [4] Got IP: 169.63.74.70

info: [3] Successfully connected to ingest.  Media will be sent to port 8740

info: [3] Sender report base ntp time set to 97 us

info: [3] Stream (97) base dts set to 0

info: [1] Sent 1877148 bytes in 1011 ms; send packets 1337 lost 2 packets; (first rtt: 38, last 49). Estimated peak bitrate 14831 kbps

info: ==== Streaming Start ===============================================
info: [3] Audio is ready and we have the first iframe, starting stream. (dropped 0 frames)

info: [3] Sender report base ntp time set to 96 us

info: [3] Stream (96) base dts set to 0

info: [3] Stream (97) base dts set to 0

info: avg transmit delay 26ms (min: 0, max: 236), avg rtt 35ms (min: 27, max: 172)
info: avg transmit delay 44ms (min: 0, max: 327), avg rtt 33ms (min: 26, max: 44)
info: avg transmit delay 37ms (min: 0, max: 331), avg rtt 33ms (min: 28, max: 41)
info: avg transmit delay 85ms (min: 0, max: 301), avg rtt 33ms (min: 27, max: 55)
info: avg transmit delay 27ms (min: 0, max: 302), avg rtt 33ms (min: 26, max: 70)
info: avg transmit delay 69ms (min: 0, max: 347), avg rtt 33ms (min: 27, max: 46)
info: avg transmit delay 39ms (min: 0, max: 347), avg rtt 33ms (min: 27, max: 46)
info: avg transmit delay 58ms (min: 0, max: 347), avg rtt 33ms (min: 27, max: 47)
info: Queue an average of 57.49 fps (2154.2 kbps), sent an average of 57.01 fps (2140.5 kbps), queue fullness 2, max frame size 163964
info: avg transmit delay 63ms (min: 0, max: 339), avg rtt 33ms (min: 25, max: 93)
info: avg transmit delay 55ms (min: 0, max: 359), avg rtt 33ms (min: 26, max: 63)
info: pulse-input: Stopped recording from 'alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo'
info: pulse-input: Got 11208 packets with 2540142 frames
info: pulse-input: Server name: 'pulseaudio 12.2'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo'
info: avg transmit delay 42ms (min: 0, max: 302), avg rtt 33ms (min: 27, max: 43)
info: avg transmit delay 70ms (min: 0, max: 388), avg rtt 33ms (min: 27, max: 51)
info: Queue an average of 58.33 fps (2174.1 kbps), sent an average of 58.00 fps (2170.9 kbps), queue fullness 1, max frame size 178878
info: avg transmit delay 85ms (min: 0, max: 375), avg rtt 33ms (min: 27, max: 50)
info: avg transmit delay 44ms (min: 0, max: 347), avg rtt 33ms (min: 27, max: 54)
info: [ftl stream: 'adv_stream'] ftl_stream_stop
info: [ftl stream: 'adv_stream'] Stream shutdown timeout reached (0 second(s))
info: [ftl stream: 'adv_stream'] User stopped the stream
info: Output 'adv_stream': stopping
info: Output 'adv_stream': Total frames output: 4162
info: Output 'adv_stream': Total drawn frames: 4291 (4305 attempted)
info: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 14 (0.3%)
info: [ftl stream: 'adv_stream'] ingest disconnect
info: [3] Exited Ping Thread

info: [3] Exited Send Thread

info: [3] Exited Audio Send Thread

info: ==== Streaming Stop ================================================
[libopus @ 0x564bf2e08bc0] 1 frames left in the queue on closing
info: [3] Exited Recv Thread

info: [3] Exited control_keepalive_thread

info: [3] Exited connection_status_thread
info: [3] light-saber disconnect

info: [ftl stream: 'adv_stream'] Disconnected from ingest with reason: ftl ingest disconnect api was called
 
Top