Page 25 of 241 FirstFirst ... 1523242526273575125 ... LastLast
Results 241 to 250 of 2402

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

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

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

    Quote Originally Posted by cloggie View Post
    I got basically the same error as DilFATX.

    I used your line, but then got this:

    FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
    libavutil version: 1d.49.3.0
    libavcodec version: 1d.51.38.0
    libavformat version: 1d.51.10.0
    built on Jul 29 2008 18:21:25, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

    ...
    This looks like ffmpeg from Medibuntu on Ubuntu Hardy. That version uses different codec names, so "-acodec libfaac" should be "-acodec aac".
    Quote Originally Posted by DilfATX View Post
    I tried that in terminal and got this

    ...

    Can I change the output format for "libfaac"? if so to what? and how? Thanks greatly for your help on this I didn't expect such a quick reply to my question
    This is odd. Are you on Hardy or Intrepid? I can't replicate this error. Four more test commands:
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -ac 2 -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 44100 -ab 128k -ac 2 -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS output.aac

  2. #242
    Join Date
    Oct 2005
    Beans
    15

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

    This looks like ffmpeg from Medibuntu on Ubuntu Hardy. That version uses different codec names, so "-acodec libfaac" should be "-acodec aac".
    Fakeoutdoorsman, thanks for your quick reply every time.

    I went over the install again, with a finetoothed comb, and reinstalled the whole ffmpeg again. Now the version reads :
    FFmpeg version SVN-r15920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
    And according to what I think, this should be really the latest version of ffmpeg, right?

    I did a straight conversion from MOV to mp4 again, the second try I used the 2 pass method, described by you on page one, and, again, I get that same error.

    [libfaac @ 0x885bb00]libfaac doesn't support this output format!
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Again, from mpg to mp4 it works without a hitch, but when I try a .mov, it fails on me.
    So that's what got me thinking, could it have something todo with the starting format? Am I missing a de- or en-coder or something like that?
    (I know, probably a dumb question, but then again, I know nothing about this stuff)

  3. #243
    Join Date
    Oct 2005
    Beans
    15

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

    Right after my reply, I used the suggestions you made to DilfATX.

    The first suggestion gave me this:
    will@will-laptop:~/Documents$ ffmpeg -i harvest.mov -vn -acodec libfaac -ar 48000 -ab 128k -ac 2 -f mp4 outputharvest.mp4
    FFmpeg version SVN-r15920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
    libavutil 49.12. 0 / 49.12. 0
    libavcodec 52. 3. 0 / 52. 3. 0
    libavformat 52.23. 1 / 52.23. 1
    libavdevice 52. 1. 0 / 52. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Nov 23 2008 20:30:18, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

    Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 15.00 (23120/1541)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'harvest.mov':
    Duration: 00:00:57.78, start: 0.000000, bitrate: 1874 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 15.00 tb(r)
    Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Output #0, mp4, to 'outputharvest.mp4':
    Stream #0.0(eng): Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size= 546kB time=57.71 bitrate= 77.6kbits/s
    video:0kB audio:525kB global headers:0kB muxing overhead 4.137723%
    So that seemed to work.

    The second suggestion gave this:

    will@will-laptop:~/Documents$ ffmpeg -i harvest.mov -vn -acodec libfaac -ar 48000 -ab 128k -f mp4 outputharvest2.mp4
    FFmpeg version SVN-r15920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
    libavutil 49.12. 0 / 49.12. 0
    libavcodec 52. 3. 0 / 52. 3. 0
    libavformat 52.23. 1 / 52.23. 1
    libavdevice 52. 1. 0 / 52. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Nov 23 2008 20:30:18, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

    Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 15.00 (23120/1541)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'harvest.mov':
    Duration: 00:00:57.78, start: 0.000000, bitrate: 1874 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 15.00 tb(r)
    Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Output #0, mp4, to 'outputharvest2.mp4':
    Stream #0.0(eng): Audio: libfaac, 48000 Hz, mono, s16, 128 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size= 540kB time=57.71 bitrate= 76.7kbits/s
    video:0kB audio:518kB global headers:0kB muxing overhead 4.187221%
    So that seems to work as well.

    The third suggestion:

    will@will-laptop:~/Documents$ ffmpeg -i harvest.mov -vn -acodec libfaac -ar 44100 -ab 128k -ac 2 -f mp4 outputharvest3.mp4
    FFmpeg version SVN-r15920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
    libavutil 49.12. 0 / 49.12. 0
    libavcodec 52. 3. 0 / 52. 3. 0
    libavformat 52.23. 1 / 52.23. 1
    libavdevice 52. 1. 0 / 52. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Nov 23 2008 20:30:18, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

    Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 15.00 (23120/1541)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'harvest.mov':
    Duration: 00:00:57.78, start: 0.000000, bitrate: 1874 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 15.00 tb(r)
    Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Output #0, mp4, to 'outputharvest3.mp4':
    Stream #0.0(eng): Audio: libfaac, 44100 Hz, stereo, s16, 128 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size= 545kB time=57.70 bitrate= 77.3kbits/s
    video:0kB audio:525kB global headers:0kB muxing overhead 3.810981%
    Again, that worked for me, so now the last one:

    will@will-laptop:~/Documents$ ffmpeg -i harvest.mov outputharvest4.aac
    FFmpeg version SVN-r15920, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
    libavutil 49.12. 0 / 49.12. 0
    libavcodec 52. 3. 0 / 52. 3. 0
    libavformat 52.23. 1 / 52.23. 1
    libavdevice 52. 1. 0 / 52. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Nov 23 2008 20:30:18, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

    Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 15.00 (23120/1541)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'harvest.mov':
    Duration: 00:00:57.78, start: 0.000000, bitrate: 1874 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 15.00 tb(r)
    Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Output #0, adts, to 'outputharvest4.aac':
    Stream #0.0(eng): Audio: libfaac, 8000 Hz, mono, s16, 64 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0
    [libfaac @ 0x885bb20]libfaac doesn't support this output format!
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    .....and as you can see, that's where the train stopped!

    So does this tell you enough? If not, I would like to try more suggestions.

    Again, thanks for the quick reply everytime.

  4. #244
    Join Date
    Apr 2007
    Beans
    30

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

    Quote Originally Posted by FakeOutdoorsman View Post
    This looks like ffmpeg from Medibuntu on Ubuntu Hardy. That version uses different codec names, so "-acodec libfaac" should be "-acodec aac".

    This is odd. Are you on Hardy or Intrepid? I can't replicate this error. Four more test commands:
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -ac 2 -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 44100 -ab 128k -ac 2 -f mp4 output.mp4
    Code:
    ffmpeg -i 00060.MTS output.aac
    First like to say I sincerely appreciate the quick responses..and im going to go down this list and try them out see if one works..

    BTW Im using Intrepid ubuntu 8.10

  5. #245
    Join Date
    Apr 2007
    Beans
    30

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

    Here is the output of the first command btw

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -ac 2 -f mp4 output.mp4
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Output #0, mp4, to 'output.mp4':
        Stream #0.0: Audio: libfaac, 48000 Hz, stereo, s16, 128 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size=    2616kB time=163.61 bitrate= 131.0kbits/s    
    video:0kB audio:2556kB global headers:0kB muxing overhead 2.366823%
    rey@dilfATX:~$
    I got a 2mb file (the original .mts file is 338.2mb) and it was all audio but sounded great..

  6. #246
    Join Date
    Apr 2007
    Beans
    30

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

    This is the output of the second command

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 48000 -ab 128k -f mp4 output.mp4
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Output #0, mp4, to 'output.mp4':
        Stream #0.0: Audio: libfaac, 48000 Hz, 0 channels, s16, 128 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    [libfaac @ 0x8d09990]encoding 0 channel(s) is not allowed
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    rey@dilfATX:~$

  7. #247
    Join Date
    Apr 2007
    Beans
    30

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

    this is the output of the third command

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 44100 -ab 128k -ac 2 -f mp4 output.mp4
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to 'output.mp4':
        Stream #0.0: Audio: libfaac, 44100 Hz, stereo, s16, 128 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size=    2612kB time=163.61 bitrate= 130.8kbits/s    
    video:0kB audio:2556kB global headers:0kB muxing overhead 2.175919%
    rey@dilfATX:~$
    this one also gave me a 2 mb audio file and also sounded good. like the other audio file there was no video.

  8. #248
    Join Date
    Apr 2007
    Beans
    30

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

    this is the output of the third command

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS -vn -acodec libfaac -ar 44100 -ab 128k -ac 2 -f mp4 output.mp4
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    Output #0, mp4, to 'output.mp4':
        Stream #0.0: Audio: libfaac, 44100 Hz, stereo, s16, 128 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    Press [q] to stop encoding
    size=    2612kB time=163.61 bitrate= 130.8kbits/s    
    video:0kB audio:2556kB global headers:0kB muxing overhead 2.175919%
    rey@dilfATX:~$
    this one also gave me a 2 mb audio file and also sounded good. like the other audio file there was no video.

  9. #249
    Join Date
    Apr 2007
    Beans
    30

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

    This is the output of the fourth command

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS output.aac
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Output #0, adts, to 'output.aac':
        Stream #0.0: Audio: libfaac, 0 channels, s16, 64 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    [libfaac @ 0xa0ea990]encoding 0 channel(s) is not allowed
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    rey@dilfATX:~$
    It gave me an aac file with no audio and was at 0kb

  10. #250
    Join Date
    Apr 2007
    Beans
    30

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

    This is the output of the fourth command

    Code:
    rey@dilfATX:~$ ffmpeg -i 00060.MTS output.aac
    FFmpeg version SVN-r15908, Copyright (c) 2000-2008 Fabrice Bellard, et al.
      configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
      libavutil     49.12. 0 / 49.12. 0
      libavcodec    52. 3. 0 / 52. 3. 0
      libavformat   52.23. 1 / 52.23. 1
      libavdevice   52. 1. 0 / 52. 1. 0
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Nov 22 2008 12:41:12, gcc: 4.3.2
    Input #0, mpegts, from '00060.MTS':
      Duration: 00:02:43.64, start: 1.033367, bitrate: 17333 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 tb(r)
        Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
    Output #0, adts, to 'output.aac':
        Stream #0.0: Audio: libfaac, 0 channels, s16, 64 kb/s
    Stream mapping:
      Stream #0.1 -> #0.0
    [libfaac @ 0xa0ea990]encoding 0 channel(s) is not allowed
    Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    rey@dilfATX:~$
    It gave me an aac file with no audio and was at 0kb

Page 25 of 241 FirstFirst ... 1523242526273575125 ... 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
  •