<div dir="ltr">On Sat, Aug 23, 2008 at 1:46 AM, Eric Carlson <span dir="ltr"><<a href="mailto:eric.carlson@apple.com">eric.carlson@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="word-wrap: break-word;"><br><div><div class="Ih2E3d"><div>On Aug 21, 2008, at 8:56 PM, Robert O'Callahan wrote:</div><br></div><div class="Ih2E3d"><blockquote type="cite"><div dir="ltr">Does that actually enumerate all supported codecs? Looking at the Webkit code and the Quicktime docs, it looks like it's just enumerating file/container types.<br>
<br></div></blockquote></div><div> Indeed the code enumerates movie importers and just builds a list of the MIME types supported by QuickTime, so it can not yet deal with a type string with an RFC4281 "codecs" parameter. We are working on that requirement, but the current approach is still useful because the "codecs" parameter is not yet widely used.</div>
<div></div></div></div></blockquote><div><br>That will require extensions to Quicktime, right?<br><br>So using your current approach implement Tim's proposed API, we can use this to answer "yes" or "no" if the MIME type contains no codec string, and if the MIME type does contain a codec string we can either answer "no" (if the container is not supported) or "maybe".<br>
<br>I suppose if Tim's willing to assume that anything supporting the Ogg container supports Theora and Vorbis, that's good enough for now ... for Quicktime. We'll have to look into whether something similar is possible with GStreamer and DirectShow. But I guess even if it isn't, a 3-value version of Tim's proposed API is better than nothing.<br>
<br>Rob<br></div></div>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>
</div>