After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623747 - [ffenc_wmv2] record is unplayable with WMP11 if width is odd
[ffenc_wmv2] record is unplayable with WMP11 if width is odd
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-07 12:54 UTC by Julien Isorce
Modified: 2010-07-07 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2010-07-07 12:54:33 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.
Comment 1 Edward Hervey 2010-07-07 12:59:25 UTC
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.
Comment 2 Julien Isorce 2010-07-07 13:31:43 UTC
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