Page 15 of 241 FirstFirst ... 513141516172565115 ... LastLast
Results 141 to 150 of 2402

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

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

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

    I haven't tested the tutorial on Debian or anything 64-bit. I recommend asking for support through #ffmpeg IRC or the ffmpeg-user mailing list. You should always use the latest git x264 and svn ffmpeg, otherwise you will either be ignored or told to use the latest version. If you ask on the mailing list then include your full ffmpeg command, the full ffmpeg output, and make sure to read the posting rules (the first paragraph on the mailing list site). If you use IRC, use ffmpeg.pastebin.com to show the command and output.

    I can try to help you debug, but you will have to remove all x264, libx264-dev, and ffmpeg installations and reinstall using the latest versions by following the tutorial. If that doesn't work then give me your full ffmpeg command and the full ffmpeg output.

  2. #142
    Join Date
    May 2006
    Beans
    7

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

    I had the same problem to encode x264... with fatal segmentation..

    With the post before a resolve the problem, i remove x264, ffmpeg and libx264-dev (i guess this is the problem) and i do the update steps on the first post...and i can encode in x264.

  3. #143
    Join Date
    Jan 2007
    Location
    Dutchland (!=Germany)
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    While installing on intrepid, i ran into some problems.

    First i had to make the /usr/local/lib/pkgconfig to get x264 installed.

    Secondly I got an "ERROR: LAME not found" while configuring ffmpeg. The reason is that the lame dev package name has been changed, so make sure you do an "sudo apt-get install libmp3lame-dev"

    Third problem i ran into was the checkinstall for ffmpeg. I don't know why but for some reason i had to make the direcories:
    /usr/local/include/libpostproc
    /usr/local/include/libavdevice
    /usr/local/include/libavformat
    /usr/local/include/libavcodec
    /usr/local/include/libavutil
    /usr/local/lib/vhook
    (make sure you do a "sudo mkdir" for each of these)

    After that it installed. So if you see the same problems maybe the above can help.

    I'm going to test it out now, see if all my hacking worked.
    I'm sorry, but i can't do that $username .

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

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

    Thanks for the update on Intrepid. I have not tested this howto on Intrepid yet, so any reports are useful.

  5. #145
    Join Date
    Jan 2007
    Location
    Dutchland (!=Germany)
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    After battling some features that made my processor lock at 1 ghz, i was finally able to test it out, and it seems to have worked like a charm!

    1080p h264 streams now play silky smooth on my X2 4600+. Thanks FakeOutdoorsman!
    I watched Iron Man yesterday on my Sony 1271 CRT beamer with a couple of friends and we were blown away!
    I'm sorry, but i can't do that $username .

  6. #146
    Join Date
    Sep 2008
    Location
    Cancun
    Beans
    6
    Distro
    Ubuntu 8.10 Intrepid Ibex

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

    Hey, I'm back again

    Well after some weeks of nice encoding, I satisfied my thirst for knoledge. I have found that, in order to properly upgrade your system from time to time, you will need to revert all of this, because blocking this packages eventually will block also some new upgrades on other programs too.

    this is not so bad, because when you do this howto again you will have the latest ffmpeg and x264, and of course your whole system will be up-to-date.

    My Ubuntu 8.04 LTS has this nice feature for automatic updates a-la "ms-update", a nice thing that keeps my mom out of troubles on her new Dell Laptop, I actually moved myself from Gentoo because of it, it helps me focus on other things rather than having my system updated. I know it is a "newbie" feature, but any Gentoo lover would agree with me when I say that doing an emerge world is a real pain.

    What I'm trying to say is IF you want to go through all of this howto also means you are not a newbie anymore. You are becoming 1337 at encoding. Don't expect things to be supereasy. Your automatic updates won't work so automatic anymore, unless you revert this. I ended up using aptitude instead of synaptic, because it is more powerful, but also a little bit more difficult to use. Even being a text-mode program you can still use the mouse with it, so its ok. aptitude could be as easy as pressing "u" (upgrade) and then "g" (go!) to upgrade all, but sometimes you will need to do more than that.

    Anyways, I only wanted to share my experience after some weeks, and thank you again
    FakeOutdoorsman. great job!

  7. #147
    Join Date
    Dec 2006
    Beans
    7,324

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

    Hi FakeOutdoorsman!

    Just a quick question about a change to your configure line when compiling x264:

    --enable-shared is not recommended by x264 devs
    I was a little curious about the reason for this change? And BTW thanks for all the work you have obviously put into this guide .

    Andrew
    You think that's air you're breathing now?

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

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

    Good question. I asked this question too. Before I made the change I asked one of the x264 developers what they thought about the guide and that was one of the changes suggested. To paraphrase:
    Enabling shared requires PIC on many systems and PIC is slower, especially for 64-bit. PIC used to be allowed on 32-bit also, but was removed because it was annoying and too many people were enabling it accidentally. There's no good reason to have it and the speed penalty is about 3-4 times as large. PIC is about 1% slower and 3-4% slower on 32-bit. In ffmpeg, the penalty is considerably higher than in x264. FFmpeg and others like mplayer can link statically, so shared isn't needed.

  9. #149
    Join Date
    Jul 2008
    Beans
    8

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

    I just installed ffmpeg and x264 according to the first post, but ffmpeg always core-dumps:

    $ ffmpeg -y -i infile.avi -f mp4 -title boston.legal.s04e05.hdtv.xvid -vcodec libx264 -level 21 -s 480x270 -r 24000/1001 -b 768k -bt 768k -bufsize 2000k -maxrate 768k -g 250 -coder 0 -threads 0 -acodec libfaac -ac 2 -ab 128k outfile.avi
    FFmpeg version SVN-r15665, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --enable-gpl --enable-postproc --enable-libvorbis --enable-libtheora --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-pthreads --enable-libx264
    libavutil 49.12. 0 / 49.12. 0
    libavcodec 52. 0. 0 / 52. 0. 0
    libavformat 52.22. 1 / 52.22. 1
    libavdevice 52. 1. 0 / 52. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Oct 22 2008 15:10:26, gcc: 4.3.2
    [NULL @ 0x197c830]Invalid and inefficient vfw-avi packed B frames detected

    Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -> 23.98 (2997003/125000)
    Input #0, avi, from 'Videos/001tvshows/Boston Legal/boston.legal.s04e05.hdtv.xvid-xor.avi':
    Duration: 00:42:07.08, start: 0.000000, bitrate: 1164 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 23.98 tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, mp4, to 'Videos/001iPod/boston.legal.s04e05.hdtv.xvid-xor.avi':
    Stream #0.0: Video: libx264, yuv420p, 480x270 [PAR 254:255 DAR 4064:2295], q=2-31, 768 kb/s, 23.98 tb(c)
    Stream #0.1: Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    [libx264 @ 0x197ea40]width or height not divisible by 16 (480x270), compression will suffer.
    Segmentation fault (core dumped)

    I found
    [ 3726.365486] ffmpeg[15704]: segfault at 72c77775 ip 00007f94724f4690 sp 00007fff7c457ce8 error 4 in libc-2.8.90.so[7f9472472000+169000]
    in dmesg. How can I fix this?

    Thanks

  10. #150
    Join Date
    Sep 2006
    Beans
    3,713

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

    Quote Originally Posted by mrkofee View Post
    I just installed ffmpeg and x264 according to the first post, but ffmpeg always core-dumps:

    ...

    I found
    [ 3726.365486] ffmpeg[15704]: segfault at 72c77775 ip 00007f94724f4690 sp 00007fff7c457ce8 error 4 in libc-2.8.90.so[7f9472472000+169000]
    in dmesg. How can I fix this?

    Thanks
    I tried to duplicate this using the same ffmpeg revision and your command, but I didn't get any error. I'm unsure what is causing it. You can ask the ffmpeg-user mailing list. Make sure to include the whole ffmpeg command and the full response. The dmesg message will help too. Make sure to use the latest ffmpeg revision, don't hijack threads, and don't top-post when replying or they might ignore your question.

Page 15 of 241 FirstFirst ... 513141516172565115 ... 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
  •