Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#5700 closed enhancement (fixed)

Read id3v2 in wav

Reported by: Samuel Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: id3v2 wav
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When i try to obtain the embedded CoverArt from a WAV files, output is not generated.

Command line:
ffmpeg -v 9 -loglevel 99 -i semesta.wav coverwav.jpg -report

ffmpeg version N-80694-g074fdf4 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 26.100 / 55. 26.100
  libavcodec     57. 47.100 / 57. 47.100
  libavformat    57. 40.101 / 57. 40.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.102 /  6. 46.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'semesta.wav'.
Reading option 'coverwav.jpg' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file semesta.wav.
Successfully parsed a group of options.
Opening an input file: semesta.wav.
[file @ 033ca2c0] Setting default whitelist 'file,crypto'
[wav @ 033c9940] Format wav probed with size=2048 and score=99
[wav @ 033c9940] Before avformat_find_stream_info() pos: 44 bytes read:131072 seeks:3 nb_streams:1
[wav @ 033c9940] probing stream 0 pp:32
[wav @ 033c9940] probing stream 0 pp:31
[wav @ 033c9940] probing stream 0 pp:30
[wav @ 033c9940] probing stream 0 pp:29
[wav @ 033c9940] probing stream 0 pp:28
[wav @ 033c9940] probing stream 0 pp:27
[wav @ 033c9940] probing stream 0 pp:26
[wav @ 033c9940] probing stream 0 pp:25
[wav @ 033c9940] probing stream 0 pp:24
[wav @ 033c9940] probing stream 0 pp:23
[wav @ 033c9940] probing stream 0 pp:22
[wav @ 033c9940] probing stream 0 pp:21
[wav @ 033c9940] probing stream 0 pp:20
[wav @ 033c9940] probing stream 0 pp:19
[wav @ 033c9940] probing stream 0 pp:18
[wav @ 033c9940] probing stream 0 pp:17
[wav @ 033c9940] probing stream 0 pp:16
[wav @ 033c9940] probing stream 0 pp:15
[wav @ 033c9940] probing stream 0 pp:14
[wav @ 033c9940] probing stream 0 pp:13
[wav @ 033c9940] probing stream 0 pp:12
[wav @ 033c9940] probing stream 0 pp:11
[wav @ 033c9940] probing stream 0 pp:10
[wav @ 033c9940] probing stream 0 pp:9
[wav @ 033c9940] probing stream 0 pp:8
[wav @ 033c9940] probing stream 0 pp:7
[wav @ 033c9940] probing stream 0 pp:6
[wav @ 033c9940] probing stream 0 pp:5
[wav @ 033c9940] probing stream 0 pp:4
[wav @ 033c9940] probing stream 0 pp:3
[wav @ 033c9940] probing stream 0 pp:2
[wav @ 033c9940] probing stream 0 pp:1
[wav @ 033c9940] probed stream 0
[wav @ 033c9940] parser not found for codec pcm_s16le, packets or times may be invalid.
[wav @ 033c9940] All info found
[wav @ 033c9940] After avformat_find_stream_info() pos: 204844 bytes read:360448 seeks:3 frames:50
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'semesta.wav':
  Duration: 00:04:47.47, bitrate: 1416 kb/s
    Stream #0:0, 50, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Successfully opened the file.
Parsing a group of options: output file coverwav.jpg.
Successfully parsed a group of options.
Opening an output file: coverwav.jpg.
Output #0, image2, to 'coverwav.jpg':
Output file #0 does not contain any stream
[AVIOContext @ 033ca400] Statistics: 360448 bytes read, 3 seeks

Attachments (1)

MediaInfo_WAV.txt (1.4 KB ) - added by Samuel 8 years ago.
WAV_MediaInfo_5700

Download all attachments as: .zip

Change History (6)

by Samuel, 8 years ago

Attachment: MediaInfo_WAV.txt added

WAV_MediaInfo_5700

comment:1 by Samuel, 8 years ago

The WAV file can be downloaded there (48MB):
https://we.tl/Syd2N7NAQL

comment:2 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavformat
Keywords: id3v2 wav added
Priority: normalwish
Summary: WAV CoverArt not generatedRead id3v2 in wav
Type: defectenhancement

Does WMP support the metadata and cover art in the file you uplaoded?

comment:3 by Samuel, 8 years ago

Sorry, i don't have WMP, but i can correctly extract the CoverArt with MediaInfo and saw it after a Base64 convertion.
MP3Tag, AudioShell or TagScanner are able to support, to display all informations correctly as well.

Last edited 8 years ago by Samuel (previous) (diff)

comment:4 by Elon Musk, 5 years ago

Resolution: fixed
Status: newclosed

comment:5 by Samuel, 5 years ago

Thank you :)

Note: See TracTickets for help on using tickets.