Closed Bug 1051666 Opened 10 years ago Closed 10 years ago

Add support for avc3 format

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34
Tracking Status
firefox34 --- fixed

People

(Reporter: ajones, Assigned: ajones)

References

()

Details

Attachments

(1 file)

Steps to reproduce:

Prefs:
  media.fragmented-mp4.exposed=true
  media.mediasource.enabled=true
  media.mediasource.allow_init_moov=true
  media.mediasource.ignore_codecs=true

* Navigate to http://dashif.org/reference/players/javascript/1.1.2/index.html
* Select http://dash.edgesuite.net/dash264/TestCases/5a/1/manifest.mpd
* Click ABR Off
* Click Load

Expected results:

Video plays normally.

Actual results:

Audio but no video
Component: Web Audio → Video/Audio
https://hg.mozilla.org/mozilla-central/rev/c91536bbf527
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
I cannot verify this at all: the video still doesn't play. Chrome doesn't fare much better.
No video or audio information is show in statistics. No debug information.
readyState is HAVE_NOTHING on the player.
This might be an error of the client, I see the following on the Javascript console:

"Error: this.errHandler is undefined
MediaPlayer/play@http://dashif.org/reference/players/javascript/1.1.2/app/js/streaming/MediaPlayer.js:67:17
MediaPlayer/doAutoPlay@http://dashif.org/reference/players/javascript/1.1.2/app/js/streaming/MediaPlayer.js:90:17
MediaPlayer/<.attachSource@http://dashif.org/reference/players/javascript/1.1.2/app/js/streaming/MediaPlayer.js:229:17
$scope.doLoad@http://dashif.org/reference/players/javascript/1.1.2/app/main.js:527:9
Nc/y/<@http://dashif.org/reference/players/javascript/1.1.2/app/lib/angular/angular.min.js:72:249
ec[c]</</</<@http://dashif.org/reference/players/javascript/1.1.2/app/lib/angular/angular.min.js:144:140
Tc/this.$get</e.prototype.$eval@http://dashif.org/reference/players/javascript/1.1.2/app/lib/angular/angular.min.js:88:343
Tc/this.$get</e.prototype.$apply@http://dashif.org/reference/players/javascript/1.1.2/app/lib/angular/angular.min.js:88:449
ec[c]</</<@http://dashif.org/reference/players/javascript/1.1.2/app/lib/angular/angular.min.js:144:120
x.event.dispatch@http://dashif.org/reference/players/javascript/1.1.2/app/lib/jquery/jquery-1.10.2.min.js:5:14077
x.event.add/v.handle@http://dashif.org/reference/players/javascript/1.1.2/app/lib/jquery/jquery-1.10.2.min.js:5:10849
"

Platform: Linux x64
Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
* It might be too soon to test, sorry, I was asked to test this on IRC and I should have looked at the dates more carefully. I'll test this later when this gets to Nightly.
Hi, 

I tried as well to verify this (I was the one asking Ricardo on IRC), but I had troubles in reproducing the original bug on Debian Linux x86_64 with the Nightly from 20140811030203.

On Nightly from 20140811030203, after having followed all the STR, I wasn't able to get video or audio with the testcase: the video player just stays black, the time count doesn't even start.

This is what I get from the Web Console:

Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-1.10.2.min.js:1
downloadable font: download failed (font-family: "Glyphicons Halflings" style:normal weight:normal stretch:normal src index:1): status=2147746065
source: http://dashif.org/reference/players/javascript/1.1.2/app/lib/bootstrap/fonts/glyphiconshalflings-regular.woff bootstrap-glyphicons.css
downloadable font: download failed (font-family: "Glyphicons Halflings" style:normal weight:normal stretch:normal src index:2): status=2147746065
source: http://dashif.org/reference/players/javascript/1.1.2/app/lib/bootstrap/fonts/glyphiconshalflings-regular.ttf bootstrap-glyphicons.css
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery-1.10.2.min.js:5
"Parsing complete: ( xml2json: 11ms, objectiron: 18ms, total: 0.029s)" Debug.js:29
"Manifest has loaded." Debug.js:29
"MediaSource is open!" Debug.js:29
sourceopen { target: MediaSource, isTrusted: true, NONE: 0, CAPTURING_PHASE: 1, AT_TARGET: 2, BUBBLING_PHASE: 3, ALT_MASK: 1, CONTROL_MASK: 2, SHIFT_MASK: 4, META_MASK: 8, eventPhase: 0 } Debug.js:29
"MediaSource is open!" Debug.js:29
sourceopen { target: MediaSource, isTrusted: true, NONE: 0, CAPTURING_PHASE: 1, AT_TARGET: 2, BUBBLING_PHASE: 3, ALT_MASK: 1, CONTROL_MASK: 2, SHIFT_MASK: 4, META_MASK: 8, eventPhase: 0 } Debug.js:29
"Video codec: video/mp4;codecs="avc3.4d401f"" Debug.js:29
"Video codec: video/mp4;codecs="avc3.4d400d"" Debug.js:29
"Video Codec (video/mp4;codecs="avc3.4d401f") is not supported." Debug.js:29
"Video Codec (video/mp4;codecs="avc3.4d400d") is not supported." Debug.js:29
"No buffer was created, skipping video stream." Debug.js:29
"No text tracks." Debug.js:29
"Audio codec: audio/mp4;codecs="mp4a.40.5"" Debug.js:29
"Audio Codec (audio/mp4;codecs="mp4a.40.5") is not supported." Debug.js:29
"No buffer was created, skipping audio stream." Debug.js:29
"No streams to play." Debug.js:29
"Should be empty:" Array [ undefined, undefined ] q.js:628
"No buffer was created, skipping audio stream." Debug.js:29
"No streams to play." Debug.js:29

While the output in the terminal I used to launch firefox is this:

madamezou@malatesta:~/firefoxtest/old$ ./firefox/firefox -no-remote -P
1409171384649	addons.manager	ERROR	Exception calling provider startup: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [mozIGeckoMediaPluginService.addPluginDirectory]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://gre/modules/addons/OpenH264Provider.jsm :: OpenH264Provider.startup :: line 265"  data: no] Stack trace: OpenH264Provider.startup()@resource://gre/modules/addons/OpenH264Provider.jsm:265 < AMI_callProviders()@resource://gre/modules/AddonManager.jsm:872 < AMI_startup()@resource://gre/modules/AddonManager.jsm:747 < AMP_startup()@resource://gre/modules/AddonManager.jsm:2319 < AMC_observe()@resource://gre/components/addonManager.js:55 < <file:unknown>
1409171447507	GMPInstallManager.simpleCheckAndInstall	INFO	Last check was: 1260 seconds ago, minimum seconds: 86400
1409171447507	GMPInstallManager.simpleCheckAndInstall	INFO	Will not check for updates.


Very same results with latest Nightly (20140827030202).

Don't know how much it can be related, but I'm working with a slow connection right now, and that could maybe influence the (lack of) loading of the video.

Am I missing something in reproducing/verifying this one?


Cheers,
Francesca
Flags: needinfo?(ajones)
Do you have libavformat54 or libavformat55 installed?
Flags: needinfo?(ajones)
Hi Anthony, 

thanks for your reply.

(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #7)
> Do you have libavformat54 or libavformat55 installed?

I've installed both of them now, but nothing changed. Anything else I could try?

Cheers,
Francesca
Your mileage may vary. This bug relates to supporting the avc3 atom specifically. Your mileage may vary until MSE support is completed.
QA Whiteboard: [good first verify]
QA Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: