Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
Thank you Segfault. After going through the first steps, I encountered this error. How can I install "yasm" please? Code: jun@jun-laptop ~/work $ cd ffmpeg jun@jun-laptop ~/work/ffmpeg $ ./configure yasm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272

    Thank you Segfault. After going through the first steps, I encountered this error. How can I install "yasm" please?

    Code:
    jun@jun-laptop ~/work $ cd ffmpeg
    jun@jun-laptop ~/work/ffmpeg $ ./configure
    yasm not found, use --disable-yasm for a crippled build
    
    If you think configure made a mistake, make sure you are using the latest
    version from SVN.  If the latest version fails, report the problem to the
    ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.
    jun@jun-laptop ~/work/ffmpeg $ --disable-yasm
    bash: --disable-yasm: command not found
    jun@jun-laptop ~/work/ffmpeg $ ...
    nujinini
    Linux User #489667

  2. #12
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    Welcome to the world of building from source.

    You have to take care of dependencies. By yourself. Usually README and INSTALL files contain necessary information about packages that have to be installed for build to succeed.

  3. #13
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Quote Originally Posted by Segfault View Post
    Welcome to the world of building from source.

    You have to take care of dependencies. By yourself. Usually README and INSTALL files contain necessary information about packages that have to be installed for build to succeed.
    Thank you for your warm welcome

    Just joking! Anyway, OK I will go through the README and INSTALL files and see if I can make something out of it. Now if I just can find where those files are...

    Ciao!
    nujinini
    Linux User #489667

  4. #14
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    BTW, you can pass options to configure script,

    Code:
    ./configure --disable-yasm
    I wouldn't do that, I'd rather install yasm.

  5. #15
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    I found this in the INSTALL files and executed everything and it installed a long list of files:

    1) Type './configure' to create the configuration. A list of configure
    options is printed by running 'configure --help'.

    'configure' can be launched from a directory different from the FFmpeg
    sources to build the objects out of tree. To do this, use an absolute
    path when launching 'configure', e.g. '/ffmpegdir/ffmpeg/configure'.

    2) Then type 'make' to build FFmpeg. GNU Make 3.81 or later is required.

    3) Type 'make install' to install all binaries and libraries you built.
    (END)
    I executed first:

    Code:
    $ sudo apt-get instal yasm
    I think I got it already. Thank you!

    Code:
    jun@jun-laptop ~ $ ffmpeg --version
    FFmpeg version SVN-r25140, Copyright (c) 2000-2010 the FFmpeg developers
      built on Sep 18 2010 09:24:41 with gcc 4.3.3
      configuration: 
      libavutil     50.27. 0 / 50.27. 0
      libavcore      0. 9. 0 /  0. 9. 0
      libavcodec    52.89. 0 / 52.89. 0
      libavformat   52.78. 5 / 52.78. 5
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.39. 0 /  1.39. 0
      libswscale     0.11. 0 /  0.11. 0
    ffmpeg: missing argument for option '-version'
    jun@jun-laptop ~ $
    nujinini
    Linux User #489667

  6. #16
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,406
    If you run "./configure --help", it will show you which things can be enabled/disabled, options, flags, and all that good stuff. Anyway, glad to hear you got it going. Indeed, building from source is not for the faint at heart, but can give you a lot more options than installing normally. I usually go with the normal package install, until it either doesn't work, or the dependencies are such that I have to build from source in order to deal with them.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #17
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Indeed, building from source is not for the faint at heart,
    Whew!!!
    nujinini
    Linux User #489667

  8. #18
    Just Joined!
    Join Date
    Dec 2010
    Posts
    21
    Well that is too easy..for u of course.. But very helpful..If only i can get my ffmpeg up and running =( i'll post a subject named "Help a real newbie please" and tell my problem..Thanks for helping out people!

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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