[FFmpeg-user] Error converting .m4a to .mp3

Bernhard Döbler programmer at bardware.de
Tue Jan 30 01:06:39 EET 2018



Am 28.01.2018 um 22:59 schrieb Carl Eugen Hoyos:
> 2018-01-28 21:53 GMT+01:00 Bernhard Döbler <programmer at bardware.de>:
>
>> I want to convert an mp4 file from iTunes to MP3 using ffmpeg.
>> For on certain file I get error:
> Command line and complete, uncut console output missing.

C:\Users\bd>"C:\Program 
Files\ffmpeg-20180121-78e884f-win64-shared\bin\ffmpeg.exe" -y -i 
"E:\MP3\iTunes\Music\DJ Tomekk\Kimnotyze (Remastered) [Remixes] 
[feat_\01 Kimnotyze (Remastered) [feat. Lil.m4a" -c:a libmp3lame -q:a 2 
-vn  -compression_level 0  -cutoff 19500 Kimnotyze.mp3
ffmpeg version N-89861-g78e884f3fb Copyright (c) 2000-2018 the FFmpeg 
developers
   built with gcc 7.2.0 (GCC)
   configuration: --disable-static --enable-shared --enable-gpl 
--enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus 
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora 
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg 
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa 
--enable-libspeex --enable-libmfx --enable-amf --enable-cuda 
--enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 
--enable-avisynth
   libavutil      56.  7.100 / 56.  7.100
   libavcodec     58.  9.100 / 58.  9.100
   libavformat    58.  5.100 / 58.  5.100
   libavdevice    58.  0.101 / 58.  0.101
   libavfilter     7. 11.101 /  7. 11.101
   libswscale      5.  0.101 /  5.  0.101
   libswresample   3.  0.101 /  3.  0.101
   libpostproc    55.  0.100 / 55.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000025c9a13e340] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\MP3\iTunes\Music\DJ 
Tomekk\Kimnotyze (Remastered) [Remixes] [feat_\01 Kimnotyze (Remastered) 
[feat. Lil.m4a':
   Metadata:
     major_brand     : M4A
     minor_version   : 0
     compatible_brands: M4A mp42isom
     creation_time   : 1998-05-11T06:03:56.000000Z
     iTunSMPB        :  00000000 00000840 00000314 00000000007C1CAC 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     iTunNORM        :  00001D6E 00001E33 00015D8B 00015527 000099D5 
000099D5 00007B9F 00007BA1 00016DB7 00010252
     title           : Kimnotyze (Remastered) [feat. Lil Kim & Trooper 
Da Don]
     artist          : DJ Tomekk
     album_artist    : DJ Tomekk
     composer        : DJ Tomekk
     album           : Kimnotyze (Remastered) [Remixes] [feat. Lil Kim & 
Trooper Da Don] - EP
     genre           : Hip-Hop/Rap
     track           : 1/4
     disc            : 1/1
     compilation     : 0
     date            : 2012-10-05T07:00:00Z
     media_type      : 1
     purchase_date   : 2014-05-21 20:24:56
     sort_name       : Kimnotyze (Remastered) [feat. Lil Kim & Trooper 
Da Don]
     sort_album      : Kimnotyze (Remastered) [Remixes] [feat. Lil Kim & 
Trooper Da Don] - EP
     sort_artist     : DJ Tomekk
   Duration: 00:03:04.51, start: 0.047889, bitrate: 284 kb/s
     Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, 
stereo, fltp, 259 kb/s (default)
     Metadata:
       creation_time   : 1998-05-11T06:03:56.000000Z
     Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 
600x600 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Stream mapping:
   Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'Kimnotyze.mp3':
   Metadata:
     major_brand     : M4A
     minor_version   : 0
     compatible_brands: M4A mp42isom
     sort_artist     : DJ Tomekk
     iTunSMPB        :  00000000 00000840 00000314 00000000007C1CAC 
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     iTunNORM        :  00001D6E 00001E33 00015D8B 00015527 000099D5 
000099D5 00007B9F 00007BA1 00016DB7 00010252
     TIT2            : Kimnotyze (Remastered) [feat. Lil Kim & Trooper 
Da Don]
     TPE1            : DJ Tomekk
     TPE2            : DJ Tomekk
     TCOM            : DJ Tomekk
     TALB            : Kimnotyze (Remastered) [Remixes] [feat. Lil Kim & 
Trooper Da Don] - EP
     TCON            : Hip-Hop/Rap
     TRCK            : 1/4
     TPOS            : 1/1
     TCMP            : 0
     TDRC            : 2012-10-05T07:00:00Z
     media_type      : 1
     purchase_date   : 2014-05-21 20:24:56
     sort_name       : Kimnotyze (Remastered) [feat. Lil Kim & Trooper 
Da Don]
     sort_album      : Kimnotyze (Remastered) [Remixes] [feat. Lil Kim & 
Trooper Da Don] - EP
     TSSE            : Lavf58.5.100
     Stream #0:0(eng): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp 
(default)
     Metadata:
       creation_time   : 1998-05-11T06:03:56.000000Z
       encoder         : Lavc58.9.100 libmp3lame
Assertion failed!

Program: C:\Program 
Files\ffmpeg-20180121-78e884f-win64-shared\bin\ffmpeg.exe
File: ../../src/lame-3.100/libmp3lame/vbrquantize.c, Line 783

Expression: vbrsf[sfb] >= vbrsfmin[sfb]

This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information.

The -cutoff Arguments seems to  make a difference. No exception is 
thrown when I omit this argument.

When I take the wav file and call lame like
lame.exe -V 2 -q 0 --lowpass 19.5 out.wav out.mp3
No exception is thrown.

Best,
Bernhard


More information about the ffmpeg-user mailing list