Page 11 of 241 FirstFirst ... 9101112132161111 ... LastLast
Results 101 to 110 of 2402

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

  1. #101
    Join Date
    Nov 2007
    Location
    Austin
    Beans
    9
    Distro
    Ubuntu 8.04 Hardy Heron

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

    Alright, I got it working. I ended up just downloading a slightly older one from the daily source tarballs and it worked just fine Now I'm stoked...I can get this working Thanks!

  2. #102
    Join Date
    Aug 2008
    Beans
    100

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

    Quote Originally Posted by FakeOutdoorsman View Post
    I was able to connect and download the source with git with no problems. Perhaps there was a temporary network problem on their end or maybe your firewall is causing problems. You can always try to download a daily x264 source tarball instead if git isn't working.
    You're right, the network was down. It's working now.

    Btw how do i optimize everything for quad core?(q6600) and auto upsize to 1680x1050 and enable all the features that makes the videos looks a lot better like sharpen, post processing etc?]
    1 error:
    make: *** [libavcodec/libx264.o] Error 1
    Last edited by davidw89; September 16th, 2008 at 01:39 AM.

  3. #103
    Join Date
    Sep 2006
    Beans
    3,713

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

    Quote Originally Posted by davidw89 View Post
    You're right, the network was down. It's working now.

    Btw how do i optimize everything for quad core?(q6600) and auto upsize to 1680x1050 and enable all the features that makes the videos looks a lot better like sharpen, post processing etc?]
    If you're using x264 you can use the "-threads 0" option in your command to encode in parallel. Take a look at the "Additional Resources" section of the howto for examples and explanations.
    Quote Originally Posted by davidw89
    1 error:
    make: *** [libavcodec/libx264.o] Error 1
    For this error, refer to post #99 of this thread.

  4. #104
    Join Date
    Jul 2008
    Beans
    130

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

    If you are updating to the newest ffmpeg you currently need to update your x264 also.

    http://lists.mplayerhq.hu/pipermail/...er/053527.html

    If you don't you will get this:

    libavcodec/libx264.c: In function `X264_init':
    libavcodec/libx264.c:165: error: structure has no member named `i_bframe_adaptive'
    make: *** [libavcodec/libx264.o] Error 1


    -HR

  5. #105
    Join Date
    Jul 2008
    Beans
    130

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

    The developers have also checked in some x264 presets you might want to check out in the newest source code.

    ls -l ffmpeg/ffpresets/
    total 20
    -rw-r--r-- 1 root root 235 Sep 18 11:53 libx264-default.ffpreset
    -rw-r--r-- 1 root root 314 Sep 18 11:53 libx264-fastfirstpass.ffpreset
    -rw-r--r-- 1 root root 311 Sep 18 11:53 libx264-hq.ffpreset
    -rw-r--r-- 1 root root 322 Sep 18 11:53 libx264-max.ffpreset
    -rw-r--r-- 1 root root 295 Sep 18 11:53 libx264-normal.ffpreset


    -HR

  6. #106
    Join Date
    Sep 2006
    Beans
    3,713

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

    Thanks for pointing out the presets, HolyRoses.
    If you dump them into ~/.ffmpeg/ then you can use them as follows:
    ffmpeg -i infile -vcodec libx264 -vpre hq -b 1M -bt 1M -threads 0 outfile.mp4
    From FFmpeg libx264 presets by Robert Swain. The link has more info and preset descriptions. You can edit the -b (bitrate) and -bt (bitrate tolerance) values from the example above to suit your needs.

  7. #107
    Join Date
    Jul 2008
    Beans
    130

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

    I think they are the exact same preset files actually.

    Looks like he just copied superdumps checkin's.

    Oh, I see now, he just shows you how to use them. The defaults file dont set any bitrates, they just set encoding parameters. I wasn't aware how to actually use them.

    -HR
    Last edited by HolyRoses; September 19th, 2008 at 06:15 PM.

  8. #108
    Join Date
    Jul 2008
    Beans
    130

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

    I also think that -rc_eq 'blurCplx(1-qComp)' is hard coded into x264 now.

    -HR

  9. #109
    Join Date
    Nov 2005
    Location
    Helsin, Finland
    Beans
    40
    Distro
    Ubuntu

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

    FFMPEG trunk is not stable, please use revision 15261.

    http://ffmpeg.mplayerhq.hu/

  10. #110
    Join Date
    Nov 2005
    Location
    Helsin, Finland
    Beans
    40
    Distro
    Ubuntu

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

    Quote Originally Posted by HolyRoses View Post
    If you are updating to the newest ffmpeg you currently need to update your x264 also.

    http://lists.mplayerhq.hu/pipermail/...er/053527.html

    If you don't you will get this:

    libavcodec/libx264.c: In function `X264_init':
    libavcodec/libx264.c:165: error: structure has no member named `i_bframe_adaptive'
    make: *** [libavcodec/libx264.o] Error 1

    -HR
    To apply patch:

    Code:
    ~/ffmpeg$ wget http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080915/f69a09a0/attachment.patch 
    
    ~/ffmpeg$ patch -p0 attachment.patch

Page 11 of 241 FirstFirst ... 9101112132161111 ... 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
  •