[FFmpeg-trac] #2681(undetermined:new): Invalid frame duration reported by ffprobe for wmav2 audio stream inside a wmv container

FFmpeg trac at avcodec.org
Mon Jun 17 19:41:16 CEST 2013


#2681: Invalid frame duration reported by ffprobe for wmav2 audio stream inside a
wmv container
---------------------------------+----------------------------------------
             Reporter:  neerfri  |                    Owner:
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  undetermined
              Version:  1.2.1    |               Resolution:
             Keywords:  wmav2    |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+----------------------------------------

Comment (by neerfri):

 When trying to use the same input file for ffmpeg I get a "Queue input is
 backward in time" error:


 {{{
 % ffmpeg -v 9 -loglevel debug -i sample.wmv output.mp3
 ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
   built on Jun 14 2013 12:31:13 with Apple LLVM version 4.2
 (clang-425.0.28) (based on LLVM 3.2svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.1 --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
 --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-
 cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-
 libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora
 --enable-libvorbis --enable-librtmp --enable-libspeex --enable-
 libschroedinger --enable-libfdk-aac
   libavutil      52. 18.100 / 52. 18.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 42.103 /  3. 42.103
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set libav* logging level)
 with argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
 logging level) with argument 'debug'.
 Reading option '-i' ... matched as input file with argument 'sample.wmv'.
 Reading option 'output.mp3' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set libav* logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input file sample.wmv.
 Successfully parsed a group of options.
 Opening an input file: sample.wmv.
 [asf @ 0x7fdfc1806600] Format asf probed with size=2048 and score=100
 [asf @ 0x7fdfc1806600] gpos mismatch our pos=24, end=100
 [asf @ 0x7fdfc1806600] File position before avformat_find_stream_info() is
 976
 [asf @ 0x7fdfc1806600] parser not found for codec wmav2, packets or times
 may be invalid.
     Last message repeated 1 times
 [asf @ 0x7fdfc1806600] All info found
 [asf @ 0x7fdfc1806600] File position after avformat_find_stream_info() is
 3039
 Guessed Channel Layout for  Input Stream #0.0 : stereo
 Input #0, asf, from 'sample.wmv':
   Metadata:
     WMFSDKNeeded    : 0.0.0.0000
     DeviceConformanceTemplate: MP at HL
     WMFSDKVersion   : 12.0.7601.17514
     IsVBR           : 1
     VBR Peak        : 6208925
     Buffer Average  : 62721
     encoded_by      : Sorenson Squeeze
     Encoded_With    : Sorenson Squeeze
     encoder         : Lavf54.63.104
   Duration: 00:00:30.08, start: 0.000000, bitrate: 201 kb/s
     Stream #0:0, 1, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz,
 stereo, fltp, 127 kb/s
 Successfully opened the file.
 Parsing a group of options: output file output.mp3.
 Successfully parsed a group of options.
 Opening an output file: output.mp3.
 Successfully opened the file.
 [abuffer @ 0x7fdfc140f140] Setting entry with key 'time_base' to value
 '1/48000'
 [abuffer @ 0x7fdfc140f140] Setting entry with key 'sample_rate' to value
 '48000'
 [abuffer @ 0x7fdfc140f140] Setting entry with key 'sample_fmt' to value
 'fltp'
 [abuffer @ 0x7fdfc140f140] Setting entry with key 'channel_layout' to
 value '0x3'
 [graph 0 input from stream 0:0 @ 0x7fdfc140dcc0] tb:1/48000 samplefmt:fltp
 samplerate:48000 chlayout:0x3
 [aformat @ 0x7fdfc140f680] Setting entry with key 'sample_fmts' to value
 's32p,fltp,s16p'
 [aformat @ 0x7fdfc140f680] Setting entry with key 'sample_rates' to value
 '44100,48000,32000,22050,24000,16000,11025,12000,8000'
 [aformat @ 0x7fdfc140f680] Setting entry with key 'channel_layouts' to
 value '0x4,0x3'
 Output #0, mp3, to 'output.mp3':
   Metadata:
     WMFSDKNeeded    : 0.0.0.0000
     DeviceConformanceTemplate: MP at HL
     WMFSDKVersion   : 12.0.7601.17514
     IsVBR           : 1
     VBR Peak        : 6208925
     Buffer Average  : 62721
     TENC            : Sorenson Squeeze
     Encoded_With    : Sorenson Squeeze
     TSSE            : Lavf54.63.104
     Stream #0:0, 0, 1/90000: Audio: mp3, 48000 Hz, stereo, fltp
 Stream mapping:
   Stream #0:0 -> #0:0 (wmav2 -> libmp3lame)
 Press [q] to stop, [?] for help
 [libmp3lame @ 0x7fdfc181f600] Queue input is backward in time
 [mp3 @ 0x7fdfc181e200] st:0 PTS: 10168 DTS: 10168 < 10889 invalid,
 clipping
 [output stream 0:0 @ 0x7fdfc140f3c0] EOF on sink link output stream
 0:0:default.
 No more output streams to write to, finishing.
 [libmp3lame @ 0x7fdfc181f600] Trying to remove 1071 more samples than
 there are in the queue
 size=     472kB time=00:00:30.10 bitrate= 128.4kbits/s
 video:0kB audio:471kB subtitle:0 global headers:0kB muxing overhead
 0.102344%
 Statistics: 759376 bytes read, 0 seeks
 }}}

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


More information about the FFmpeg-trac mailing list