[FFmpeg-user] How to mitigate stream 1 decoding error?

Bernard Barton Jr. zbernie at icloud.com
Tue Apr 9 01:07:19 CEST 2013


Here's the ffmpeg command without variables, and the complete output as requested:

bernie at imac:/Volumes/Media Library/iTunes/iTunes Media/Music/Andy Williams/Merry Christmas> ffmpeg -i 02\ Have\ Yourself\ A\ Merry\ Little\ Christmas.m4a -acodec libmp3lame -ab 256k -vn -y -f mp3 /tmp/test.mp3
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 14 2013 13:28:28 with Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfaac
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd21a032600] stream 0, timescale not set
[png @ 0x7fd21a038800] Missing png signature
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd21a032600] max_analyze_duration 5000000 reached at 5015510
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd21a032600] decoding for stream 1 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd21a032600] Could not find codec parameters for stream 1 (Video: png): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '02 Have Yourself A Merry Little Christmas.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2011-07-26 04:49:15
    title           : Have Yourself A Merry Little Christmas
    artist          : Andy Williams
    album_artist    : Andy Williams
    composer        : R. Blane
    album           : Merry Christmas
    genre           : Holiday
    track           : 2/12
    disc            : 1/1
    date            : 2004
    media_type      : 1
  Duration: 00:03:23.43, start: 0.000000, bitrate: 304 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 281 kb/s
    Metadata:
      creation_time   : 2011-07-26 04:49:15
    Stream #0:1: Video: png, 90k tbr, 90k tbn, 90k tbc
Output #0, mp3, to '/tmp/test.mp3':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    media_type      : 1
    TIT2            : Have Yourself A Merry Little Christmas
    TPE1            : Andy Williams
    TPE2            : Andy Williams
    TCOM            : R. Blane
    TALB            : Merry Christmas
    TCON            : Holiday
    TRCK            : 2/12
    TPOS            : 1/1
    TDRL            : 2004
    TSSE            : Lavf54.59.106
    Stream #0:0(eng): Audio: mp3, 44100 Hz, stereo, fltp, 256 kb/s
    Metadata:
      creation_time   : 2011-07-26 04:49:15
Stream mapping:
  Stream #0:0 -> #0:0 (aac -> libmp3lame)
Press [q] to stop, [?] for help
size=    6358kB time=00:03:23.43 bitrate= 256.0kbits/s    
video:0kB audio:6357kB subtitle:0 global headers:0kB muxing overhead 0.018497%



On Apr 8, 2013, at 4:41 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Bernard Barton Jr. <zbernie <at> icloud.com> writes:
> 
>> ffmpeg -i "$fname" -acodec libmp3lame -ab 256k -vn 
>> -y -f mp3 "$dir/$basefile.mp3"
> 
> Please provide your actual command line (one without 
> variables but actual paths) together with the complete, 
> uncut console output.
> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list