[FFmpeg-trac] #9848(avformat:new): The ID3 metadata obtained in WAV format is missing

FFmpeg trac at avcodec.org
Wed Jul 27 15:56:52 EEST 2022


#9848: The ID3 metadata obtained in WAV format is missing
--------------------------------------+------------------------------------
             Reporter:  Wujian(Chin)  |                    Owner:  (none)
                 Type:  defect        |                   Status:  new
             Priority:  minor         |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  wav id3       |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Comment (by Wujian(Chin)):

 static int wav_read_header(AVFormatContext *s):ff_id3v2_read_dict(pb,
 &ffformatcontext(s)->id3v2_meta, ID3v2_DEFAULT_MAGIC, &id3v2_extra_meta);
 I modified:ff_id3v2_read(s, ID3v2_DEFAULT_MAGIC, &id3v2_extra_meta, 0);
 The displayed result is fixed,as follow:
 system-7e2a26a608a77b8d11f7-3102-9d7f5ffc9-s6wqm:/home/workspace/build #
 ./ffmpeg -i wav_AC-3__CBR_640Kbps_6ch_48.0KHz_3m55s.wav
 ffmpeg version N-107269-gbe4d1caad4 Copyright (c) 2000-2022 the FFmpeg
 developers
   built with gcc 7 (GCC)
   configuration:
   libavutil      57. 27.100 / 57. 27.100
   libavcodec     59. 34.100 / 59. 34.100
   libavformat    59. 25.100 / 59. 25.100
   libavdevice    59.  6.100 / 59.  6.100
   libavfilter     8. 41.100 /  8. 41.100
   libswscale      6.  6.100 /  6.  6.100
   libswresample   4.  6.100 /  4.  6.100
 [wav @ 0x20ef140] ignoring wrong sample_count 11297920
 [wav @ 0x20ef140] Estimating duration from bitrate, this may be inaccurate
 Input #0, wav, from 'wav_AC-3__CBR_640Kbps_6ch_48.0KHz_3m55s.wav':
   Metadata:
     title           : And I Am Telling You I'm Not Going
     comment         : www.torrentazos.com
     '''composer        : Henry Krieger/Tom Eyen'''
     TORG            : Sony
    ''' publisher       : Sony'''
     genre           : Pop
     album_artist    : Bianca Ryan
    ''' artist          : Bianca Ryan'''
     album           : Bianca Ryan
     track           : 7
     date            : 2006
   Duration: 00:03:55.49, bitrate: 640 kb/s
   Stream #0:0: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
 fltp, 640 kb/s
   Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc,
 bt470bg/unknown/unknown), 200x200 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn
 (attached pic)
     Metadata:
       comment         : Cover (front)
 At least one output file must be specified
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9848#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list