[FFmpeg-user] "Error while decoding stream #0:X: Error number -12 occurred" when trying to merge multiple audiotracks from PremiereCC MOV to one audio track in AVI

Christoph Gerstbauer christophgerstbauer at gmail.com
Fri May 30 12:21:30 CEST 2014


Hello,

I am trying to merge multiple audio tracks from Premiere CC MOV files to 
one audio track in an AVI file (ffvhuff).

Sourcefile is MOV, and has multiple audio streams (e.g 2x stereo, 2x 
mono, 4x mono, 8x mono, 4x stereo....)

There happens always following errors when I try to merge the audio 
streams to one audio stream:

Error while decoding stream #0:1: Error number -12 occurred
Error while decoding stream #0:2: Error number -12 occurred
Error while decoding stream #0:3: Error number -12 occurred... etc

The error can be reproduced with every multiaudiotrack MOV.
The problematic MOV files were generated by Adobe Premiere CC.
Multiaudiotrack MOVs generated with FFMPEG -> no problems at decoding.

An example file can be downloaded here:
https://dl.dropboxusercontent.com/u/26129407/ffmpeg_user_mailing_sample_AVCI_MXF_4mono_DVPAL.zip

My used syntax:
ffmpeg -i I:\TEST\4mono_DVPAL.mov -vcodec ffvhuff -codec:a pcm_s24le 
-filter_complex "amerge=inputs=4" I:\TEST\4mono_DVPAL.avi

Best Regards
Christoph


Command Line output:
C:\Users\gersti>ffmpeg -i I:\TEST\4mono_DVPAL.mov -vcodec ffvhuff 
-codec:a pcm_s24le -filter_complex "amerge=inputs=4" I:\TEST\4mono_DVPAL.avi
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
   built on Apr 11 2014 00:32:01 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libcaca --enable-libfreetype --enable-libgsm 
--enable-libilbc --enable-libmodplug --enable-libmp3lame 
--enable-libopencore-amrnb --enable-libopencore-amrwb 
--enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr 
--enable-libspeex --enable-libtheora --enable-libtwolame 
--enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc 
--enable-li
bvorbis --enable-libvpx --enable-libwavpack --enable-libx264 
--enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 66.100 / 52. 66.100
   libavcodec     55. 52.102 / 55. 52.102
   libavformat    55. 33.100 / 55. 33.100
   libavdevice    55. 10.100 / 55. 10.100
   libavfilter     4.  2.100 /  4.  2.100
   libswscale      2.  5.102 /  2.  5.102
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I:\TEST\4mono_DVPAL.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2014-05-30 08:23:02
   Duration: 00:00:04.84, start: 0.000000, bitrate: 33605 kb/s
     Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 
720x576 [SAR 64:45 DAR 16:9], 28800 kb/s, SAR 1050:720 DAR 175:96, 25 
fps, 25 tbr, 25 tbn, 25 tbc (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
     Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 
mono, s16, 768 kb/s (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
     Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 
mono, s16, 768 kb/s (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
     Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 
mono, s16, 768 kb/s (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
     Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 
mono, s16, 768 kb/s (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
     Stream #0:5(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
[Parsed_amerge_0 @ 00000000027bfbc0] No channel layout for input 1
[Parsed_amerge_0 @ 00000000027bfbc0] Input channel layouts overlap: 
output layout will be determined by the number of distinct input channels
Output #0, avi, to 'I:\TEST\4mono_DVPAL.avi':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     ISFT            : Lavf55.33.100
     Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 
4.0, s32, 4608 kb/s (default)
     Stream #0:1(eng): Video: ffvhuff (FFVH / 0x48564646), yuv420p, 
720x576 [SAR 1050:720 DAR 175:96], q=2-31, 200 kb/s, 25 tbn, 25 tbc 
(default)
     Metadata:
       creation_time   : 2014-05-30 08:23:02
       handler_name    : Apple Alias Data Handler
       timecode        : 00:00:04:05
Stream mapping:
   Stream #0:1 (pcm_s16le) -> amerge:in0 (graph 0)
   Stream #0:2 (pcm_s16le) -> amerge:in1 (graph 0)
   Stream #0:3 (pcm_s16le) -> amerge:in2 (graph 0)
   Stream #0:4 (pcm_s16le) -> amerge:in3 (graph 0)
   amerge (graph 0) -> Stream #0:0 (pcm_s24le)
   Stream #0:0 -> #0:1 (dvvideo -> ffvhuff)
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:2: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:3: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:1: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:2: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:3: Error number -12 occurred
Error while decoding stream #0:1: Error number -12 occurred
     Last message repeated 14 times
Error while decoding stream #0:2: Error number -12 occurred
Error while decoding stream #0:4: Error number -12 occurred
     Last message repeated 12 times
Error while decoding stream #0:1: Error number -12 occurred
Error while decoding stream #0:2: Error number -12 occurred
Error while decoding stream #0:3: Error number -12 occurred
     Last message repeated 12 times
Error while decoding stream #0:4: Error number -12 occurred
Error while decoding stream #0:2: Error number -12 occurred
     Last message repeated 5 times
Error while decoding stream #0:4: Error number -12 occurred
frame=  121 fps=0.0 q=0.0 Lsize=   29759kB time=00:00:04.84 
bitrate=50369.5kbits/s
video:27566kB audio:2176kB subtitle:0 data:0 global headers:0kB muxing 
overhead 0.056967%





More information about the ffmpeg-user mailing list