Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 13.10 Compile #54

Closed
aikar opened this issue Apr 4, 2014 · 21 comments
Closed

Ubuntu 13.10 Compile #54

aikar opened this issue Apr 4, 2014 · 21 comments

Comments

@aikar
Copy link

aikar commented Apr 4, 2014

Based on the other issue, I see Linux IS suppose to be somewhat working and would like to try it.

So I just did a lot of poking on it and came up with this so far for instructions on Ubuntu 13.10 with the ffmpeg repo

sudo apt-get install ffmpeg libswscale-dev libswresample-dev libavformat-dev qt5-qmake qt5-default libxinerama-dev libx264-dev libpulse-dev

Then following mac advice of cmbuild, cmake .. now finishes.

However, on make I now get this:

https://gist.github.com/aikar/63819ef1410b847160de


Now when I edit the make file to remove implicit-function-declaration as an error, it gets past it but throws more errors:

https://gist.github.com/aikar/5fde8293f7773b32343a

Can you provide any assistance?

@BtbN
Copy link
Contributor

BtbN commented Apr 4, 2014

The ffmpeg(which isn't even ffmpeg, but libav) version of any current ubuntu release is not compatible with obs. It's only known to work with 2.1, 2.2 and the current master.

@BtbN
Copy link
Contributor

BtbN commented Apr 4, 2014

Qt5 is not related at all to this issue.

@computerquip
Copy link
Contributor

I don't know what ffmpeg repository you have or if the official repository aliases ffmpeg with libav. The only PPA repo I see is samrog131's at this time.

I don't use Ubuntu so I apologize if this is a bad recommendation.

@aikar
Copy link
Author

aikar commented Apr 4, 2014

I am using ppa:jon-severinsson/ffmpeg

Initial error is about libswresample-dev - I got the cmake happy, but the compile is not happy.

@computerquip
Copy link
Contributor

severinsson is horribly outdated (by design actually). You need to use a PPA that's more up to date or compile it yourself. Again, a quick google result brings samrog131's PPA: https://launchpad.net/~samrog131/+archive/ppa

@jacobmischka
Copy link

I thought I read something about severinsson's PPA being updated with 14.04 finally, because of some revamps to how libav works or something like that. I'm not sure. I don't think it's supposed to get anywhere near git version, but I think it's supposed to be a huge improvement if I remember correctly.

@computerquip
Copy link
Contributor

Looking at this page, which is the header of the latest version distributed by severinsson, it appears to define swr_get_delay: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libswresample/swresample.h;h=4ba008e728ca80eb939ff02be0116d577f6c5d7b;hb=16509d3a286c55f9149c0a98e3d7200ed6d2ee16

So, I can only imagine that you do not have the latest version (even if you're using severinsson's repo) or you don't have ffmpeg at all. I'm unfortunately not familiar enough with Aptitude to give instructions on how to query information on the package to make sure but I'm sure a google around would do some good.

@computerquip
Copy link
Contributor

I'm going to close this due to it being a non-issue. If anyone thinks this is an issue with obs-studio, please re-open it.

@jacobmischka
Copy link

I'm not saying this is an issue, but I'd like to ask for a bit of help if possible. I'm also on Ubuntu 13.10, and after installing all the packages listed in the original post, cmake still isn't happy with me: https://gist.github.com/Jacob-Mischka/937a614c7bad32d85496

I do have severinsson's ffmpeg installed, though I also have a git version compiled and working, just not installed that can be used instead if that is the issue. Though since my cmake seems to fail differently than aikar's did, I don't really know what to do because I'm stupid. I believe the last errors just mean I need to set some environment variables, which isn't a real issue (though I don't know exactly why cmake isn't finding them itself), but I have no idea which package to install to fix the first issue, I couldn't find any qt x11 extras packages, and googling around didn't seem to be successful.

Again, sorry for being stupid.

@Jhonthe7th
Copy link

Hey Mischka, for the last three errors you can just manually Pass the locations to cmake. Cmake -DFFMPEG_INCLUDE_DIR=yourpath no ideja about the Qt stuff tough.

@jacobmischka
Copy link

Thanks. I've learned that that qt library hasn't been added to the saucy repos, only trusty. So I'll have to wait until Thursday since I don't feel like updating to the beta on my desktop until it's released.

@jacobmischka
Copy link

Yeah I know, but that's a lot of work to do one test stream for zero people and then not touch it again for months.

@ghost
Copy link

ghost commented Apr 13, 2014

How about you just wait until it's ready for public testing, then? obs-studio is still under heavy development, and I doubt you would have much use for it at the moment.

@jacobmischka
Copy link

I was planning on doing so, and probably will. Just thought I'd give it a shot today for funsies.

@ubuntuaddicted
Copy link

I''m interested in using it within Xubuntu 13.10 but cmake doesn't even run for me at all. How do I compile obs-studio within xubuntu 13.10?

@jsuereth
Copy link

Just a question, would it be possible to shim between libav + ffmpeg? Ubuntu seems hellbent on dropping ffmpeg for avconv, and it seems like raining on that parade will cause a lot of pain for ubuntu users. I'm more than willing to help write such a shim with direction, if it helps.

@ubuntuaddicted
Copy link

Can we get some help in regards to compiling on Ubuntu please. Or maybe an update to how OBS-studio is coming for Linux. Currently there's simplescreenrecorder and screenstudio for Linux livestreaming but they're missing things like scenes, scene adjustment etc etc so I'm really looking Forward to OBS-studio

@Jack0r
Copy link
Contributor

Jack0r commented May 21, 2014

Sorry, but why is it that everyone has to bug the developers constantly and ask for news instead of just checking the mentioned topics as well as the github commits on here?
Jim constantly updates and posts to the redux thread: https://obsproject.com/forum/threads/obs-redux.7736/page-16#post-79469
And as mentioned you can even check each commit to obs-studio yourself and see what has been added. As soon as there is a test version tailored to Linux users there will be a notice and release version on github I guess. So there is really no need to steal the developers time on twitter, the support chat, over e-mail AND here....

@BtbN
Copy link
Contributor

BtbN commented May 21, 2014

obs-studio will most likely only support ubuntu from version 14.04 onwards.
Earlier version come with a horribly outdated libav/ffmpeg version, which would be far too much effort to support. Even the version in 14.04 is quite old, but still works.
For 14.04, i created a test ppa which i update to the latest master regulary: https://launchpad.net/~btbn/+archive/obs-studio/

@BtbN
Copy link
Contributor

BtbN commented May 21, 2014

That's simply a plain lie which was added to the first versions of libav that shipped with debian and ubuntu.

@BtbN
Copy link
Contributor

BtbN commented May 21, 2014

This message refers to the ffmpeg command line utility which still comes with libav. It's very confusing and was removed later for that reason, because it gave people the idea that the ffmpeg project itself was deprecated. But it only refers to the ffmpeg cli utility in libav, which is to be replaced with their own avconv util.

Gol-D-Ace pushed a commit to Gol-D-Ace/obs-studio that referenced this issue Feb 20, 2021
WizardCM pushed a commit to WizardCM/obs-studio that referenced this issue Feb 13, 2022
obs-vst.cpp: Add Requested VST Path in github obsproject#53
notr1ch pushed a commit to notr1ch/obs-studio that referenced this issue Aug 16, 2022
kc5nra pushed a commit to amazon-contributing/upstreaming-to-obs-studio that referenced this issue Jan 13, 2024
…or-keyframe-alignment

libobs: Track keyframe alignment for simulcast encoder groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants