Page 191 of 240 FirstFirst ... 91141181189190191192193201 ... LastLast
Results 1,901 to 1,910 of 2393

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

  1. #1901
    Join Date
    Dec 2006
    Beans
    7,309

    Re: How to compile alacconvert

    Quote Originally Posted by FakeOutdoorsman View Post
    I'd be interested to know if there is an alternative method of getting alacconvert to compile without the patch.
    It is a little ugly but the following does the same as the patch:

    Code:
    sed -i_bak 's/$(CC) $(LFLAGS) $(OBJS) -o alacconvert/$(CC) $(OBJS) -o alacconvert $(LFLAGS)/' makefile
    Should be a neater way to do this though....
    You think that's air you're breathing now?

  2. #1902
    Join Date
    Sep 2006
    Beans
    3,707

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

    Thanks for the sed solution, but I was revealing my ignorance of LFLAGS because I was wondering if the patch is really the best solution to it not compiling correctly. I found the patch here: Apple Lossless Audio Codec ためしに FreeBSD でビルドしてみたら makefile を少し修正するだけでビルドできてしまってつまらなかった。

    However, maybe your sed method would be good for the Arch Linux PKGBUILD, but then I couldn't conveniently borrow the patch file for this thread.

  3. #1903
    Join Date
    Dec 2006
    Beans
    7,309

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

    Hmmm... I am not sure. I crafted a beautifully detailed ticket at the apple site:

    http://alac.macosforge.org/trac/newticket

    but the ticket would not submit with a bunch of python errors on the remote site . Should keep the complaints down anyway if bugs cannot be submitted!
    You think that's air you're breathing now?

  4. #1904
    Join Date
    Sep 2006
    Beans
    3,707

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

    I was wondering why there were no bugs. Perhaps a message to ealdrich at apple would prod them into fixing it.

    In other news, FFmpeg now has a ProRes encoder.

  5. #1905
    Join Date
    Dec 2006
    Beans
    7,309

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

    Quote Originally Posted by FakeOutdoorsman View Post
    I was wondering why there were no bugs. Perhaps a message to ealdrich at apple would prod them into fixing it.
    I have mixed feelings about pursuing it too much further: the encoder produces files that I have yet been unable to play with any media software available to me, there is a compile problem, the bug-reporting mechanism is broken....
    You think that's air you're breathing now?

  6. #1906
    Join Date
    Oct 2005
    Beans
    103
    Distro
    Lubuntu 11.10 Oneiric Ocelot

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

    Hi, great guide, thanks FakeOutdoorsman.

    But I had one problem which prevent me from getting ffmpeg installed.

    On the step:
    $ hash x264 ffmpeg ffplay ffprobe
    I get error messages:
    bash: hash: ffmpeg: not found
    bash: hash: ffplay: not found
    bash: hash: ffprobe: not found

    Something similiar it seams that happened to http://ubuntuforums.org/showpost.php...postcount=1388 but he didn't post again.

    I checked as suggested for him:
    $ echo $SHELL
    and get:
    /bin/bash

    If I run:
    $ ffmpeg -version
    I get:
    The program 'ffmpeg' is currently not installed. You can install it by typing:
    sudo apt-get install ffmpeg


    BTW I'm using Lubuntu 11.10, so maybe it has something to do with being a more lightweight ubuntu

    I would appreciate any help, thanks!
    Last edited by Mguel; October 30th, 2011 at 04:02 AM.

  7. #1907
    Join Date
    Oct 2005
    Beans
    103
    Distro
    Lubuntu 11.10 Oneiric Ocelot

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

    Or is it a way to do manually what hash command is supposed to do?

    Searching on google for hash man, it states it:
    Remember the full pathnames of commands specified as name arguments, so they need not be searched for on subsequent invocations.


    Maybe create a link from /usr/bin to the place where it was downloaded/compiles ~/ffmpeg or move the executable there?
    Last edited by Mguel; October 30th, 2011 at 05:30 PM.

  8. #1908
    Join Date
    Sep 2006
    Beans
    3,707

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

    Quote Originally Posted by andrew.46 View Post
    ...I have yet been unable to play with any media software available to me...
    I noticed this after I made the guide, unfortunately. So much for realtime, crappily tested guide writing...

    Quote Originally Posted by Mguel View Post
    Hi, great guide, thanks FakeOutdoorsman.

    But I had one problem which prevent me from getting ffmpeg installed.

    On the step:
    Code:
    $ hash x264 ffmpeg ffplay ffprobe
    I get error messages:
    bash: hash: ffmpeg: not found
    bash: hash: ffplay: not found
    bash: hash: ffprobe: not found
    Strange. Did the ffmpeg, ffplay, and ffprobe binaries actually get installed?
    Code:
    $ ls /usr/local/bin/ff*
    Quote Originally Posted by Mguel View Post
    Or is it a way to do manually what hash command is supposed to do?
    The hash command in this guide isn't terribly important. When the ffmpeg binary from the repository is executed, and then replaced by a compiled ffmpeg while using the same shell session, the shell will still think ffmpeg is installed to /usr/bin instead of /usr/local/bin. Using hash tells the shell to remember the new location of the binary. Or something like that.

    You can try "hash -r". That will, "forget all previously remembered utility locations". If that doesn't resolve the issue then the problem probably isn't with hash.

  9. #1909
    Join Date
    Oct 2005
    Beans
    103
    Distro
    Lubuntu 11.10 Oneiric Ocelot

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

    Quote Originally Posted by FakeOutdoorsman View Post
    Strange. Did the ffmpeg, ffplay, and ffprobe binaries actually get installed?
    Code:
    $ ls /usr/local/bin/ff*
    Hi, thanks a lot for the answer!:

    Nope, it did not get installed:

    $ ls /usr/local/bin/ff*
    ls: cannot access /usr/local/bin/ff*: No such file or directory


    there are only the following files on /usr/local/bin:

    $ ls /usr/local/bin/
    vp8_scalable_patterns vpxdec vpxenc x264

    if I manually copy the ff* files from ~/ffmpeg to /usr/bin or /usr/local/bin?



    PS: I'm not cursing when I mention ff* files LOL

  10. #1910
    Join Date
    Sep 2006
    Beans
    3,707

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

    Something must have gone wrong with the Install FFmpeg step. Navigate to the ffmpeg source directory, run make distclean, and update your source code:
    Code:
    cd ~/ffmpeg
    make distclean
    git pull
    Then continue with Step 5 starting with the ./configure line. Make note if it fails again and when it fails: either ./configure, make, or checkinstall.

    Quote Originally Posted by Mguel View Post
    if I manually copy the ff* files from ~/ffmpeg to /usr/bin or /usr/local/bin?
    That's a somewhat messy way of doing it and will not integrate the package into the package management system like checkinstall will.

Page 191 of 240 FirstFirst ... 91141181189190191192193201 ... 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
  •