Question / Help PPA for Ubuntu 14.10?

vitorgatti

New Member
Any ETA for when it's going to be available?
I just upgraded my Ubuntu from 14.04 to 14.10 and the PPA doesn't work anymore... even if I force the 14.04 repositories, it gives me a lot of dependency errors.

Thanks in advance
 

dodgepong

Administrator
Community Helper
The current PPA builds off of Jon Severinsson's FFmpeg PPA, which does not have a 14.10 version available yet. If you find a FFmpeg PPA that allows OBS to compile on 14.10, do share.
 
i suppose i'll check tonight in a VM to help out. i don't run 14.10 currently, I only have 14.04 and arch installed on metal.
 
It does not build when using that ffmpeg ppa i listed above. Here's the cmake errors:
Code:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find FFMpeg (missing: FFMPEG_AVFORMAT_LIBRARIES
  FFMPEG_AVFORMAT_INCLUDE_DIRS avformat swscale swresample)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindFFMpeg.cmake:135 (find_package_handle_standard_args)
  libobs/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ubu/obs-studio/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubu/obs-studio/build/CMakeFiles/CMakeError.log".
CMakeOutput.log = http://paste.ubuntu.com/8863009/
CMakeError.log = http://paste.ubuntu.com/8863016/

And here's ffmpeg --version ouput
Code:
ffmpeg version 2.4.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov  2 2014 20:49:55 with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
  configuration: --prefix=/opt/ffmpeg --libdir=/opt/ffmpeg/lib/ --enable-shared --enable-avresample --disable-stripping --enable-gpl --enable-version3 --enable-runtime-cpudetect --build-suffix=.ffmpeg --enable-postproc --enable-x11grab --enable-libcdio --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libfaac --enable-libvo-aacenc --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk_aac --enable-libopus --enable-pthreads --enable-zlib --enable-libvpx --enable-libfreetype --enable-libpulse --enable-debug=3
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
 
i believe we can get this to compile IF we edit the source code to look in 1 additional location for the ffmpeg libraries, which is
--prefix=/opt/ffmpeg --libdir=/opt/ffmpeg/lib/

at least that's where they get put IF obs-studio choose's the above ffmpeg ppa that i found. Is that an easy fix Jim or any other dev? Couldn't this file be edited to look in /opt/?
https://github.com/jp9000/obs-studio/blob/master/cmake/Modules/FindFFMpeg.cmake

I believe i know what to edit to be able to compile this and tell Osirez how to compile it but if you want an obs-studio ppa for ubuntu 14.10 and it will utilize the above ffmpeg ppa than to get this all automated the source code would need to look in /opt/ i believe. I admit, i'm not a coder so may be completely full of shit but i do try. ;)
 

admalledd

Member
I don't know about adding/editing the .cmake file (I am still rather new to that whole area, projects I work on its always someone else’s job to set up the build tools) but try setting some environment variables to point to /opt/ffmpeg:

Code:
export PATH=/opt/ffmpeg/bin:$PATH
export LD_LIBRARY_PATH=/opt/ffmpeg/lib
export CMAKE_INCLUDE_PATH=/opt/ffmpeg/include
export CMAKE_PREFIX_PATH=/opt/ffmpeg/
cmake .. #or other path that you use with cmake
make -j4

note that like I said in the other thread you will also have to tell obs where those files are, so writing a quick launching script that re-injects those variables then launches obs should work.
 
Last edited:
that would be awesome. I just tried admalledd's idea by first exporting all those path's and library path's and obs-studio still give's me the same error about not finding ffmpeg so I have no idea what or how you "set some environment variables" to point to /opt/ffmpeg. I copied and pasted every command he listed and cmake still returns the same error. THis is within a VM, does that matter?
 
apparently the ffmpeg ppa that i listed above installs the libraries as libavcodec.ffmpeg.so, libswscale.ffmpeg.so, and libswresample.ffmpeg.so. At this point I have no idea what i'm doing and since Faruton mentioned above he's going to package his own ffmpeg ppa for obs-studio I'm abandoning ship. LOL it's over my head.
 

JPL

Member
Any word on this? I've upgraded to 14.10 but can't install OBS using the PPAs that work in 14.04...
 
you need to compile it yourself currently which would mean you need to compile ffmpeg yourself. I personally would stick with 14.04 since it's an LTS release anyway but that's just me. Good luck, if you need help compiling it I can help with that.
 
FFMpeg is about to come back in Ubuntu 15.04 alongside LibAV. (following the FFMpeg comeback in Debian)

To avoid conflicts between those 2, all FFMpeg-related libraries will be renamed *libname*-ffmpeg instead of *libname* (ex: libswresample-ffmpeg.so.1 instead of libswresample.so.1) Take a look at this PPA to see the naming changes.

I think that's maybe why OBS compilation on Ubuntu 14.10 doesn't find FFMpeg libraries: it's expecting the old-named ones from a backport version of FFMpeg...
 
Last edited:
all ppa adresses are correct, i used this guide before.
it went better this time but now i says it cant find obs-studio(ffmpeg is installed now)

FFMpeg is about to come back in Ubuntu 15.04 alongside LibAV. (following the FFMpeg comeback in Debian)

To avoid conflicts between those 2, all FFMpeg-related libraries will be renamed *libname*-ffmpeg instead of *libname* (ex: libswresample-ffmpeg.so.1 instead of libswresample.so.1) Take a look at this PPA to see the naming changes.

I think that's maybe why OBS compilation on Ubuntu 14.10 doesn't find FFMpeg libraries: it's expecting the old-named ones from a backport version of FFMpeg...
can you please link me to the resolved issue because last I read the debian security team still didn't accept both packages per this statement taken right from the mailing list, "the security team is not prepared to deal with both libav and ffmpeg at the same time. That effectively forces a choice of
either libav, or ffmpeg, and not both."

and if you keep reading I see this, "
The release team is likely to let the people involved in multimedia foo
fight it out among themselves and pick a winner. We're not going to
ship both and hand that mess over to the security team."

so i'm not sure what's going to occur in 15.04 since Debian doesn't even know what they're doing for Jessie
 
Last edited:
Top