[FFmpeg-trac] #4714(undetermined:new): wmalossless decoder is not lossless

FFmpeg trac at avcodec.org
Sat Jul 11 23:12:50 CEST 2015


#4714: wmalossless decoder is not lossless
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 ffmpeg's decoder doesn't decode the end of the file (there should be a
 little more data decoded, see wav file for comparision)

 ffmpeg -i test.wav -f s16le input.pcm

 ffmpeg -i test.wma -f s16le ffmpeg.pcm

 input.pcm should match ffmpeg.pcm, but it doesn't



 input wav file:

 http://www.datafilehost.com/d/f8487fd6

 input wma file:

 http://www.datafilehost.com/d/c0e70968

 {{{
 C:\>ffmpeg -i test.wma out.wav
 ffmpeg version N-73510-g033dc39 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --
 enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
 --enable-l
 ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 --enab
 le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --en
 able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --ena
 ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-
 amrwbenc
  --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
 --enabl
 e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
 --ena
 ble-decklink --enable-zlib
   libavutil      54. 28.100 / 54. 28.100
   libavcodec     56. 47.100 / 56. 47.100
   libavformat    56. 40.100 / 56. 40.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 21.100 /  5. 21.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, asf, from 'test.wma':
   Metadata:
     WMFSDKNeeded    : 0.0.0.0000
     DeviceConformanceTemplate: N1
     WM/WMADRCPeakReference: 32767
     WM/WMADRCPeakTarget: 32767
     WM/WMADRCAverageReference: 11722
     WM/WMADRCAverageTarget: 11722
     WMFSDKVersion   : 11.0.5721.5275
     IsVBR           : 1
   Duration: 00:00:30.01, start: 0.000000, bitrate: 894 kb/s
     Stream #0:0(pol): Audio: wmalossless (c[1][0][0] / 0x0163), 44100 Hz,
 stereo
 , s16p, 1152 kb/s
 Output #0, wav, to 'out.wav':
   Metadata:
     WMFSDKNeeded    : 0.0.0.0000
     DeviceConformanceTemplate: N1
     WM/WMADRCPeakReference: 32767
     WM/WMADRCPeakTarget: 32767
     WM/WMADRCAverageReference: 11722
     WM/WMADRCAverageTarget: 11722
     WMFSDKVersion   : 11.0.5721.5275
     IsVBR           : 1
     ISFT            : Lavf56.40.100
     Stream #0:0(pol): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo
 , s16, 1411 kb/s
     Metadata:
       encoder         : Lavc56.47.100 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (wmalossless (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 28665; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 30713; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 32761; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 34809; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 32766; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous: 38894,
 curre
 nt: 34814; changing to 38894. This may result in incorrect timestamps in
 the out
 put file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 139262, curr
 ent: 139224; changing to 139262. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 206843, curr
 ent: 204756; changing to 206843. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 206843, curr
 ent: 206804; changing to 206843. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 358395, curr
 ent: 358357; changing to 358395. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 389108, curr
 ent: 387066; changing to 389108. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 409595, curr
 ent: 409557; changing to 409595. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 460796, curr
 ent: 460757; changing to 460796. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 632830, curr
 ent: 632791; changing to 632830. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 837630, curr
 ent: 837591; changing to 837630. This may result in incorrect timestamps
 in the
 output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 1005563, cur
 rent: 1005524; changing to 1005563. This may result in incorrect
 timestamps in t
 he output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 1056763, cur
 rent: 1056724; changing to 1056763. This may result in incorrect
 timestamps in t
 he output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 1107963, cur
 rent: 1107924; changing to 1107963. This may result in incorrect
 timestamps in t
 he output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 1159163, cur
 rent: 1159124; changing to 1159163. This may result in incorrect
 timestamps in t
 he output file.
 [wav @ 034f41e0] Non-monotonous DTS in output stream 0:0; previous:
 1228797, cur
 rent: 1228758; changing to 1228797. This may result in incorrect
 timestamps in t
 he output file.
 size=    5160kB time=00:00:30.09 bitrate=1404.7kbits/s
 video:0kB audio:5160kB subtitle:0kB other streams:0kB global headers:0kB
 muxing
 overhead: 0.001476%
 }}}

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


More information about the FFmpeg-trac mailing list