GNOME Bugzilla – Bug 623747
[ffenc_wmv2] record is unplayable with WMP11 if width is odd
Last modified: 2010-07-07 13:31:43 UTC
* steps to reproduce: run the following pipeline on linux (or windows): gst-launch videotestsrc num_buffers=100 ! "video/x-raw-yuv, width=525" ! ffenc_wmv2 ! asfmux ! filesink location=sample.asf * Actual result: sample.asf is not playable by Window Media Player (11) on winXP. * Excepted result: Should be playbale by WMP. * More infos: It's happen only if the width is 'odd' (no matter the height). And I get the same result with avimux instead of asfmux. So the problem comes from ffenc_wmv2. No problem with ffenc_msmpeg4 + avimux. Totem and VLC can play all of them so pb only from WMP11. A good test would be to try to create an asf (with odd width) with an other tool than gst-launch. For example mencoder, but mencoder -ovc help tell me that I have not wmv2 available. Note that this is a very particular context where the player cannot be other than WMP. The problem described is clearly from WMP (and the solution is pretty easy: use even width) but in case something worst is behing this, I decided to file this bug.
You might want to try reproducing the issue with the ffmpeg/ffplay command line utility. If you can't manage to reproduce the issue with ffmpeg/ffplay, re-open this bug.
I wanted to generate a such asf (odd video width) but the following command: ffmpeg -i playable_wmp_sample.asf -vcodec wmv2 -s 101:100 res.asf tells me: "Frame size must be a multiple of 2" :P