[FFmpeg-user] ffmpeg only works for one user.

Leonard Bogard leonard at kcfchurch.org
Thu Aug 15 00:50:54 CEST 2013


On Wed, Aug 14, 2013 at 2:24 PM, Reindl Harald <h.reindl at thelounge.net>wrote:

>
>
> Am 14.08.2013 23:15, schrieb Leonard Bogard:
> > On Wed, Aug 14, 2013 at 1:34 PM, Reindl Harald <h.reindl at thelounge.net
> >wrote:
> >
> >> Am 14.08.2013 22:13, schrieb Leonard Bogard:
> >>> I followed the instructions at
> >>> http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide to install
> >> ffmpeg
> >>> but the only user it works on is the user I logged into to install it
> >>> with.  All users can have access to ffmpeg itself but when they try to
> do
> >>> anything it fails with "Unknown encoder 'libx264'".  I don't get that
> >> error
> >>> with the user it was installed with.
> >>>
> >>> How do I fix this?
> >>
> >> our crystal ball is broken
> >>
> >> so how and *where* did you compile/install x264?
> >> how are the permissions of any folder down to the x264 library?
> >>
> > I compiled it to the instructions laid out in the fore mentioned link
> > provided, therefore any permissions set on any folders/files are what you
> > would expect following the directions.
>
> i do not expect anything from Ubuntu instructions as Redhat user
>
> > Where would I find these folders of which you speak?  Are you talking
> about
> > the folders that the libraries/binaries are compiled in or the
> installation
> > location?  If you're referring to the places where they were downloaded
> and
> > compiled, then they all have the permissions of the user they were
> compiled
> > with. If you're talking about the install location, I have no idea, I
> don't
> > know where the general locations for installed binaries or libraries are
>
> if you have no idea where the binaries installed it will be hard to help
> how can anybody install self compiled things without knowing?
> does the referred instruction does not state this?
>
> if not why are you using a random instruction on the web without knowing
> what happens at your system?
>
> however, "ldd /path/to/the/ffmpeg/binary/ffmpeg" with the user
> where it works will list you linked libraries like below
>
> [harry at srv-rhsoft:~]$ ldd /usr/local/bin/ffmpeg
>         linux-vdso.so.1 =>  (0x00007fff493fe000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f86b1e5f000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f86b1c43000)
>         libvpx.so.1 => /lib64/libvpx.so.1 (0x00007f86b1989000)
>         libtheoraenc.so.1 => /lib64/libtheoraenc.so.1 (0x00007f86b175c000)
>         libtheoradec.so.1 => /lib64/libtheoradec.so.1 (0x00007f86b154c000)
>         libmp3lame.so.0 => /lib64/libmp3lame.so.0 (0x00007f86b1288000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007f86b0f87000)
>         libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f86b0d77000)
>         libz.so.1 => /lib64/libz.so.1 (0x00007f86b0b54000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f86b079c000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f86b207d000)
>         libogg.so.0 => /lib64/libogg.so.0 (0x00007f86b0595000)
>         libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f86b0385000)
>         librt.so.1 => /lib64/librt.so.1 (0x00007f86b017d000)
>
>
It's all root:root:

~$ whereis ffmpeg
ffmpeg: /usr/local/bin/ffmpeg
~$ ldd /usr/local/bin/ffmpeg
        linux-vdso.so.1 =>  (0x00007fff185ff000)
        libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1
(0x00007f73ed2da000)
        libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2
(0x00007f73ecfed000)
        libSDL-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
(0x00007f73ecd53000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f73eca57000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f73ec840000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f73ec637000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f73ec41a000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f73ec05b000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f73ebe56000)
        libpulse-simple.so.0 =>
/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007f73ebc52000)
        libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0
(0x00007f73eba0a000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
(0x00007f73eb6d4000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6
(0x00007f73eb4c3000)
        libcaca.so.0 => /usr/lib/x86_64-linux-gnu/libcaca.so.0
(0x00007f73eb1f8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f73ed4fc000)
        libpulsecommon-1.1.so => /usr/lib/x86_64-linux-gnu/
libpulsecommon-1.1.so (0x00007f73eaf99000)
        libjson.so.0 => /usr/lib/x86_64-linux-gnu/libjson.so.0
(0x00007f73ead91000)
        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
(0x00007f73eab4d000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
(0x00007f73ea92e000)
        libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2
(0x00007f73ea5bd000)
        libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5
(0x00007f73ea390000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007f73ea168000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0
(0x00007f73e9f5f000)
        libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1
(0x00007f73e9cf8000)
        libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0
(0x00007f73e9af1000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
(0x00007f73e98ee000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007f73e96e8000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1
(0x00007f73e94cd000)
        libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8
(0x00007f73e9283000)
        libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
(0x00007f73e8db4000)
        libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0
(0x00007f73e8b87000)
        libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0
(0x00007f73e8980000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
(0x00007f73e8764000)
lrwxrwxrwx 1 root root 17 Mar 29  2012 /usr/lib/x86_64-linux-gnu/libva.so.1
-> libva.so.1.3200.0
lrwxrwxrwx 1 root root 18 Jan 24  2013
/usr/lib/x86_64-linux-gnu/libasound.so.2 -> libasound.so.2.0.0
lrwxrwxrwx 1 root root 20 Jan 27  2012
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.3
lrwxrwxrwx 1 root root 12 Jan 28  2013 /lib/x86_64-linux-gnu/libm.so.6 ->
libm-2.15.so
lrwxrwxrwx 1 root root 15 Nov 10  2011 /lib/x86_64-linux-gnu/libz.so.1 ->
libz.so.1.2.3.4
lrwxrwxrwx 1 root root 13 Jan 28  2013 /lib/x86_64-linux-gnu/librt.so.1 ->
librt-2.15.so
lrwxrwxrwx 1 root root 18 Jan 28  2013
/lib/x86_64-linux-gnu/libpthread.so.0 -> libpthread-2.15.so
lrwxrwxrwx 1 root root 12 Jan 28  2013 /lib/x86_64-linux-gnu/libc.so.6 ->
libc-2.15.so
lrwxrwxrwx 1 root root 13 Jan 28  2013 /lib/x86_64-linux-gnu/libdl.so.2 ->
libdl-2.15.so
lrwxrwxrwx 1 root root 24 May 28 12:24
/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 -> libpulse-simple.so.0.0.3
lrwxrwxrwx 1 root root 18 May 28 12:24
/usr/lib/x86_64-linux-gnu/libpulse.so.0 -> libpulse.so.0.13.5
lrwxrwxrwx 1 root root 15 May 29 14:31
/usr/lib/x86_64-linux-gnu/libX11.so.6 -> libX11.so.6.3.0
lrwxrwxrwx 1 root root 16 May 28 06:38
/usr/lib/x86_64-linux-gnu/libXext.so.6 -> libXext.so.6.4.0
lrwxrwxrwx 1 root root 18 Mar 10  2012
/usr/lib/x86_64-linux-gnu/libcaca.so.0 -> libcaca.so.0.99.17
-rw-r--r-- 1 root root 385240 May 28 12:24 /usr/lib/x86_64-linux-gnu/
libpulsecommon-1.1.so
lrwxrwxrwx 1 root root 16 Aug 12  2011
/usr/lib/x86_64-linux-gnu/libjson.so.0 -> libjson.so.0.0.1
lrwxrwxrwx 1 root root 18 Jun 13 07:55 /lib/x86_64-linux-gnu/libdbus-1.so.3
-> libdbus-1.so.3.5.8
lrwxrwxrwx 1 root root 15 May 27 14:13
/usr/lib/x86_64-linux-gnu/libxcb.so.1 -> libxcb.so.1.1.0
lrwxrwxrwx 1 root root 17 Oct 18  2011 /lib/x86_64-linux-gnu/libslang.so.2
-> libslang.so.2.2.4
lrwxrwxrwx 1 root root 18 Nov 18  2011
/lib/x86_64-linux-gnu/libncursesw.so.5 -> libncursesw.so.5.9
lrwxrwxrwx 1 root root 15 Nov 18  2011 /lib/x86_64-linux-gnu/libtinfo.so.5
-> libtinfo.so.5.9
lrwxrwxrwx 1 root root 16 Aug 12  2011 /lib/x86_64-linux-gnu/libwrap.so.0
-> libwrap.so.0.7.6
lrwxrwxrwx 1 root root 20 Jan 25  2012
/usr/lib/x86_64-linux-gnu/libsndfile.so.1 -> libsndfile.so.1.0.25
lrwxrwxrwx 1 root root 19 Aug 12  2011
/usr/lib/x86_64-linux-gnu/libasyncns.so.0 -> libasyncns.so.0.3.1
lrwxrwxrwx 1 root root 15 Nov  9  2011
/usr/lib/x86_64-linux-gnu/libXau.so.6 -> libXau.so.6.0.0
lrwxrwxrwx 1 root root 17 Nov  9  2011
/usr/lib/x86_64-linux-gnu/libXdmcp.so.6 -> libXdmcp.so.6.0.0
lrwxrwxrwx 1 root root 14 Jan 28  2013 /lib/x86_64-linux-gnu/libnsl.so.1 ->
libnsl-2.15.so
lrwxrwxrwx 1 root root 16 Oct 17  2011
/usr/lib/x86_64-linux-gnu/libFLAC.so.8 -> libFLAC.so.8.2.0
lrwxrwxrwx 1 root root 21 Feb 20  2012
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 -> libvorbisenc.so.2.0.8
lrwxrwxrwx 1 root root 18 Feb 20  2012
/usr/lib/x86_64-linux-gnu/libvorbis.so.0 -> libvorbis.so.0.4.5
lrwxrwxrwx 1 root root 15 Aug 12  2011
/usr/lib/x86_64-linux-gnu/libogg.so.0 -> libogg.so.0.7.1
lrwxrwxrwx 1 root root 17 Jan 28  2013 /lib/x86_64-linux-gnu/libresolv.so.2
-> libresolv-2.15.so
lrwxrwxrwx 1 root root 32 Jan 28  2013 /lib64/ld-linux-x86-64.so.2 ->
/lib/x86_64-linux-gnu/ld-2.15.so
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x 24 root root   28672 Aug 13 22:48 x86_64-linux-gnu
drwxr-xr-x  3 root root  12288 Aug 13 21:05 x86_64-linux-gnu


More information about the ffmpeg-user mailing list