Page 150 of 241 FirstFirst ... 50100140148149150151152160200 ... LastLast
Results 1,491 to 1,500 of 2402

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

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

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

    I just did a test compile on 10.04 and it worked. Note that first I deleted the old ~/ffmpeg directory because it was using SVN and FFmpeg has moved to Git.

    If you --enable-shared on FFmpeg, then you should do the same for the external libraries. Add it to x264 and libvpx. For LAME just remove --disable-shared.

    Then after you install everything you should run "sudo ldconfig". If you don't run that command you'll receive something like the following:
    Code:
    $ ffmpeg
    ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory

  2. #1492
    Join Date
    Jun 2010
    Beans
    26

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

    thanks for the feedback, again. I am gonna test with -enable-shared for x264 now

  3. #1493
    Join Date
    Nov 2010
    Location
    IT
    Beans
    5
    Distro
    Ubuntu 10.10 Maverick Meerkat

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

    // Whoa, my bad. Forget it //


    Also, as a sidenote... is there a quick way to compile x264 with L-SMASH mp4 output?

    As always, thanks!

    Regards,

    Ame




    Edit: I just recalled that the "checkinstall" step for creating a deb. package doesn't work... it creates a dummy package (16kb in size).
    Last edited by Amefurashi; February 7th, 2011 at 08:56 PM. Reason: mistake

  4. #1494
    Join Date
    Jun 2010
    Beans
    26

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

    well no luck for me after recompiling with libx264 --enable-shared

    output in terminal is:

    Code:
    FFmpeg version git-48545a8, Copyright (c) 2000-2011 the FFmpeg developers
      built on Feb  7 2011 23:39:29 with gcc 4.4.3
      configuration: --enable-gpl --enable-pthreads --enable-libvorbis --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab --disable-debug --enable-shared
      libavutil    50. 37. 0 / 50. 37. 0
      libavcore     0. 16. 1 /  0. 16. 1
      libavcodec   52.109. 0 / 52.109. 0
      libavformat  52. 97. 0 / 52. 97. 0
      libavdevice  52.  2. 3 / 52.  2. 3
      libavfilter   1. 74. 0 /  1. 74. 0
      libswscale    0. 12. 0 /  0. 12. 0
      libpostproc  51.  2. 0 / 51.  2. 0
    Hyper fast Audio and Video encoder

    output using php is:

    http://pokercast.dyndns.org/ffmpeg.php

  5. #1495
    Join Date
    Dec 2006
    Beans
    7,349

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

    Quote Originally Posted by Amefurashi View Post
    Also, as a sidenote... is there a quick way to compile x264 with L-SMASH mp4 output?
    I have just been looking at this courtesy of qyot's recent post and I settled on patching, and quite a large patch it is. Change to the directory containing your x264 source and run the following:

    Code:
    $ wget http://vfrmaniac.fushizen.eu/OtherStuff/L-SMASH/x264_lsmash.diff
    $ patch -p1 < x264_lsmash.diff 
    $ ./configure --enable-nonfree
    and then run the usual make and checkinstall commands from Fakeoutdoorsman's guide. Nice having the audio track encoded as well with the patched x264
    Last edited by andrew.46; February 8th, 2011 at 10:31 AM.
    You think that's air you're breathing now?

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

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

    The x264 checkinstall pkgversion is mental. I want a simpler, cleaner way of getting the same output. We get signal:
    Code:
    $ ./version.sh
    #define X264_VERSION " r1900 60ef1f8"
    #define X264_POINTVER "0.114.1900 60ef1f8"
    I want 0.114.1900+git60ef1f8. Unfortunately, my text wrangling skills are lacking. I can get this with:
    Code:
    $ ./version.sh | awk '/POINT/{print $3,$4}' | sed 's/"//g;s/ /+git/'
    0.114.1900+git60ef1f8
    It's less verbose, but I know it can be more efficient. Any suggestions?
    Last edited by FakeOutdoorsman; February 11th, 2011 at 10:30 PM. Reason: combined the seds

  7. #1497
    Join Date
    Dec 2005
    Location
    St. Petersburg, FL
    Beans
    569
    Distro
    Ubuntu Budgie

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

    Quote Originally Posted by andrew.46 View Post
    I have just been looking at this courtesy of qyot's recent post and I settled on patching, and quite a large patch it is. Change to the directory containing your x264 source and run the following:

    Code:
    $ wget http://vfrmaniac.fushizen.eu/OtherStuff/L-SMASH/x264_lsmash.diff
    $ patch -p1 < x264_lsmash.diff 
    $ ./configure --enable-nonfree
    and then run the usual make and checkinstall commands from Fakeoutdoorsman's guide. Nice having the audio track encoded as well with the patched x264
    As a sidenote, when doing compiles for Windows, the audio support allows using Quicktime to act as the AAC encoder*, so long as the SDK is given to x264 at ./configure. The downside to that is needing to sign up for a free ADC account and download the SDK yourself, though. For cross-compiles it's also a bit trickier because some case-sensitivity comes into play with the filenames, but under a native Windows environment that isn't a problem.

    *Although it only works if one has Quicktime installed. It doesn't even have to be Quicktime Pro; the standard version that ships with iTunes is enough. And IMO iTunes is ubiquitous enough now that that shouldn't be a concern.

    Personally I think the advantage of being able to use the Quicktime encoder far outweighs the extra work needed to get the necessary libs/includes. That advantage being, Quicktime's has historically been one of the best AAC encoders, whether that's first place, tied for first with Nero, or a very close second behind Nero. You would think that this functionality would also be possible on OSX builds, but apparently not (although I've not tried compiling x264 on OSX for almost a year, well before the L-SMASH and audio support stuff was being tossed around publicly; it very well could have been added by now).
    Last edited by qyot27; February 9th, 2011 at 03:44 AM.

  8. #1498
    Join Date
    Dec 2006
    Beans
    7,349

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

    Code:
    $ ./version.sh | awk '/POINTVER/ { print $3,$4 }' | sed 's/"//g' | sed 's/ /+git/'
    0.114.1900+git60ef1f8
    Hmmmm..... this is not much of an improvement I guess:

    Code:
    $ ./version.sh | grep 'POINT' | cut -d '"' -f 2 | sed 's/ /+git/'
    0.114.189+git60ef1f8
    Big advantage for me is that I don't understand awk
    You think that's air you're breathing now?

  9. #1499
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,981
    Distro
    Xubuntu 18.04 Bionic Beaver

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

    Hello, great guide for ffmpeg, congratulations.

    I have compiled and installed ffmpeg and x264 in my hp compaq 6720 s laptop dual boot vista/lucid lynx as it is recommended in this guide.

    I try to pass this audio file from bbc (real player coded) http://www.bbc.co.uk/worldservice/le...ter_audio1.ram to wav. I download the file and then try the command : ffmpeg -i winchester_audio1.ram winchester_audio1.wav
    as I was adviced by JC Cheloven in this thread: http://ubuntuforums.org/showthread.php?t=1678278 but I obtain the following error:

    ffmpeg -i winchester_audio1.ram winchester_audio1.wav
    FFmpeg version git-b466827, Copyright (c) 2000-2011 the FFmpeg developers
    built on Feb 10 2011 16:29:10 with gcc 4.4.3
    configuration: --enable-libmp3lame --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
    libavutil 50. 37. 0 / 50. 37. 0
    libavcore 0. 16. 1 / 0. 16. 1
    libavcodec 52.112. 0 / 52.112. 0
    libavformat 52. 98. 0 / 52. 98. 0
    libavdevice 52. 2. 3 / 52. 2. 3
    libavfilter 1. 75. 0 / 1. 75. 0
    libswscale 0. 12. 0 / 0. 12. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    winchester_audio1.ram: Invalid data found when processing input

    What can be the problem?, Have I missed some codec?

    Thanks in advance

  10. #1500
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    Hi claracc
    ffmpeg can't convert the link as it is.
    Right-click on that link http://www.bbc.co.uk/worldservice/le...ter_audio1.ram

    And 'Save link as...'.
    You'll get a file named winchester_audio1.ram in your home folder.

    Open that file with gedit text editor or similar.
    You'll see that it says:-
    rtsp://rmv8.bbc.net.uk/worldservice/learningenglish/beyondthepostcard/winchester1.ra?BBC-UID=144d2571dee4faed59a5a50dd10e5c0aa1f1b2cb709051 9424bff4f638d05eda&SSO2-UID=

    You only need the part up till the question mark (?).
    Which is
    rtsp://rmv8.bbc.net.uk/worldservice/learningenglish/beyondthepostcard/winchester1.ra

    Now you can use that with ffmpeg.
    Like this:-
    Code:
    ffmpeg -i rtsp://rmv8.bbc.net.uk/worldservice/learningenglish/beyondthepostcard/winchester1.ra winchester_audio1.wav
    Last edited by ron999; February 11th, 2011 at 08:13 AM. Reason: Changed new file name to winchester_audio1.wav

Page 150 of 241 FirstFirst ... 50100140148149150151152160200 ... 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
  •