[FFmpeg-trac] #9764(avcodec:new): MP3 decoding errors on ARMv4 hardware

FFmpeg trac at avcodec.org
Tue Aug 16 18:04:21 EEST 2022


#9764: MP3 decoding errors on ARMv4 hardware
-------------------------------------+-------------------------------------
             Reporter:  David        |                    Owner:  (none)
  Fletcher                           |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  mp3 arm      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by David Fletcher):

 I attached additional USB storage to enable me to run ffmpeg (the
 application) and do the conversion of mp3. The output remains very
 distorted even using the main application instead of the transcode program
 and libraries.

 I'll attach the file truncated for the 2.5MB upload limit
 (s-32-44100_with_ffmpeg (truncated).au) and output listing from the
 conversion is below.

 Thanks for looking at this - there's definitely something wrong not just
 my transcode app. Using ffmpeg with libmad as an mp3 decoder removes this
 problem completely.


 {{{
 ./ffmpeg -i s-32-44100.mp3 s-32-44100_with_ffmpeg.au
 ffmpeg version N-107787-gc469c3c3b1 Copyright (c) 2000-2022 the FFmpeg
 developers
   built with gcc 4.1.0 (GCC)
   configuration: --disable-doc --disable-libxcb --disable-bzlib --disable-
 iconv --disable-lzma --disable-xlib --disable-zlib --disable-cuda
 --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-
 libv4l2 --extra-cflags='-ffast-math \
 -I/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-9tdmi-linux-gnu/arm-9tdmi-
 linux-gnu/include/ \ -I/tmp/reciva/root/include/
 -I/tmp/reciva/root/usr/include/' --enable-cross-compile --cross-
 prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-9tdmi-linux-gnu/bin/arm-
 9tdmi-linux-gnu- --arch=armv4t --target-os=linux --prefix=/tmp/reciva/root
 --disable-iconv --tempprefix=/home/dif/tmp/ --pkg-config=/usr/bin/pkg-
 config --disable-linux-perf --disable-debug --enable-small --disable-vfp
 --disable-neon --enable-asm --enable-gpl --enable-nonfree --disable-vfp
   libavutil      57. 33.101 / 57. 33.101
   libavcodec     59. 42.101 / 59. 42.101
   libavformat    59. 30.100 / 59. 30.100
   libavdevice    59.  8.101 / 59.  8.101
   libavfilter     8. 46.103 /  8. 46.103
   libswscale      6.  8.102 /  6.  8.102
   libswresample   4.  8.100 /  4.  8.100
   libpostproc    56.  7.100 / 56.  7.100
 [mp3 @ 0x13e78d0] Estimating duration from bitrate, this may be inaccurate
 Input #0, mp3, from 's-32-44100.mp3':
   Metadata:
     title           : 190130
     album           : Podnews
     artist          : James Cridland
     album_artist    : James Cridland
     comment         : Visit https://podnews.net to get our daily
 newsletter, free
     track           : 190130
     RAD             :
 {"remoteAudioData":{"episodeID":"generic","trackingUrls":["https://podnews.net/rad"],"events":[{"eventTime":"00:00:00.000","label":"RAD0"},
 {"eventTime":"00:00:56.570","label":"RAD50"}],"podcastID":"podnews"}}
     genre           : Podcast
     copyright       : Amazingly Brilliant Pty Ltd
     encoded_by      : Hindenburg Journalist Pro 1.82.2312
     date            : 2019
   Duration: 00:00:56.72, start: 0.000000, bitrate: 41 kb/s
   Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 32 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16be (native))
 Press [q] to stop, [?] for help
 Output #0, au, to 's-32-44100_with_ffmpeg.au':
   Metadata:
     title           : 190130
     album           : Podnews
     artist          : James Cridland
     album_artist    : James Cridland
     comment         : Visit https://podnews.net to get our daily
 newsletter, free
     track           : 190130
     RAD             :
 {"remoteAudioData":{"episodeID":"generic","trackingUrls":["https://podnews.net/rad"],"events":[{"eventTime":"00:00:00.000","label":"RAD0"},
 {"eventTime":"00:00:56.570","label":"RAD50"}],"podcastID":"podnews"}}
     genre           : Podcast
     copyright       : Amazingly Brilliant Pty Ltd
     encoded_by      : Hindenburg Journalist Pro 1.82.2312
     date            : 2019
     encoder         : Lavf59.30.100
   Stream #0:0: Audio: pcm_s16be ([3][0][0][0] / 0x0003), 44100 Hz, stereo,
 s16, 1411 kb/s
     Metadata:
       encoder         : Lavc59.42.101 pcm_s16be
 size=    9765kB time=00:00:56.65 bitrate=1411.9kbits/s speed=0.147x
 video:0kB audio:9765kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.001040%



 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9764#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list