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

littlebat dashing.meng at gmail.com
Thu Aug 15 04:42:03 CEST 2013


On Wed, 14 Aug 2013 15:50:54 -0700
Leonard Bogard <leonard at kcfchurch.org> wrote:

> 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

No, it isn't the ffmpeg you installed follow the instruction at
http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide . I have a
glance at this instruction, the correct ffmpeg here should
be: /home/INSTALL_USER/bin/ffmpeg .

So, try "/home/INSTALL_USER/bin/ffmpeg" when login with
another user. 


More information about the ffmpeg-user mailing list