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

libx264 codec not available in ffmpeg stream settings #54

Closed jdloft closed 4 years ago

jdloft commented 4 years ago

In the drop down for video codec in the recording section for streaming a video via ffmpeg, the libx264 codec is missing. I have installed the ffmpeg, ffmpeg-full and openh264 runtimes.

The codec is present in the version distributed by RPM Fusion.

TingPing commented 4 years ago

I have Encoder: x264, is there somewhere else you refer to? The library is certainly there.

jdloft commented 4 years ago

This is when advanced is selected as the output mode. In simple I see "Software (x264)."

This is a screenshot of the version in RPM Fusion: obs-rpmfusion and this is a screenshot of the same page with the version from the Flatpak: obs-flatpak

eszlari commented 4 years ago

I guess obs has it's own x264 wrapper, but can also use ffmpeg.

Why do you want to encode x264 through ffmpeg?

jdloft commented 4 years ago

For streaming over an mpegts stream. I'm not familiar with the process these Flatpaks are built. Do we build a separate ffmpeg lib for this Flatpak separate from the ffmpeg runtime? If so it needs to be configured to have the x264 lib included at build time.

jdloft commented 4 years ago

Just got the update. Thanks for the help, much appreciated.