Page 101 of 236 FirstFirst ... 519199100101102103111151201 ... LastLast
Results 1,001 to 1,010 of 2357

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

  1. #1001
    Join Date
    Jul 2008
    Location
    Reading, UK
    Beans
    182
    Distro
    Ubuntu 10.04 Lucid Lynx

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

    Umm - I don't get it.
    What I have basically done is buy preinstalled Linux laptops from Linux Emporium - and iPlayer works.
    What is this brokenness people talk about?

  2. #1002
    Join Date
    Sep 2006
    Beans
    3,528

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

    Quote Originally Posted by andrew.46 View Post
    Hi Fakeoutdoorsman,

    I think the privilege of making the 1,000th post in your incredible guide belongs to you . Thanks for introducing me to FFmpeg in the first place!

    All the very best,

    Andrew
    Quote Originally Posted by Linuxforall View Post
    The thanks goes to you and andrew, now for all my LTS Lucid installs, every month I can upgrade to latest FFMPEG, x264 and mplayer thanks to both your hard work. So for next three years, I and many others are all set.
    Thank you. I am glad this guide has been useful to others and helped spread the word about such useful tools.

  3. #1003
    Join Date
    Oct 2008
    Beans
    2

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

    Hi all,

    Thanks for this great tutorial.

    I followed each and every step and I get this message after the last command :
    bash: hash: ffmpeg: not found

    I don't know it this is a problem or not since I'm a total noob to this. Tried googling around and searching the forum but got nowhere...

    Any ideas ? Did I miss something ? Should I uninstall and try to reinstall the whole thing (that's probably what I'm gonna try to do in the meantime...).

    Thanks in advance for the help.

    Ubuntu Lucid Lynx fresh install on AMD64.

  4. #1004
    Join Date
    Oct 2008
    Beans
    2

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

    Hi again,

    Just did what I said in my last post. Uninstalled and reinstalled and it all went smooooth (don't ask me what happened the first time...).

    Well, I can now join the happy campers club here and say : Thanks a bunch, FakeOutdoorsman !!!!

    Now, I'll get to work

  5. #1005
    Join Date
    Dec 2008
    Location
    Croatia
    Beans
    34
    Distro
    Ubuntu

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

    Great. Really. Thanks!
    Donny you're out of your element!

  6. #1006
    Join Date
    May 2010
    Beans
    8

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

    Hmm... I've followed all these instructions, but whenever I try to convert a PNG sequence to a movie file I get the message
    "Error opening filters!"

    What does this mean?

  7. #1007
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,297
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by mrfreen View Post
    whenever I try to convert a PNG sequence to a movie file I get the message
    "Error opening filters!"
    What is the command you're trying to run?
    「明後日の夕方には帰ってるからね。」


  8. #1008
    Join Date
    Sep 2006
    Beans
    3,528

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

    Quote Originally Posted by mrfreen View Post
    Hmm... I've followed all these instructions, but whenever I try to convert a PNG sequence to a movie file I get the message
    "Error opening filters!"

    What does this mean?
    Also can you show the complete FFmpeg output from your command?

  9. #1009
    n.hinton is offline Gee! These Aren't Roasted!
    Join Date
    Nov 2008
    Location
    North Norfolk, UK
    Beans
    168
    Distro
    Ubuntu 14.04 Trusty Tahr

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

    Hi mrfreen,

    From ffmpeg faq:
    3.2 How do I encode single pictures into movies?

    First, rename your pictures to follow a numerical sequence. For example, img1.jpg, img2.jpg, img3.jpg,... Then you may run:

    ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg

    Notice that `%d' is replaced by the image number.

    `img%03d.jpg' means the sequence `img001.jpg', `img002.jpg', etc...

    If you have large number of pictures to rename, you can use the following command to ease the burden. The command, using the bourne shell syntax, symbolically links all files in the current directory that match *jpg to the `/tmp' directory in the sequence of `img001.jpg', `img002.jpg' and so on.

    x=1; for i in *jpg; do counter=$(printf %03d $x); ln "$i" /tmp/img"$counter".jpg; x=$(($x+1)); done

    If you want to sequence them by oldest modified first, substitute $(ls -r -t *jpg) in place of *jpg.

    Then run:

    ffmpeg -f image2 -i /tmp/img%03d.jpg /tmp/a.mpg

    The same logic is used for any image format that ffmpeg reads.

  10. #1010
    Join Date
    May 2010
    Beans
    8

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

    Thanks! I was trying to use wildcards (e.g. *.png instead of %04d.png).

    Working now. Thanks again!


    Hmmm... new problem...
    Now it's segfaulting when I try to make an x264 file.
    Here's what I'm sending it:
    ffmpeg -y -shortest -r 24 -i PNG/480/%08d.png -i audio.wav -acodec libfaac -ab 128k -ac 2 -vcodec libx264 -vpre slow -crf 22 -threads 0 mp4/sintel_trailer-480p.mp4
    and here's what it's giving me:
    FFmpeg version SVN-r23085, Copyright (c) 2000-2010 the FFmpeg developers
    built on May 11 2010 14:30:24 with gcc 4.4.3
    configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
    libavutil 50.15. 2 / 50.15. 2
    libavcodec 52.67. 0 / 52.67. 0
    libavformat 52.62. 0 / 52.62. 0
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.20. 0 / 1.20. 0
    libswscale 0.10. 0 / 0.10. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    [image2 @ 0x143c470]MAX_READ_SIZE:5000000 reached
    Input #0, image2, from 'PNG/480/%08d.png':
    Duration: 00:00:52.20, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: png, rgb24, 854x480, 24 fps, 24 tbr, 24 tbn, 24 tbc
    [wav @ 0x143df40]max_analyze_duration reached
    [wav @ 0x143df40]Estimating duration from bitrate, this may be inaccurate
    Input #1, wav, from 'audio.wav':
    Duration: 00:00:54.07, bitrate: 1535 kb/s
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    [ffmpeg_output @ 0x14dcd70]auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x14e5fe0]w:854 h:480 fmt:rgb24 -> w:854 h:480 fmt:yuv420p flags:a0000004
    [libx264 @ 0x14c3710]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
    [libx264 @ 0x14c3710]profile High, level 3.0
    [libx264 @ 0x14c3710]264 - core 94 r1583 7608d73 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=22.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
    Output #0, mp4, to 'mp4/sintel_trailer-480p.mp4':
    Metadata:
    encoder : Lavf52.62.0
    Stream #0.0: Video: libx264, yuv420p, 854x480, q=10-51, 200 kb/s, 24 tbn, 24 tbc
    Stream #0.1: Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #1.0 -> #0.1
    Press [q] to stop encoding
    Segmentation fault
    When I remove the -vpre argument it says:
    [libx264 @ 0x23331c0]broken ffmpeg default settings detected
    [libx264 @ 0x23331c0]use an encoding preset (vpre)
    ... and doesn't segfault, but doesn't do anything, either...
    Last edited by mrfreen; May 11th, 2010 at 05:40 PM. Reason: More information

Page 101 of 236 FirstFirst ... 519199100101102103111151201 ... 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
  •