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

FFmpeg trac at avcodec.org
Mon Dec 26 05:46:26 CET 2011


#825: Track number metadata read from ASF (WMAL) off by one
------------------------------------+------------------------------------
             Reporter:  fatcatfan   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  asf         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by fatcatfan):

 WMP as well as VLC and MP3tag all report the track number as expected, one
 higher than reported by ffmpeg. I tested it with a non-lossless file with
 similar results:

 Z:\Arlo Guthrie\tmp>ffmpeg -v 9 -loglevel 99 -i yohoho.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-libope
 ncore-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 @ 0000000001FBCE50] Format asf probed with size=2048 and score=100
 [asf @ 0000000001FBCE50] gpos mismatch our pos=24, end=26
 [asf @ 0000000001FBCE50] gpos mismatch our pos=24, end=1233
 [asf @ 0000000001FBCE50] gpos mismatch our pos=24, end=34
 [asf @ 0000000001FBCE50] gpos mismatch our pos=24, end=166
 [asf @ 0000000001FBCE50] gpos mismatch our pos=24, end=32
 [wmav2 @ 0000000000315CA0] err{or,}_recognition separate: 1; 1
 [wmav2 @ 0000000000315CA0] err{or,}_recognition combined: 1; 10001
 [wmav2 @ 0000000000315CA0] Unsupported bit depth: 0
 [asf @ 0000000001FBCE50] parser not found for codec wmav2, packets or
 times may be invalid.
 [asf @ 0000000001FBCE50] All info found
 Input #0, asf, from 'yohoho.wma':
   Metadata:
     WMFSDKVersion   : 9.00.00.2980
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 0
     WM/ToolName     : Adobe Audition
     WM/ToolVersion  : 1.0.3211.2
     track           : 4
   Duration: 00:02:38.11, start: 0.000000, bitrate: 16 kb/s
     Stream #0:0, 1, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 22050 Hz,
 1 channels, s16, 16 kb/s



 Z:\Arlo Guthrie\tmp>mediainfo yohoho.wma
 General
 Complete name                            : yohoho.wma
 Format                                   : Windows Media
 File size                                : 325 KiB
 Duration                                 : 2mn 38s
 Overall bit rate mode                    : Constant
 Overall bit rate                         : 16.8 Kbps
 Maximum Overall bit rate                 : 16.6 Kbps
 Track name/Position                      : 5
 Encoded date                             : UTC 2004-09-18 17:51:46.711
 Writing application                      : Adobe Audition 1.0.3211.2

 Audio
 ID                                       : 1
 Format                                   : WMA
 Format version                           : Version 2
 Codec ID                                 : 161
 Codec ID/Info                            : Windows Media Audio
 Description of the codec                 : Windows Media Audio 9 -  16
 kbps, 22 kHz, mono 1-pass CBR
 Duration                                 : 2mn 38s
 Bit rate mode                            : Constant
 Bit rate                                 : 16.0 Kbps
 Channel(s)                               : 1 channel
 Sampling rate                            : 22.05 KHz
 Bit depth                                : 16 bits
 Stream size                              : 309 KiB (95%)

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


More information about the FFmpeg-trac mailing list