[FFmpeg-devel] [PATCH 1/3] lavf: identify MP2 as a distinct container from MP3

Michael Niedermayer michael at niedermayer.cc
Wed Dec 21 16:46:07 EET 2016


On Tue, Dec 20, 2016 at 10:48:12PM -0600, Rodger Combs wrote:
> This allows us to report the correct codec ID here
> ---
>  libavformat/allformats.c |  2 +-
>  libavformat/mp3dec.c     | 62 +++++++++++++++++++++++++++++++-----------------
>  libavformat/version.h    |  2 +-
>  3 files changed, 42 insertions(+), 24 deletions(-)

this breaks demuxing some files

for example this one:
Input #0, mp3, from 'VIZ010-01_128.mups':
  Metadata:
    title           : VIZ010-01_128
    artist          : Joshua Iz feat. Chez Damier
    album           : Sentimental Love (Remixes)
    TIT1            : VIZ010
    copyright       : © & (P) Vizual Records 2011. All rights reserved.
    encoded_by      : iTunes 10.4.1
    date            : 2011
  Duration: 00:02:00.01, start: 0.000000, bitrate: 267 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1800x1800 [SAR 100:100 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Other
    Stream #0:2: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1800x1800 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Other

after the patch:

VIZ010-01_128.mups: Invalid data found when processing input

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161221/4c09915f/attachment.sig>


More information about the ffmpeg-devel mailing list