Find the answer to your Linux question:
Results 1 to 9 of 9
Hi , I'm trying to install avconv, but I'm pretty new so I need some help, I have been following this guide(primarily): ffmpeg - How to compile avconv with libx264 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    47

    How to install "Avconv" error message!


    Hi , I'm trying to install avconv, but I'm pretty new so I need some help, I have been following this guide(primarily):

    ffmpeg - How to compile avconv with libx264 on Ubuntu 12.04.? - Stack Overflow

    1.) Make a directory avconv-source

    mkdir avconv-source

    2.) Download and install the x264 library

    cd ~/avconv-source
    git clone git://git.videolan.org/x264.git x264
    cd x264
    sudo ./configure --enable-static
    sudo make
    sudo make install

    3.) Download the avconv source

    cd ~/avconv-source
    git clone git://git.libav.org/libav.git avconv
    cd avconv
    sudo ./configure
    sudo ./configure --enable-gpl --enable-libx264
    sudo make
    sudo make install

    and now you can execute

    avconv -i test.mov -c:v libx264 -c:a copy test.mp4

    .................................................. .................................

    I get to part 3

    sudo make

    in the end it gives this message:

    PHP Code:
    (sudo make).....
    LD    avconv
    libavcodec
    /libx264.c:441errorundefined reference to 'x264_encoder_open_135'
    collect2errorld returned 1 exit status
    make
    : *** [avconvError 1
    nmfd
    @nmfd ~/avconv-source/avconv sudo make install
    INSTALL    doc
    /avconv.1
    INSTALL    doc
    /avplay.1
    INSTALL    doc
    /avprobe.1
    INSTALL    doc
    /avserver.1
    LD    avconv
    libavcodec
    /libx264.c:441errorundefined reference to 'x264_encoder_open_135'
    collect2errorld returned 1 exit status
    make
    : *** [avconvError 1 
    Thanks,



    Wrenchman

  2. #2
    Linux Newbie user-f11's Avatar
    Join Date
    Feb 2011
    Location
    Sofia, BG
    Posts
    185
    Don't compile it from source. Open your package installer and see whether you have it in the repo list.
    In the search box of Add/Remove Software write: avconv
    Search it also from the terminal: sudo apt-cache search avconv
    or s.th.

  3. #3
    Just Joined!
    Join Date
    May 2013
    Posts
    47
    PHP Code:
    "Open your package installer"would that be software manager
    mintInstall 7.4.8 software manager:

    avconv, not present.

    Synaptic package manager 0.80~exp2raring1

    Installed:
    x264
    video encoder for the H.264/MPEG-4 AVC standard

    libx264-123
    x264 video coding library

    libx264-dev
    development files for libx264

    libav-tools
    Multimedia player, server, encoder and transcoder

    ffmpeg
    Multimedia player, server, encoder and transcoder (transitional package)

    python-audioread
    Backend-agnostic audio decoding Python package

    winff
    graphical video and audio batch converter using ffmpeg or avconv

    winff-gtk2
    GTK variant of winff

    winff-dbg
    winff debugging symbols

    winff-doc
    winff documentation

    sudo apt-cache search avconv
    and s.th. output attached

    Thanks,



    Wrenchman
    Attached Files Attached Files

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie user-f11's Avatar
    Join Date
    Feb 2011
    Location
    Sofia, BG
    Posts
    185
    I don't understand s.th. If you have installed the winff graphic converter with ffmpeg what do you need avconv for?

  6. #5
    Just Joined!
    Join Date
    May 2013
    Posts
    47
    oh I'm sorry, I've been waisting your time, I need a video
    software that can edit cut paste convert and embed subtitles
    ect. all working with LM15

    Thanks,



    Wrenchman

  7. #6
    Linux Newbie user-f11's Avatar
    Join Date
    Feb 2011
    Location
    Sofia, BG
    Posts
    185
    Quote Originally Posted by Wrenchman View Post
    I need a video
    software that can edit cut paste convert and embed subtitles
    ect.
    All these things can be done in 'emergency mode' with the text editor.
    If you mark up the launching times of each subtitle, usually the duration of a subtitle is 3.5 to 5 sec.
    Place the text of the sound track in a text file, rip it into subtitles, write down the start up times and place duration from 3.5 to 5 sec at your discretion, depending on the case (be sure it is before the next subtitle). Save the file with the name of the video and .srt extention (SubRipped Text format).
    As for merging subtitles into the video you can use ffmpeg without any problems.
    As you may know merging subtitles into the video is not an idea of first smartness ... for the video cannot be used any more with other subtitles for example ... or back without subtitles.

  8. #7
    Just Joined!
    Join Date
    May 2013
    Posts
    47
    I don't actually have FFmpeg, what I have is a (transitional package)

    I'm downloading it now from:
    git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

    what I did have was (still have it) the FF Multi Converter
    but whenever I pressed convert, it gave an error message:

    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

    That is why I asked for avconv, see!?

    OK, now the download has finished, I looked for the program in the MENU, nothing, so I tried to execute ffmpeg from terminal, and it gives me this message:

    nmfd@nmfd ~ $ ffmpeg
    ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers
    built on Mar 30 2013 22:20:06 with gcc 4.7.2
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'

    .................................................. .................................

    I'm new, I don't quite get it, I need help, pls.

    Thanks,



    Wrenchman

  9. #8
    Linux Newbie user-f11's Avatar
    Join Date
    Feb 2011
    Location
    Sofia, BG
    Posts
    185
    Quote Originally Posted by Wrenchman View Post
    I'm new, I don't quite get it, I need help, pls.
    If you need help, write in the terminal:
    $ ffmpeg --help
    Actually you can test what you have. Download from YouTube for example some small file in .mp4 and try to convert it with ffmpeg into .mpg
    You may use for example this command:
    $ ffmpeg -i input.mp4 -target pal-dvd output.mpg

    If the file is converted successfully write it on a CD and test it on a DVD player ... and also on the movie player on the computer.
    If you are missing some libraries you may patch the ffmpeg from the repo list. In the search box of the package installer write: ffmpeg

    Quote Originally Posted by Wrenchman View Post
    ... avconv
    Open the package installer and write in the search box there: avconv
    ... to see whether you have it into the repo list. If you find the packages - install what you like there.
    Last edited by user-f11; 08-07-2013 at 09:22 PM. Reason: syntax

  10. #9
    Just Joined!
    Join Date
    May 2013
    Posts
    47
    I'm using winff, cinelerra, gnome subtitles and audacity. It seems to work for me now.

    Thanks,



    Wrenchman

Posting Permissions

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