[FFmpeg-trac] #825(undetermined:new): Track number metadata read from ASF (WMAL) off by one

FFmpeg trac at avcodec.org
Sat Dec 24 04:04:49 CET 2011


#825: Track number metadata read from ASF (WMAL) off by one
-------------------------------------+-------------------------------------
             Reporter:  fatcatfan    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 While attempting to batch convert some old WMA Lossless files and copy the
 metadata, I noticed that the track number gets decremented by one in the
 process (see track number as reported by mediainfo after ffmpeg output):

 Z:\Arlo Guthrie\tmp>ffmpeg -v 9 -loglevel 99 -i "Arlo Guthrie.The Best Of
 Arlo Guthrie.09.Last To Leave.wma"
 ffmpeg version N-36088-gdd1fb65, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec 22 2011 12:45:32 with gcc 4.6.2
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
   libavutil      51. 32.100 / 51. 32.100
   libavcodec     53. 47.100 / 53. 47.100
   libavformat    53. 28.100 / 53. 28.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 53.  0 /  2. 53.  0
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  5.100 /  0.  0.100
   libpostproc    51.  2.100 / 51.  2.100
 [asf @ 00000000002FD020] Format asf probed with size=2048 and score=100
 [asf @ 00000000002FD020] Unsupported value type 1 in tag
 ASFLeakyBucketPairs.
 [asf @ 00000000002FD020] gpos mismatch our pos=24, end=26
 [asf @ 00000000002FD020] gpos mismatch our pos=24, end=3727
 [asf @ 00000000002FD020] gpos mismatch our pos=24, end=34
 [asf @ 00000000002FD020] gpos mismatch our pos=24, end=226
 [asf @ 00000000002FD020] gpos mismatch our pos=24, end=32
 [wmalossless @ 0000000000356EC0] err{or,}_recognition separate: 1; 1
 [wmalossless @ 0000000000356EC0] err{or,}_recognition combined: 1; 10001
 [wmalossless @ 0000000000356EC0] Unsupported bit depth: 0
 [wmalossless @ 0000000000356EC0] [10] [0] [3] [0] [0] [0] [0] [0] [0] [0]
 [0] [0] [0] [0] [21] [1] [0] [0]
 [asf @ 00000000002FD020] parser not found for codec wmalossless, packets
 or times may be invalid.
 [asf @ 00000000002FD020] All info found
 Input #0, asf, from 'Arlo Guthrie.The Best Of Arlo Guthrie.09.Last To
 Leave.wma':
   Metadata:
     album_artist    : Arlo Guthrie
     album           : The Best Of Arlo Guthrie
     genre           : Folk
     WM/Year         : 1977
     WMFSDKVersion   : 10.00.00.3802
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 1
     track           : 8
     title           : Last To Leave
     artist          : Arlo Guthrie
   Duration: 00:02:35.24, start: 0.000000, bitrate: 735 kb/s
     Stream #0:0, 1, 1/1000: Audio: wmalossless (c[1][0][0] / 0x0163),
 44100 Hz, stereo, flt, 733 kb/s
 At least one output file must be specified


 Z:\Arlo Guthrie\tmp>mediainfo "Arlo Guthrie.The Best Of Arlo
 Guthrie.09.Last To Leave.wma"
 General
 Complete name                            : Arlo Guthrie.The Best Of Arlo
 Guthrie.09.Last To Leave.wma
 Format                                   : Windows Media
 File size                                : 13.6 MiB
 Duration                                 : 2mn 35s
 Overall bit rate mode                    : Variable
 Overall bit rate                         : 735 Kbps
 Maximum Overall bit rate                 : 778 Kbps
 Album                                    : The Best Of Arlo Guthrie
 Track name                               : Last To Leave
 Track name/Position                      : 9
 Performer                                : Arlo Guthrie / Arlo Guthrie
 Genre                                    : Folk
 Recorded date                            : 1977
 Encoded date                             : UTC 2006-06-08 00:29:40.396

 Audio
 ID                                       : 1
 Format                                   : WMA
 Format profile                           : Lossless
 Codec ID                                 : 163
 Codec ID/Info                            : Windows Media Audio
 Description of the codec                 : Windows Media Audio 9.1
 Lossless - VBR Quality 100, 44 kHz, 2 channel 16 bit 1-pass VBR
 Duration                                 : 2mn 35s
 Bit rate mode                            : Variable
 Bit rate                                 : 733 Kbps
 Channel(s)                               : 2 channels
 Sampling rate                            : 44.1 KHz
 Bit depth                                : 16 bits
 Stream size                              : 13.6 MiB (100%)

 Let me know if a sample file would be helpful and I'll upload to the FTP.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/825>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list