Hi,

GStreamer ffmpeg decoders/encoders for wmv and vc1 use this mime type: "video/x-wmv"
and in caps with have 2 fields (+ usual width/heigh/framerate fields):
wmvversion = {1,2,3} 
format = (fourcc)WVC1

format field is only set for VC1 streams to distinguish them from wmv3 streams

To summarize:
wmv1 = "video/x-wmv, wmvversion=1"
wmv2 = "video/x-wmv, wmvversion=2"
wmv3 = "video/x-wmv, wmvversion=3"
vc1 = "video/x-wmv, wmvversion=3, format=(fourcc)WVC1"

Benjamin 

2011/5/31 Rob Clark <rob.clark@linaro.org>
All,

In context of a vc1 parser, I've posted the Annex L section from the
vc-1 spec.  This describes the format that is used by TI vc-1 decoder
for simple and main profile.

https://docs.google.com/a/linaro.org/viewer?a=v&pid=explorer&chrome=true&srcid=0B8Vp3bFd4_71NGFkMTkzZjktOGI0Ni00NTQ5LTk0OTgtZGZiMDNjYWFiYTA4&hl=en_US

Advanced profile is something different... just a start code.  I'm not
entirely sure offhand the name for the format used for
advanced-profile, but it is different from simple/main profile.

Also, here is the relevant code from the GStreamer plugin for TI VC-1 decoder:

https://github.com/robclark/gst-ducati/blob/master/src/gstducativc1dec.c#L125


We need to somehow:

a) identify if there are any other possible formats that decoders expect
b) choose caps field name(s) and values to uniquely identify the
different formats, so a vc1parser element could do the necessary
conversion


BR,
-R

_______________________________________________
linaro-multimedia mailing list
linaro-multimedia@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-multimedia