Topic: FFMPEG error

Okay now i got new error



ffmpeg is not found
/usr/local/bin/ffmpeg: error while loading shared libraries: libavdevice.so.53: cannot open shared object file: No such file or directory

any easy way to fix this?

Re: FFMPEG error

try ldconfig command

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

3 (edited by jakesully 2012-01-07 14:32:41)

Re: FFMPEG error

well when i type that cmd it doesent do anything hmm

i iven done yum install ldconfig and it gives me it's allready installed and up to date hmm but cmd it self doesent work.

and if i do sh /sbin/ldconfig i get

/sbin/ldconfig: /sbin/ldconfig: cannot execute binary file

Re: FFMPEG error

I think there is some issue with the loader   run the following command

find  / -iname "libavdevice.so*"

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

Re: FFMPEG error

okay result is


find: /var/named/chroot/proc/7610/net: Invalid argument
find: /var/named/chroot/proc/7611/net: Invalid argument
/usr/src/ffmpegscript/ffmpeg/libavdevice/libavdevice.so.53
/usr/src/ffmpegscript/ffmpeg/libavdevice/libavdevice.so
/usr/local/cpffmpeg/lib/libavdevice.so.53.4.100
/usr/local/cpffmpeg/lib/libavdevice.so.53
/usr/local/cpffmpeg/lib/libavdevice.so
find: /proc/7610/net: Invalid argument
find: /proc/7611/net: Invalid argument

Re: FFMPEG error

It looks like this lib is already installed on    /usr/local/cpffmpeg/lib/libavdevice.so.53   but the loader is no t loading it  what is the results of the following

# cat /etc/ld.so.conf.d/ffmoeginsaller.conf    ( recheck the file name )
# ldd  /usr/local/cpffmpeg/bin/ffmpeg

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

7 (edited by jakesully 2012-01-07 18:06:57)

Re: FFMPEG error

okay i did first cmd but all i get is this

cat: etc/ld.so.conf.d/ffmpeginstall.so.conf: No such file or directory

iven i corrected the file name hmm still gives me that message but file is there hmm


nvm

okay i got this from first command


/usr/local/cpffmpeg/lib


and i got this on second command

linux-vdso.so.1 =>  (0x00007fff7c32f000)
        libavdevice.so.53 => not found
        libavfilter.so.2 => not found
        libavformat.so.53 => not found
        libavcodec.so.53 => not found
        libpostproc.so.51 => not found
        libswresample.so.0 => not found
        libswscale.so.2 => not found
        libavutil.so.51 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003309e00000)
        libm.so.6 => /lib64/libm.so.6 (0x000000330a200000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003309600000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003309200000)

Re: FFMPEG error

remote the folder   /usr/local/cpffmpeg   and reinstall it again. It looks like a lot of   "so" is missing  in  the ffmpeg  , so it won't work well.

Syslint Technologies | 24x7 Server Management | Outsourced Support | Software Development - (0091) 471-3273-211

9 (edited by jakesully 2012-01-09 18:44:50)

Re: FFMPEG error

like in wat way can i remote that folder? since i added /usr/local/lib line to ld.conf or w.e that file name, is for mp4box to work but if i remove it ffmpeg will work but then mp4box will end up giving error cannot load a .so file or so hmm