Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques practica dvc 5.2 fhd camcorder (avi files)

  • practica dvc 5.2 fhd camcorder (avi files)

    Posted by Jacek Ryś on November 28, 2012 at 12:13 pm

    ffmpeg fails to convert audio stream while converting to mov.
    options i am using are:
    -y -i -b 7600k -r 29.97 -ab 128k -ar 48000 -ac 2

    why this fails ?

    error log is:

    Error # 1
    ———-
    Date & Time: 2012-11-28 / 13:36:10
    ExitCode: 1
    Input #0, avi, from ‘C:Documents and SettingsJaMoje dokumentyMoje obrazypracticazimaIMAG0026.AVI’:
    Duration: 00:00:09.90, start: 0.000000, bitrate: 4281 kb/s
    Stream #0.0: Video: h264, yuv420p, 1280×720 [PAR 1:1 DAR 16:9], 29.97 tb(r)
    Stream #0.1: Audio: libfaad, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, mov, to ‘C:Documents and SettingsJaMoje dokumentyMoje obrazypracticazimaIMAG0026.mov’:
    Stream #0.0: Video: mpeg4, yuv420p, 1280×720 [PAR 1:1 DAR 16:9], q=2-31, 7600 kb/s, 29.97 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
    [libfaad @ 01378820]faac: frame decoding failed: Maximum number of bitstream elements exceeded
    Error while decoding stream #0.1
    [libfaad @ 01378820]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [h264 @ 01378070]B picture before any references, skipping
    [h264 @ 01378070]decode_slice_header error
    [h264 @ 01378070]no frame!
    Error while decoding stream #0.0
    [libfaad @ 01378820]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 01378820]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [h264 @ 01378070]B picture before any references, skipping
    [h264 @ 01378070]decode_slice_header error
    [h264 @ 01378070]no frame!
    Error while decoding stream #0.0
    [libfaad @ 01378820]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 01378820]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1

    Jacek Ryś replied 13 years, 5 months ago 3 Members · 6 Replies
  • 6 Replies
  • Lou Logan

    November 29, 2012 at 6:42 pm

    Please include your full ffmpeg command and the complete ffmpeg console output. I suspect you are using a very ancient ffmpeg build, but I can only guess without seeing the required information.

    If you use the “code” button on your command and the console output text it will be easier to read.

  • Jacek Ryś

    November 30, 2012 at 1:59 pm

    command:

    -y -i [input_file] -b 7600k -r 29.97 -ab 128k -ar 48000 -ac 2 [output_file]

    log:

    Error # 1
    ———-
    Date & Time: 2012-11-30 / 14:57:38
    ExitCode: 1
    Input #0, avi, from ‘C:Documents and SettingsJaMoje dokumentyMoje obrazypracticazimaIMAG0026.AVI’:
    Duration: 00:00:09.90, start: 0.000000, bitrate: 4281 kb/s
    Stream #0.0: Video: h264, yuv420p, 1280×720 [PAR 1:1 DAR 16:9], 29.97 tb(r)
    Stream #0.1: Audio: libfaad, 48000 Hz, stereo, s16, 128 kb/s
    Output #0, mov, to ‘C:Documents and SettingsJaMoje dokumentyMoje obrazypracticazimaIMAG0026_001.mov’:
    Stream #0.0: Video: mpeg4, yuv420p, 1280×720 [PAR 1:1 DAR 16:9], q=2-31, 7600 kb/s, 29.97 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
    [libfaad @ 003F9D90]faac: frame decoding failed: Maximum number of bitstream elements exceeded
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [h264 @ 01378070]B picture before any references, skipping
    [h264 @ 01378070]decode_slice_header error
    [h264 @ 01378070]no frame!
    Error while decoding stream #0.0
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [h264 @ 01378070]B picture before any references, skipping
    [h264 @ 01378070]decode_slice_header error
    [h264 @ 01378070]no frame!
    Error while decoding stream #0.0
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1
    [libfaad @ 003F9D90]faac: frame decoding failed: Unexpected channel configuration change
    Error while decoding stream #0.1

    ———————————————————————
    … ad infinitum

  • Lou Logan

    November 30, 2012 at 6:43 pm

    Unfortunately, you did not supply the complete ffmpeg command and the complete ffmpeg console output. ffmpeg will always include its version information and how it was configured which is just as important as the rest of the output.

    If you use the “code” button on your command and the console output text it will be easier to read. Like this:

    ffmpeg -i input ... output

  • Reuben Martin

    December 1, 2012 at 6:36 am

    It’s failing because the input streams are garbage. (Or the build of ffmpeg you are using is broken)

    I’m not really sure why you are re-encoding anyway. Those stream formats (h264 and aac) from the source are perfectly valid for mov files. Just remux them.

    ffmpeg -i input.avi -vcodec copy -acodec copy -f mov output.mov

  • Lou Logan

    December 1, 2012 at 9:59 pm

    [Reuben Martin] “(Or the build of ffmpeg you are using is broken)”

    Very likely. Usage of libfaad as a decoder is not a good sign. That was removed from FFmpeg several years ago. At the rate of FFmpeg development the chance of encountering a known or fixed bug is high with such an ancient version.

  • Jacek Ryś

    December 3, 2012 at 12:00 pm

    i switched to latest static win32 build. yeah, that remux settings work 🙂

    ffmpeg -i input.avi -vcodec copy -acodec copy -f mov output.mov

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy