[FFmpeg-trac] #5340(undetermined:new): ffmpeg with WMV input renders incorrect audio length (with some codecs)

FFmpeg trac at avcodec.org
Wed Mar 16 11:00:17 CET 2016


#5340: ffmpeg with WMV input renders incorrect audio length (with some codecs)
-------------------------------------+-------------------------------------
             Reporter:  veganaiZe    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  wmv sync =>


Comment:

 I tested the following and cannot reproduce the issue:
 {{{
 $ ffmpeg -i ScreenCapture_2-28-2016\ 12.45.57\ PM.wmv out.aac
 ffmpeg version N-79057-gfa3eecf Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.103 / 57. 28.103
   libavformat    57. 28.102 / 57. 28.102
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, asf, from 'ScreenCapture_2-28-2016 12.45.57 PM.wmv':
   Metadata:
     VBR Peak        : 4569000
     DeviceConformanceTemplate: AP
     WM/WMADRCPeakReference: 15798
     WM/WMADRCPeakTarget: 15798
     WM/WMADRCAverageReference: 536
     WM/WMADRCAverageTarget: 536
     WMFSDKVersion   : 12.0.9600.17415
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 1
   Duration: 00:09:51.39, start: 0.000000, bitrate: 353 kb/s
     Stream #0:0(eng): Audio: wmapro (b[1][0][0] / 0x0162), 44100 Hz,
 stereo, fltp, 64 kb/s
     Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p,
 1068x640 [SAR 139:139 DAR 267:160], 2664 kb/s, 20 tbr, 1k tbn, 40 tbc
 Output #0, adts, to 'out.aac':
   Metadata:
     VBR Peak        : 4569000
     DeviceConformanceTemplate: AP
     WM/WMADRCPeakReference: 15798
     WM/WMADRCPeakTarget: 15798
     WM/WMADRCAverageReference: 536
     WM/WMADRCAverageTarget: 536
     WMFSDKVersion   : 12.0.9600.17415
     WMFSDKNeeded    : 0.0.0.0000
     IsVBR           : 1
     encoder         : Lavf57.28.102
     Stream #0:0(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 128 kb/s
     Metadata:
       encoder         : Lavc57.28.103 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (wmapro (native) -> aac (native))
 Press [q] to stop, [?] for help
 [aac @ 0x3a82760] Queue input is backward in timeits/s speed=25.8x
 [adts @ 0x3a81560] Application provided invalid, non monotonically
 increasing dts to muxer in stream 0: 19174365 >= 19173357
 size=    9407kB time=00:09:51.45 bitrate= 130.3kbits/s speed=  26x
 video:0kB audio:9233kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.885651%
 [aac @ 0x3a82760] Qavg: 29262.689
 }}}
 The output file is 9:51 afaict, what do I miss?

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


More information about the FFmpeg-trac mailing list