Page 97 of 241 FirstFirst ... 47879596979899107147197 ... LastLast
Results 961 to 970 of 2402

Thread: HOWTO: Install and use the latest FFmpeg and x264

  1. #961
    Join Date
    Oct 2009
    Beans
    109
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I'm new with using FFmpeg to capture live screen. Where does it save the video at? I tried looking different folders and can't seem to find it.

  2. #962
    Join Date
    Sep 2006
    Beans
    3,713

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by demonic_crow View Post
    I'm new with using FFmpeg to capture live screen. Where does it save the video at? I tried looking different folders and can't seem to find it.
    FFmpeg will save your file where you tell it to save. There is no default save location, and if you just give an output file name it will save to your current directory. Can you show your FFmpeg command? I might be able to tell you where it saved.

  3. #963
    Join Date
    Oct 2009
    Beans
    109
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I found it thanks. I notice my cursor have a shadow. Is there a way to not have it liked that. Also the sound didnt seem to work.

    ffmpeg -f alsa -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv

    ffmpeg -i output.mkv -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre hq -crf 22 -threads 0 our-final-product.mp4

  4. #964
    Join Date
    Jun 2007
    Location
    Rio de Janeiro - Brasil
    Beans
    319
    Distro
    Kubuntu Development Release

    Re: HOWTO: Compile the latest ffmpeg and x264 from source

    I keep getting this error on Ubuntu 10.04 beta2 64bit:

    wingnux@wingnux-desktop:~/ffmpeg$ ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
    FAAD test failed.

    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.err" produced by configure as this will help
    solving the problem.
    Any help? Thanks in advance!

  5. #965
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: HOWTO: Compile the latest ffmpeg and x264 from source

    Quote Originally Posted by wingnux View Post
    I keep getting this error on Ubuntu 10.04 beta2 64bit:



    Any help? Thanks in advance!
    Make sure you have libfaad-dev installed.
    「明後日の夕方には帰ってるからね。」


  6. #966
    Join Date
    May 2008
    Beans
    7

    Re: HOWTO: Install and use the latest FFmpeg and x264

    (deleted)
    Last edited by austin512; April 12th, 2010 at 02:01 AM. Reason: stupid post, my mistake

  7. #967
    Join Date
    Sep 2006
    Beans
    3,713

    Install FFmpeg and x264 on Ubuntu Karmic Koala 9.10

    Install FFmpeg and x264 on Ubuntu Karmic Koala 9.10

    Karmic is unsupported and this guide will not be updated.

    Get the Dependencies
    1. Uninstall x264, libx264-dev, and ffmpeg if they are already installed. Open a terminal and run the following:
    Code:
    sudo apt-get remove ffmpeg x264 libx264-dev
    2. Next, get all of the packages you will need to install FFmpeg and x264 (you may need to enable the universe and multiverse repositories):
    Code:
    sudo apt-get update
    sudo apt-get install build-essential git-core checkinstall yasm texi2html libfaac-dev \
        libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev \
        libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev

    Install x264
    3. Get the current source files, compile, and install x264.
    Code:
    cd
    git clone git://git.videolan.org/x264
    cd x264
    ./configure --enable-static
    make
    sudo checkinstall --pkgname=x264 --pkgversion="1:0.svn$(date +%Y%m%d)+$(git rev-list \
        HEAD -n 1 | head -c 7)" --backup=no --deldoc=yes --default

    Install libvpx (optional)
    4. This is used to encode and decode VP8 video. Add --enable-libvpx to the ./configure line in step 7 if you decide to install libvpx:
    Code:
    cd
    git clone git://review.webmproject.org/libvpx
    cd libvpx
    ./configure
    make
    sudo checkinstall --pkgname=libvpx --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \
        --deldoc=yes --default

    Install libtheora (optional)
    5. This is used to encode to Theora, the video type usually found in OGG/OGV files. The repository libtheora is too old, so it must be compiled. Add --enable-libtheora to the ./configure line in step 7 if you decide to install libtheora.
    Code:
    sudo apt-get install libogg-dev
    cd
    wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
    tar xzvf libtheora-1.1.1.tar.gz
    cd libtheora-1.1.1
    ./configure --disable-shared
    make
    sudo checkinstall --pkgname=libtheora --pkgversion="1.1.1" --backup=no --deldoc=yes \
        --default

    Install LAME (optional)
    6. This is used to encode to mp3 audio. Once again, the repository version is too old. Add --enable-libmp3lame to the ./configure line in step 7 if you decide to install LAME:
    Code:
    sudo apt-get remove libmp3lame-dev
    cd
    wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
    tar xzvf lame-3.98.4.tar.gz
    cd lame-3.98.4
    ./configure --disable-shared
    make
    sudo checkinstall --pkgname=lame-ffmpeg --pkgversion="3.98.4" --backup=no --deldoc=yes \
        --default

    Install FFmpeg
    7. Get the most current source files, compile, and install FFmpeg.
    Code:
    cd
    git clone git://git.videolan.org/ffmpeg
    cd ffmpeg
    ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
        --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb \
        --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
    make
    sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh)" --backup=no \
        --deldoc=yes --default
    
    hash x264 ffmpeg ffplay ffprobe ffserver
    That's it for installation. You can keep the ~/x264 and ~/ffmpeg directories if you later want to update the source files to a new revision. See "Updating Your Installation" on the first page of this guide for more details.

    Now head back to the FFmpeg guide for usage instructions and more.

    Reverting Changes Made by This Guide
    To remove FFmpeg/x264 and other packages added for this guide:
    Code:
    sudo apt-get autoremove x264 ffmpeg build-essential git-core checkinstall yasm \
        texi2html libfaac-dev lame-ffmpeg libogg-dev libsdl1.2-dev libtheora libvorbis-dev \
        libvpx libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev
    Lastly, delete the ffmpeg, libtheora, libvpx, lame-3.98.4, and x264 directories in your home folder.
    Last edited by FakeOutdoorsman; October 18th, 2011 at 08:56 PM.

  8. #968
    Join Date
    Nov 2007
    Beans
    465

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Thanks for the guide; helped me a lot.

    Charlie

  9. #969
    Join Date
    Dec 2008
    Beans
    2

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Hi, i'm on Lucid Lynx x64, after a successful make, I was checkinstall ffmpeg and I've got this error message:
    "dpkg-deb - erreur*: version (amont) («*SVN-r*») ne contient pas de chiffres
    dpkg-deb: 1 erreurs dans le fichier de contrôle"
    in inglish: dpkg-deb - error*: version (amont) («*SVN-r*») doesn't containt digit
    dpkg-deb: 1 errors in the control file


    Thanks for your help

  10. #970
    Join Date
    May 2007
    Beans
    141
    Distro
    Ubuntu

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by FakeOutdoorsman View Post
    ffmpeg
    Hi

    I have used your excellent script on numerous occasions for various machines. To make it easier, I have created a script that runs all this for me automatically. There are two scripts, one for the first time I use your method for installing ffmpeg and then another to update to the latest version (with, if I can get it to work, a list of the new revisions from SVN can't seem to get that info from git yet).

    I was hoping to make this script public on my website and also on Google code, but as the majority of it comes from your excellent post (I just wrapped it in some not-so-clever bash goodness) I wanted to check that this would be ok with you first.

    The script does acknowledge that I took the commands from you and gives your name and the link to this thread...

    So, is it ok if I post my script on google code and on my website?

    Cheers

Page 97 of 241 FirstFirst ... 47879596979899107147197 ... LastLast

Tags for this Thread

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
  •