Results 1 to 6 of 6

Thread: Need help with ffmpeg installation

  1. #1
    Join Date
    Apr 2009
    Beans
    42

    Need help with ffmpeg installation

    Hi all, I am using Ubuntu Hardy. After I installed all the dependencies and ffmpeg, I got a problem of running. Initially the error was "ffmpeg: error while loading shared libraries: libavformat.so.52: cannot open shared object file: No such file or directory." After following the thread at http://ubuntuforums.org/showthread.php?t=903103, I solved the problem using the follwoing command
    export LD_LIBRARY_PATH=/usr/local/lib/

    But it is not long lasting solution. Each time i close my terminal and open again the problem comes. There is also another lasting solution (the last comment by verysimple) on the same thread but then I got the following error:
    "ffmpeg: symbol lookup error: ffmpeg: undefined symbol: sws_getContext"

    But again the above export command still solves the problem. So, what shall I do to fix this problem.

    Thank you,.

    Zelalem

  2. #2
    Join Date
    Apr 2008
    Location
    Bangalore, India
    Beans
    250
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need help with ffmpeg installation

    I have never had this problem with ffmpeg.

    Anyway just put

    Code:
     export LD_LIBRARY_PATH=/usr/local/lib/
    at the end of your .bashrc file (located in your home folder). You can open the .bashrc file with any text editor. Save the file and close it after adding the above line, and then do

    Code:
    source ~/.bashrc
    This will make sure that the LD_LIBRARY_PATH variables is set to /usr/local/lib/.

  3. #3
    Join Date
    Apr 2009
    Beans
    42

    Re: Need help with ffmpeg installation

    Hi StumbleUpOn, yes it has solved my problem.

    Thank you very much.

    Best regards,

    Zelalem

  4. #4
    Join Date
    Sep 2006
    Beans
    3,529

    Re: Need help with ffmpeg installation

    I recommend the following guide when installing FFmpeg on Ubuntu. It is well tested and kept up to date. Admittedly, I am tooting my own horn here.

    HOWTO: Install and use the latest FFmpeg and x264

  5. #5
    Join Date
    Apr 2009
    Beans
    42

    Re: Need help with ffmpeg installation

    Hi FakeOutdoorsman, thank you for the great work. It is a very nice guide.

    Best regards,

    Zelalem

  6. #6
    Join Date
    Dec 2007
    Location
    Birmingham, England
    Beans
    181
    Distro
    Ubuntu Development Release

    Re: Need help with ffmpeg installation

    Thanks guys, the solution at the top worked well for me!
    I'm on The Web | Flickr | tumblr
    My computer: Dell Studio 1555: Pentium Dual Core T4300(2.1GHz,800MHz,1MB), 4096MB 800MHz DDR2 Dual Channel, 512 MB ATI Mobility RADEON HD 4570
    Please don't send PM's asking for help. Use the forum instead

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •