[FFmpeg-devel] wmv3: poor decoding of some files

Nicolas George nicolas.george
Wed Jun 27 15:07:03 CEST 2007


Reimar D?ffinger tells me it is not a known issue, so I report it fully

The decoding of some WMV3 files, and in particular the videos published by
the French TV "Canal+" is quite poor: some frames become garbled (as if it
decoded a P-frame without the corresponding I-frame), and the whole is much
too pink.

Such a video can be found at:
And there is a copy at:

The full output of ffmpeg is:

<------------------------------ cut here ------------------------------>

$ ffmpeg -i /data/big/guignols/guignols-20070622.wmv
FFmpeg version SVN-r9446, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/opt/ffmpeg-20070627 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-gpl --enable-libgsm --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid --enable-libx264 --enable-liba52 --enable-x11grab --enable-swscaler --enable-pp --enable-shared --enable-pthreads
  libavutil version: 49.4.1
  libavcodec version: 51.40.4
  libavformat version: 51.12.1
  built on Jun 27 2007 14:51:59, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
[wmv3 @ 0x2ba4df1d9b70]WMV3 Complex Profile is not fully supported
[wmv3 @ 0x2ba4df1d9b70]1 for reserved RES_X8 is forbidden
[wmv3 @ 0x2ba4df1d9b70]0 for reserved RES_FASTTX is forbidden
[wmv3 @ 0x2ba4df1d9b70]Read 16 bits in overflow

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from '/data/big/guignols/guignols-20070622.wmv':
  Duration: 00:07:51.3, start: 3.065000, bitrate: 315 kb/s
  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 48 kb/s
  Stream #0.1: Video: wmv3, yuv420p, 240x180, 256 kb/s, 25.00 fps(r)
Must supply at least one output file

<------------------------------ cut here ------------------------------>

ffplay also says:

[wmv3 @ 0x2b3dea15eb70]warning: first frame is no keyframe

The information message is quite clear that problems with such a file are
normal, but maybe having a sample file near at hand would help someone more
competent than me to fix it.

I must add that mplayer with the win32 proprietary codec read it correctly.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070627/efe0cdcb/attachment.pgp>

More information about the ffmpeg-devel mailing list