GNOME Bugzilla – Bug 531857
Can't play WVC1 videos
Last modified: 2008-05-07 09:48:42 UTC
gstreamer-plugins-ugly-0.10.7-1.lvn9 gstreamer-ffmpeg-0.10.3-3.lvn9 $ totem Test_1440x576_WVC1_6Mbps.wmv <snip> ** Message: don't know how to handle video/x-asf-unknown, fourcc=(fourcc)WVC1, format=(fourcc)WVC1, framerate=(fraction)25/1 ** Message: Error: You do not have a decoder installed to handle this file. You might need to install the necessary plugins. gstplaybasebin.c(2280): prepare_output (): /play <snip> Samples available at: http://samples.mplayerhq.hu/V-codecs/WVC1/
With latest CVS I get: FlightSimX_720p60_51_15Mbps.wmv: ** Message: don't know how to handle audio/x-wma, wmaversion=(int)3, bitrate=(int)384000, depth=(int)24, rate=(int)48000, channels=(int)6, block_align=(int)16384, codec_data=(buffer)18003f0000000000000000000000e0000000 Test_1440x576_WVC1_6Mbps.wmv: 0:00:02.113567363 28450 0x8757c88 ERROR ffmpeg :0:: Reserved RES_SM=2 is forbidden In theory we should be able to play WVC1 videos with ffdec_vc1 I guess and afsdemux gives correct caps for the video for me: /playbin0/decodebin0/asfdemux0.video_00: caps = video/x-wmv, wmvversion=(int)3, fourcc=(fourcc)WVC1, width=(int)1440, height=(int)576, codec_data=(buffer)250000010fdbbe2cf11f88800000010e10c4b3c47c80, pixel-aspect-ratio=(fraction)1/1, format=(fourcc)WVC1, framerate=(fraction)25/1 So there's two things to be done here IMHO: a) ffmpeg needs wma3 support b) ffmpeg needs to be fixed to correctly handle this particular WMV stream Btw, mplayer plays those two files just fine but it uses win32 dll codecs to do this.
ffdec_wmv3 is being picked up instead of ffdec_vc1. Bumping the rank of _vc1 to MARGINAL+1 (slightly higher priority than ffdec_wmv3). wma3 is another issue, please open another bug for that. 2008-05-07 Edward Hervey <edward.hervey@collabora.co.uk> * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_setcaps), (gst_ffmpegdec_video_frame), (gst_ffmpegdec_register): Bump the priority of VC1 decoder so that it goes before the WMV3 decoder. This allows proper auto-pluggin with decodebin/playbin. Fixes #531857