flathub / com.obsproject.Studio

This repository is no longer used to build OBS. Issues should be reported at https://github.com/obsproject/obs-studio
https://github.com/obsproject/obs-studio
29 stars 19 forks source link

GNOME Screen cast not work #30

Closed fastoslinux closed 4 years ago

fastoslinux commented 5 years ago
[fedorasilverblue@localhost ~]$ flatpak run com.obsproject.Studio 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /app/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/pt-BR.ini
Attempted path: /app/share/obs/obs-studio/locale/pt-BR.ini
info: Using preferred locale 'pt-BR'
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /app/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz
info: CPU Speed: 1085.752MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 5852MB Total, 957MB Free
info: Kernel Version: Linux 5.0.5-300.fc30.x86_64
info: Distribution: Flatpak KDE Runtime 5.12
info: Window System: X11.0 - vendor string: Fedora Project - vendor release: 12004000
info: Portable mode: false
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 23.0.2-modified (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 44100
    speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Intel Open Source Technology Center Mesa DRI Intel(R) Ivybridge Mobile 
info: OpenGL loaded successfully, version 4.2 (Core Profile) Mesa 18.3.5, shading language 4.20
info: ---------------------------------
info: video settings reset:
    base resolution:   1366x768
    output resolution: 1364x768
    downscale filter:  Lanczos
    fps:               20/1
    format:            NV12
    YUV mode:          601/Partial
info: NV12 texture support not available
info: Audio monitoring device:
    name: Padrão
    id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente

info: FFMPEG VAAPI supported
info: ---------------------------------
info:   Loaded Modules:
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-decklink.so
info:     linux-capture.so
info:     image-source.so
info:     gnome-screencast.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info: ---------------------------------
info: ==== Startup complete ===============================================
error: Service '' not found
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 12.2-rebootstrapped'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
info: pulse-input: Server name: 'pulseaudio 12.2-rebootstrapped'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.pci-0000_00_1b.0.analog-stereo'
info: Switched to scene 'Cena'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Cena':
info:     - source: 'GNOME Screen Cast' (gnome-screencast-source)
info: ------------------------------------------------
error: Socket already exists: /run/user/1000/obs-gnome-screencast/shm.sock
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /app/share/obs/obs-studio/images/overflow.png
info: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Desktop Áudio)

info: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)

result black screen videos Captura de tela de 2019-04-15 16-39-27

TingPing commented 5 years ago

error: Socket already exists: /run/user/1000/obs-gnome-screencast/shm.sock

Try closing the app and deleting that socket?

fastoslinux commented 5 years ago

erro: O soquete já existe: /run/user/1000/obs-gnome-screencast/shm.sock

Tente fechar o aplicativo e excluir esse soquete?

i tried not work

BrainBlasted commented 5 years ago

I'm also getting the same issue.

GeorgesStavracas commented 4 years ago

Doesn't work for me, and that's why I created https://gitlab.gnome.org/feaneron/obs-xdg-portal which we should use instead.

TingPing commented 4 years ago

@GeorgesStavracas If you have the time to make a PR adding it I'd appreciate it, otherwise I'll add it to my todo list.

GeorgesStavracas commented 4 years ago

Sure. I still need to push a tag to it though