Opened 11 years ago

Last modified 11 years ago

#2377 open enhancement

Support lossless mp3HD

Reported by: Frater Linux Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: mp3
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

FFmpeg does not support decoding the lossless layer of mp3HD

$ ffmpeg -i sample-128-and-lossless-mp3HD.mp3
ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers

built on Nov 13 2012 16:03:45 with gcc 4.6.3
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libdirac --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100

[mp3 @ 0x1efe840] Format mp3 detected only with low score of 24, misdetection possible!
[mp3 @ 0x1efe840] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'sample-128-and-lossless-mp3HD.mp3':

Duration: 00:03:39.35, start: 0.000000, bitrate: 666 kb/s

Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s

At least one output file must be specified

Change History (3)

comment:1 by Carl Eugen Hoyos, 11 years ago

Please provide a mp3hd sample and the same content encoded with a lossless encoder supported by FFmpeg.

comment:2 by Frater Linux, 11 years ago

command dd broke mp3HD, I made new sample without dd:

$ ffmpeg -i 1.small-sample-128-and-lossless-mp3HD.mp3
ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers

built on Nov 13 2012 16:03:45 with gcc 4.6.3
configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libdirac --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
libavutil 51. 35.100 / 51. 35.100
libavcodec 53. 61.100 / 53. 61.100
libavformat 53. 32.100 / 53. 32.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 61.100 / 2. 61.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100

[mp3 @ 0xa4b840] Format mp3 detected only with low score of 24, misdetection possible!
[mp3 @ 0xa4b840] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from '1.small-sample-128-and-lossless-mp3HD.mp3':

Duration: 00:02:18.03, start: 0.000000, bitrate: 517 kb/s

Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s

At least one output file must be specified

comment:3 by Carl Eugen Hoyos, 11 years ago

Status: newopen
Summary: Support mp3HDSupport lossless mp3HD

Samples uploaded to http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2377/

For future tickets: Please always provide the console output for latest git head when creating a new report.

$ ffmpeg -i small-sample-128-and-lossless-mp3HD.mp3
ffmpeg version N-51106-g17c1881 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 19 2013 18:26:35 with gcc 4.7 (SUSE Linux)
  configuration: --disable-parser=dvd_nav
  libavutil      52. 19.101 / 52. 19.101
  libavcodec     55.  1.100 / 55.  1.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 47.104 /  3. 47.104
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[mp3 @ 0x2940a60] Format mp3 detected only with low score of 24, misdetection possible!
[mp3 @ 0x2940a60] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mp3, from 'small-sample-128-and-lossless-mp3HD.mp3':
  Duration: 00:02:18.03, start: 0.000000, bitrate: 517 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 127 kb/s
At least one output file must be specified
Note: See TracTickets for help on using tickets.