<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12563</bug_id>
          
          <creation_ts>2011-04-27 09:03:37 +0000</creation_ts>
          <short_desc>&lt;video&gt; Make standard to play these codecs in &lt;video&gt;</short_desc>
          <delta_ts>2011-08-04 05:01:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brunoais">brunoaiss</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>brunoaiss</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47736</commentid>
    <comment_count>0</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-04-27 09:03:37 +0000</bug_when>
    <thetext>I&apos;d like to request to add codecs as standard for the &lt;video&gt; tag.

flv -&gt; Very common on the web 

mpeg4 (many browsers have it but I can&apos;t see it specified) -&gt; The high quality substitute for flv.

H.264 (optional but useful) -&gt; A lot used specially with mkv, these days.

Xvid -&gt; Lots of OS have native support for it (according to my research) and it&apos;s a fair step between the flv and mpeg4.

For audio codecs:
FLAC -&gt; The standard these days to distribute in a lossless quality and a fair memory use (for a lossless audio).

mpeg3 -&gt; The standard audio these days. A good balance between quality and memory used.

Speex -&gt; The audio codec of choice by Flash player 10 for flv.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47750</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-04-27 22:48:26 +0000</bug_when>
    <thetext>The HTML standard does not currently require support for any particular video or audio codecs, because it&apos;s clear that currently there&apos;s no format all browsers will support.  This matches how it specifies &lt;img&gt; or &lt;object&gt; -- no particular formats are mentioned.  When browsers finally all agree on a standard format, like maybe WebM, the spec might require that, but not before then.  This was discussed at extreme length a couple of years ago.

(Incidentally: FLV is a container format, Xvid is an encoder, and MPEG3 and MPEG4 are groups of standards.  None are codecs.  H.264, FLAC, and Speex are the only codecs on your list.  FLAC is lossless, so would be a very poor choice for web-based audio players.  H.264 is supported by IE9 and Safari, but not other browsers, because it&apos;s patented-encumbered.  Speex is not supported for HTML5 audio by any browser that I know of.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47762</commentid>
    <comment_count>2</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-04-28 06:52:37 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (Incidentally: FLV is a container format, Xvid is an encoder, and MPEG3 and
&gt; MPEG4 are groups of standards.  None are codecs.  H.264, FLAC, and Speex are
&gt; the only codecs on your list.  FLAC is lossless, so would be a very poor choice
&gt; for web-based audio players.  H.264 is supported by IE9 and Safari, but not
&gt; other browsers, because it&apos;s patented-encumbered.  Speex is not supported for
&gt; HTML5 audio by any browser that I know of.)

I thought my sources were right and that those were all codecs. Sorry about that. I see if I can find another one that has the list of encodes so that I can show which ones I&apos;m referring to.
BTW, which codecs can FLV contain?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47764</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-04-28 08:02:58 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; (Incidentally: FLV is a container format, Xvid is an encoder, and MPEG3 and
&gt; &gt; MPEG4 are groups of standards.  None are codecs.  H.264, FLAC, and Speex are
&gt; &gt; the only codecs on your list.  FLAC is lossless, so would be a very poor choice
&gt; &gt; for web-based audio players.  H.264 is supported by IE9 and Safari, but not
&gt; &gt; other browsers, because it&apos;s patented-encumbered.  Speex is not supported for
&gt; &gt; HTML5 audio by any browser that I know of.)
&gt; 
&gt; I thought my sources were right and that those were all codecs. Sorry about
&gt; that. I see if I can find another one that has the list of encodes so that I
&gt; can show which ones I&apos;m referring to.


The more codecs are supported in different browsers, the less interoperability you get. It&apos;s not good for the Web to want to introduce more variety on supported file formats - the target should be one, not all.

&gt; BTW, which codecs can FLV contain?

It&apos;s a container like Quicktime, Ogg, Matroska, and MP4 - they can all support all codecs, even though you would not typically find all codecs in all formats. But as I said: the answer to this question doesn&apos;t matter - it&apos;s not desirable to support more codecs/containers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49756</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-17 01:20:13 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: I&apos;d be happy to specify a codec if you can suggest one that all the browser vendors are willing to implement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49766</commentid>
    <comment_count>5</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-06-17 07:28:14 +0000</bug_when>
    <thetext>Let&apos;s see if I can make these straight this time:

mpeg4 (codec family) (many browsers have it, others don&apos;t and I can&apos;t see it specified) -&gt; The high quality substitute for flv. Smartphones support it, PDA&apos;s support it, all players (from many I know) for WinNT, MAC &amp; Linux support it, why wouldn&apos;t browsers support it?

H.264 -&gt; A lot used specially with mkv and flv, these days. This would allow to have many different videos with different extensions play in the browser.

Xvid -&gt; Lots of OS have native support for it (according to my research) and
it&apos;s a fair &quot;brother&quot; of mpeg4. Also, those codecs are free to use (according to wikipedia)

For audio codecs:
FLAC -&gt; The standard these days to distribute in a lossless quality and a fair
memory use (for a lossless audio).

mpeg3 (codec family) -&gt; The standard audio these days. A good balance between quality and memory used.


I shure hope this makes it more clear</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49767</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-06-17 07:34:31 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Let&apos;s see if I can make these straight this time:
&gt; 
&gt; mpeg4 (codec family) (many browsers have it, others don&apos;t and I can&apos;t see it
&gt; specified) -&gt; The high quality substitute for flv. Smartphones support it,
&gt; PDA&apos;s support it, all players (from many I know) for WinNT, MAC &amp; Linux support
&gt; it, why wouldn&apos;t browsers support it?
&gt; 
&gt; H.264 -&gt; A lot used specially with mkv and flv, these days. This would allow to
&gt; have many different videos with different extensions play in the browser.
&gt; 
&gt; Xvid -&gt; Lots of OS have native support for it (according to my research) and
&gt; it&apos;s a fair &quot;brother&quot; of mpeg4. Also, those codecs are free to use (according
&gt; to wikipedia)
&gt; 
&gt; For audio codecs:
&gt; FLAC -&gt; The standard these days to distribute in a lossless quality and a fair
&gt; memory use (for a lossless audio).
&gt; 
&gt; mpeg3 (codec family) -&gt; The standard audio these days. A good balance between
&gt; quality and memory used.
&gt; 
&gt; 
&gt; I shure hope this makes it more clear


You missed the vital bit of Hixie&apos;s reply:
I&apos;d be happy to specify a codec if you can suggest one that all the browser vendors are willing to implement.

Until you can get all browser vendors to support the same baseline codec, no codec will go into the spec, no matter how many you suggest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49773</commentid>
    <comment_count>7</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-06-17 08:04:06 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; 
&gt; You missed the vital bit of Hixie&apos;s reply:
&gt; I&apos;d be happy to specify a codec if you can suggest one that all the browser
&gt; vendors are willing to implement.
&gt; 
&gt; Until you can get all browser vendors to support the same baseline codec, no
&gt; codec will go into the spec, no matter how many you suggest.

I didn&apos;t miss it, I just misunderstood.
To confirm I understood this time:
So I 1st need to talk to the browser engine vendors and propose it and then come back here and propose the spec change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49775</commentid>
    <comment_count>8</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-06-17 08:07:51 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; 
&gt; &gt; You missed the vital bit of Hixie&apos;s reply:
&gt; &gt; I&apos;d be happy to specify a codec if you can suggest one that all the browser
&gt; &gt; vendors are willing to implement.
&gt; &gt; 
&gt; &gt; Until you can get all browser vendors to support the same baseline codec, no
&gt; &gt; codec will go into the spec, no matter how many you suggest.
&gt; 
&gt; I didn&apos;t miss it, I just misunderstood.
&gt; To confirm I understood this time:
&gt; So I 1st need to talk to the browser engine vendors and propose it and then
&gt; come back here and propose the spec change?

Indeed - once you find a codec that all browser vendors support in their Web browsers, the spec will follow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49776</commentid>
    <comment_count>9</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-06-17 08:18:02 +0000</bug_when>
    <thetext>Ok, I&apos;ll do it and check back later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49792</commentid>
    <comment_count>10</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-06-17 18:04:45 +0000</bug_when>
    <thetext>Just so we&apos;re clear here, browsers have considered implementing a common codec and were unable to come to agreement.  Firefox, Chrome, and Opera refuse to support H.264 at all because it&apos;s not usable royalty-free, and IE and Safari refuse to support VP8 or Theora by default because they might be covered by unknown patents.  So you&apos;d either have to convince Mozilla and Google and Opera to drop their ideological commitment to a royalty-free web, or convince Microsoft and Apple to accept the patent risk of VP8 or Theora.  You&apos;ll be unsuccessful at both, but feel free to try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49824</commentid>
    <comment_count>11</comment_count>
    <who name="brunoais">brunoaiss</who>
    <bug_when>2011-06-18 07:33:07 +0000</bug_when>
    <thetext>Ok, I&apos;ll do it and check back later.(In reply to comment #10)
&gt; Just so we&apos;re clear here, browsers have considered implementing a common codec
&gt; and were unable to come to agreement.  Firefox, Chrome, and Opera refuse to
&gt; support H.264 at all because it&apos;s not usable royalty-free, and IE and Safari
&gt; refuse to support VP8 or Theora by default because they might be covered by
&gt; unknown patents.  So you&apos;d either have to convince Mozilla and Google and Opera
&gt; to drop their ideological commitment to a royalty-free web, or convince
&gt; Microsoft and Apple to accept the patent risk of VP8 or Theora.  You&apos;ll be
&gt; unsuccessful at both, but feel free to try.

My readings had told that H.264 was a free codec... If I try to look for it more deeper I can see that that is not true.
Where can I find a list of free codecs that are available in a flv, mp4 and mkv containers (not necessary the 3 at the same time, I just need pairs of codecs)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49827</commentid>
    <comment_count>12</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-06-18 08:21:45 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; My readings had told that H.264 was a free codec... If I try to look for it
&gt; more deeper I can see that that is not true.
&gt; Where can I find a list of free codecs that are available in a flv, mp4 and mkv
&gt; containers (not necessary the 3 at the same time, I just need pairs of codecs)?

VP8 in MKV is now called WebM. VP8, Theora, and Dirac are royalty-free video codecs; Vorbis, Speex, FLAC, SILK, and CELT are open audio codecs (amongst some older ones). Of these, your highest chances of getting common support will be WebM and Ogg Vorbis (the first in a MKV container, the second in a Ogg container).

While these codecs can certainly be used in other containers, there is no such common use, so you&apos;re better off sticking with the typical containers that they come in.

But you should listen to Aryeh - you may find it hard to convince Apple and Microsoft to adopt these codecs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52484</commentid>
    <comment_count>13</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:01:54 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>