Closed Bug 514365 Opened 15 years ago Closed 15 years ago

when playing "theora_flac.ogg", firefox doesn't support the audio codec - flac

Categories

(Core :: Audio/Video, defect)

1.9.1 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: dayu.yang, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5 (.NET CLR 3.5.30729)

when playing media file with video codec: theora and audio codec: flac and
container: ogg, firefox doesn't support the audio codec

Reproducible: Always

Steps to Reproduce:
1.prepare one media file with video codec: theora and audio codec: flac and
container: ogg
2.open this media file with firefox
3.the video can play while there is no audio
Actual Results:  
no audio is played 

Expected Results:  
there should be audio with the video
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
Version: unspecified → 1.9.1 Branch
This is by design. We only support Theora and Vorbis at this stage.
hi, is it possible to fall back to another plugin (such as totem-mozplugin) to
playback "theora_flac.ogg" if firefox encounters with unsupported
codec(such as flac) in ogg/ogv container?
If we can play at least some of the codecs in the container, we will do so without any indication that we can't play the others (this is per the current spec, there's a note that it may be useful to indicate "degraded playback" in the future).

However, you can use script to test for supported codecs.  canPlayType with the appropriate MIME type and codecs specified will help you with this, e.g.:

videoElement.canPlayType("video/ogg; codecs=theora,flac")
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
I think this should be work for one embeded media inline the web page. What if we give one link just like: "file:///tmp/theora_flac.ogg"? Do we have some method to make this playback normally?
You need to log in before you can comment on or make changes to this bug.