FORUMS: list search recent posts

practica dvc 5.2 fhd camcorder (avi files)

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Jacek Ryś
practica dvc 5.2 fhd camcorder (avi files)
on Nov 28, 2012 at 12:13:10 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, 1280x720 [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, 1280x720 [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


Return to posts index

Lou Logan
Re: practica dvc 5.2 fhd camcorder (avi files)
on Nov 29, 2012 at 6:42:30 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.


Return to posts index

Jacek Ryś
Re: practica dvc 5.2 fhd camcorder (avi files)
on Nov 30, 2012 at 1:59:48 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, 1280x720 [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, 1280x720 [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


Return to posts index


Lou Logan
Re: practica dvc 5.2 fhd camcorder (avi files)
on Nov 30, 2012 at 6:43:58 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


Return to posts index


Reuben Martin
Re: practica dvc 5.2 fhd camcorder (avi files)
on Dec 1, 2012 at 6:36:37 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


Return to posts index

Lou Logan
Re: practica dvc 5.2 fhd camcorder (avi files)
on Dec 1, 2012 at 9:59:32 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.


Return to posts index



Jacek Ryś
Re: practica dvc 5.2 fhd camcorder (avi files)
on Dec 3, 2012 at 12:00:01 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



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]