Opened 5 years ago

Last modified 5 years ago

#2308 new defect

Transcoding problems with asf / wma lossless files

Reported by: cehoyos Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: asf wmalossless
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by cehoyos)

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/44250

A user uploaded an asf file containing wma lossless that can be transcoded with ffmpeg and ffplay and MPlayer play the output file correctly, but ffmpeg outputs many warnings and the output file does not play correctly with WMP, QuickTime? and vlc.

$ ffmpeg -i testfile3.wmv -vcodec mpeg4 -qscale 5 -strict -2 out.mov
ffmpeg version N-50314-gf6fff8e Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 27 2013 10:29:20 with icc (ICC) 13.1.0 20130121
  configuration: --enable-gpl --disable-indev=jack --cc=/opt/intel/composer_xe_2013.2.146/bin/intel64/icc --cpu=corei7-avx
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[wmv3 @ 0x2d54520] Extra data: 8 bits left, value: 0
Input #0, asf, from 'testfile3.wmv':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: MP@HL
    WM/WMADRCPeakReference: 327
    WM/WMADRCPeakTarget: 327
    WM/WMADRCAverageReference: 432
    WM/WMADRCAverageTarget: 432
    NumberOfFrames  : 1393
    WMFSDKVersion   : 12.0.7600.16385
    IsVBR           : 0
  Duration: 00:00:58.50, start: 0.000000, bitrate: 5265 kb/s
    Stream #0:0: Audio: wmalossless (c[1][0][0] / 0x0163), 44100 Hz, stereo, s16p, 1152 kb/s
    Stream #0:1: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 5000 kb/s, SAR 1:1 DAR 16:9, 24 tbr, 1k tbn, 1k tbc
Please use -q:a or -q:v, -qscale is ambiguous
[wmv3 @ 0x2d54520] Extra data: 8 bits left, value: 0
Output #0, mov, to 'out.mov':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: MP@HL
    WM/WMADRCPeakReference: 327
    WM/WMADRCPeakTarget: 327
    WM/WMADRCAverageReference: 432
    WM/WMADRCAverageTarget: 432
    NumberOfFrames  : 1393
    WMFSDKVersion   : 12.0.7600.16385
    IsVBR           : 0
    encoder         : Lavf54.63.100
    Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 12288 tbn, 24 tbc
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> mpeg4)
  Stream #0:0 -> #0:1 (wmalossless -> aac)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 0
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 272362 DTS: 272362 < 277465 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 273386 DTS: 273386 < 277466 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 274410 DTS: 274410 < 277467 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 275434 DTS: 275434 < 277468 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 276458 DTS: 276458 < 277469 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 278492 DTS: 278492 < 334825 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 279516 DTS: 279516 < 334826 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 280539 DTS: 280539 < 334827 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 281563 DTS: 281563 < 334828 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 282587 DTS: 282587 < 334829 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 283611 DTS: 283611 < 334830 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 282549 DTS: 282549 < 334831 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 283573 DTS: 283573 < 334832 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 284597 DTS: 284597 < 334833 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 285621 DTS: 285621 < 334834 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 288723 DTS: 288723 < 334835 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 289747 DTS: 289747 < 334836 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 290771 DTS: 290771 < 334837 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 291795 DTS: 291795 < 334838 invalid, clipping

...

[mov @ 0x2d55200] st:0 PTS: 2357233 DTS: 2357233 < 2358209 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2367464 DTS: 2367464 < 2368484 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2377696 DTS: 2377696 < 2378715 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2392028 DTS: 2392028 < 2393048 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2402259 DTS: 2402259 < 2403323 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 2403283 DTS: 2403283 < 2403324 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2412491 DTS: 2412491 < 2413554 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 2413515 DTS: 2413515 < 2413555 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2426823 DTS: 2426823 < 2427843 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2455532 DTS: 2455532 < 2456508 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2465763 DTS: 2465763 < 2466739 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2482124 DTS: 2482124 < 2483144 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2496457 DTS: 2496457 < 2497477 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2512818 DTS: 2512818 < 2513882 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 2513842 DTS: 2513842 < 2513883 invalid, clipping
frame= 1320 fps=202 q=5.0 size=   17673kB time=00:00:57.02 bitrate=2538.7kbits/s
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2533325 DTS: 2533325 < 2534344 invalid, clipping
[aac @ 0x2d74ac0] Queue input is backward in time
[mov @ 0x2d55200] st:0 PTS: 2543556 DTS: 2543556 < 2544619 invalid, clipping
[mov @ 0x2d55200] st:0 PTS: 2544580 DTS: 2544580 < 2544620 invalid, clipping
frame= 1393 fps=202 q=5.0 Lsize=   18908kB time=00:00:58.09 bitrate=2666.2kbits/s
video:18058kB audio:804kB subtitle:0 global headers:0kB muxing overhead 0.245388%

Change History (3)

comment:2 Changed 5 years ago by cehoyos

  • Description modified (diff)

comment:3 Changed 5 years ago by cehoyos

  • Keywords wmalossless added; wmall removed
Note: See TracTickets for help on using tickets.