Page 14 of 241 FirstFirst ... 412131415162464114 ... LastLast
Results 131 to 140 of 2402

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

  1. #131
    Join Date
    Sep 2006
    Beans
    3,713

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

    Quote Originally Posted by vector View Post
    step 1 'uninstall x264 and ffmpeg'.. ok Im assuming apt-get remove x264 etc is the same thing?
    Yes. You may not have these installed, but if you do they should be uninstalled. You can use apt-get, Synaptic, or aptitude.

    step 3 Yasm
    "sudo checkinstall"
    ok its asking me
    Code:
     sudo checkinstall
    
    checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
               This software is released under the GNU GPL.
    
    
    The package documentation directory ./doc-pak does not exist. 
    Should I create a default set of package docs?  [y]: y
    
    Preparing package documentation...OK
    
    Please write a description for the package.
    End your description with an empty line or EOF.
    ummm Im lost? for the record I typed in yasmhelp
    it created a deb file
    You can make the description anything you want. It's just for your future reference.
    Code:
    Done. The new package has been installed and saved to
    
     /home/mark/yasm-0.7.1/yasm_0.7.1-1_i386.deb
    
     You can remove it from your system anytime using: 
    
          dpkg -r yasm
    so what do I do now? i understand it as saying its installed so I guess I just go on to step 4
    Checkinstall is telling you that it installed yasm and you now have the option to remove it later by using dpkg. Since you used checkinstall, you can also later remove yasm with apt-get/Synaptic, or aptitude--whichever you're comfortable with.

    Step 6-the wheel falls off?
    svn ffmpeg works untill...
    Code:
    Fetching external item into 'ffmpeg/libswscale'
    svn: Unknown hostname 'svn.mplayerhq.hu'
    and thuis the ./configure fails because libswscale is missing

    at this point I go to bed
    what to do next?
    Looks like network problems.

    ahh but b4 i do i tried
    Code:
    git clone git://git.mplayerhq.hu/libswscale/
    then ./configure.......etc
    Good thinking and it probably worked, but I would delete the ~/ffmpeg folder and try again due to the network issues from before. Once you delefe the ffmpeg folder start at:
    Code:
    cd ~/
    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
    It should attempt to download what it couldn't get earlier.

    which worked up untill
    Code:
    libavcodec/libx264.c: In function ‘X264_init’:
    libavcodec/libx264.c:230: error: ‘struct <anonymous>’ has no member named ‘b_bidir_me’
    libavcodec/libx264.c:231: error: ‘struct <anonymous>’ has no member named ‘b_bframe_rdo’
    make: *** [libavcodec/libx264.o] Error 1
    now I am lost
    Not your fault. Look at Dark Shikari's response above. Since this is the bleeding-edge, there will be problems once in awhile, but the x264 and ffmpeg developers are usually quick and get things fixed within a few days.

    If you don't feel comfortable doing this you can use ffmpeg from the Medibuntu repository, but it's an older version and you can't customize it they way you want...and you won't learn as much/get as frustrated as doing it this way.

  2. #132
    Join Date
    Jun 2006
    Beans
    34

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

    And ffmpeg's libx264.c has been updated with my patch, so no more issues.

  3. #133
    Join Date
    May 2005
    Location
    Australia
    Beans
    155
    Distro
    Ubuntu Studio 16.04 Xenial Xerus

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

    Many many thanks guys , that seems to have compiled this time.. now I just got get a handle on how ffmpeg works and try a few things out.

    cheers

  4. #134
    Join Date
    Sep 2006
    Beans
    3,713

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

    Revised the howto:
    • Removed some extra packages
    • Removed unnecessary x264 compilation options
    • Revised the example script to use recommended settings (instead of being iPood-centric)
    • Added preset usage instructions

    See the "Tutorial Updates" section for a few more details.

  5. #135
    Join Date
    May 2008
    Location
    Lafayette, IN, USA
    Beans
    9
    Distro
    Ubuntu 9.10 Karmic Koala

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

    Just compiled, but there's no ffplay. Where'd it go?

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

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

    Quote Originally Posted by NeonRush View Post
    Just compiled, but there's no ffplay. Where'd it go?
    You're missing libsdl1.2-dev. Install it, remove ffmpeg, "make distclean" in the ffmpeg folder, and then recompile.
    Last edited by FakeOutdoorsman; October 4th, 2008 at 07:41 PM.

  7. #137
    Join Date
    Dec 2005
    Beans
    47

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

    I'm trying to compile ffmpeg on intrepid beta.
    I checked out yesterdays svn (revision 15572 I think) and tried the following .configure line:

    Code:
    ./configure --prefix=/usr/local --disable-debug --enable-shared --enable-gpl --enable-postproc --enable-swscale --enable-pthreads --enable-x11grab --enable-liba52 --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
    But I get the error:
    Code:
    Unknown option "--enable-liba52".
    Any ideas why this might happen & how to fix it?
    I do have liba52-0.7.4-dev installed.

    I'm pretty sure I want liba52 enabled to give support for ac3 audio - is that correct?

    Edit: there seems to be no mention of --enable-liba52 in the ./configure --help
    Has it been removed from ffmpeg?
    Last edited by sojyujai; October 6th, 2008 at 02:25 PM.

  8. #138
    Join Date
    Sep 2006
    Beans
    3,713

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

    The "--enable-liba52" option has been removed because ffmpeg now has a native ac3 encoder. It's built in.

  9. #139
    Join Date
    Jul 2008
    Beans
    130

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

    ffmpeg presets have been updated in SVN to reflect new x264 changes regarding subq modifications and removal of -flags2 +brdo and bidir_refine.

    -HR

  10. #140
    Join Date
    Oct 2008
    Beans
    1

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

    Hi guys,

    i just read the thread but i am so much desperate. My ffmpeg is not running with x264. It was running before but i liked to update the two packets but now i am suffering from a segmentation fault every time i am using -vcodec libx264.

    I compiled at least 15 possible combinations of ffmpeg and x264. I am running debian 64 bit. Furthermore i checked several combinations of ffmpeg and x264 incl patching libx264.c with no result. Everytime i get a segmentation fault:
    31736 segmentation fault. ffmpeg is working fine except libx264. Can somebody help me and give me the right revision combination of x264 and ffmpeg? That would be very nice!! It is so desperating because it worked before updating.

    Greetings, Chris

Page 14 of 241 FirstFirst ... 412131415162464114 ... 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
  •