Closed Bug 1368628 Opened 8 years ago Closed 8 years ago

HTML5 audio player in Firefox 53.0.2 (64-bit) is not playing audio file with bitrate 23 kbps but it is working fine in chrome.

Categories

(Core :: Audio/Video, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: marwa.boyz, Assigned: jya)

Details

Attachments

(1 file)

Attached audio Corbeau.mp3
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170524180630 Steps to reproduce: Mp3 file is not working in HTML5 <audio> tag in Firefox but works fine in chrome. Actual results: Console error: Media resource [url/audio.mp3] could not be decoded. html All candidate resources failed to load. Media load paused. Expected results: HTML5 audio tag should play that audio like chrome plays.
Can you please try with firefox nightly ? what's your about:support ?
Flags: needinfo?(marwa.boyz)
I need to make it work in all versions of firefox, as I am using this in my project and I am getting error in case of firefox. Below is my about:support info: Application Basics ------------------ Name: Firefox Version: 53.0.3 Build ID: 20170524180630 User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 OS: Linux 4.4.0-78-generic Multiprocess Windows: 0/2 (Disabled by add-ons) Safe Mode: false Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Extensions ---------- Name: Application Update Service Helper Version: 2.0 Enabled: true ID: aushelper@mozilla.org Name: colorPicker Version: 3.0.1-signed.1-signed Enabled: true ID: colorPicker@colorPicker Name: MeasureIt Version: 0.4.15 Enabled: true ID: {75CEEE46-9B64-46f8-94BF-54012DE155F0} Name: Multi-process staged rollout Version: 1.14 Enabled: true ID: e10srollout@mozilla.org Name: Pocket Version: 1.0.5 Enabled: true ID: firefox@getpocket.com Name: Shield Recipe Client Version: 1.0.0 Enabled: true ID: shield-recipe-client@mozilla.org Name: Ubuntu Modifications Version: 3.2 Enabled: true ID: ubufox@ubuntu.com Name: Web Compat Version: 1.0 Enabled: true ID: webcompat@mozilla.org Graphics -------- Features Compositing: Basic Asynchronous Pan/Zoom: none WebGL Renderer: X.Org -- Gallium 0.4 on AMD TURKS (DRM 2.43.0 / 4.4.0-78-generic, LLVM 3.8.0) WebGL2 Renderer: X.Org -- Gallium 0.4 on AMD TURKS (DRM 2.43.0 / 4.4.0-78-generic, LLVM 3.8.0) Audio Backend: pulse GPU #1 Active: Yes Description: X.Org -- Gallium 0.4 on AMD TURKS (DRM 2.43.0 / 4.4.0-78-generic, LLVM 3.8.0) Vendor ID: X.Org Device ID: Gallium 0.4 on AMD TURKS (DRM 2.43.0 / 4.4.0-78-generic, LLVM 3.8.0) Driver Version: 3.0 Mesa 12.0.6 Diagnostics AzureCanvasAccelerated: 0 AzureCanvasBackend: skia AzureContentBackend: skia AzureFallbackCanvasBackend: none CairoUseXRender: 0 Decision Log HW_COMPOSITING: blocked by default: Acceleration blocked by platform OPENGL_COMPOSITING: unavailable by default: Hardware compositing is disabled Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.hashstats_reported: 1 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.download.importedFromSqlite: true browser.places.smartBookmarksVersion: 8 browser.sessionstore.upgradeBackup.latestBuildID: 20170524180630 browser.startup.homepage_override.buildID: 20170524180630 browser.startup.homepage_override.mstone: 53.0.3 browser.tabs.remote.autostart.1: false browser.tabs.remote.autostart.2: true browser.urlbar.daysBeforeHidingSuggestionsPrompt: 0 browser.urlbar.lastSuggestionsPromptDate: 20170419 dom.apps.lastUpdate.buildID: 20160922113459 dom.apps.lastUpdate.mstone: 49.0.1 dom.apps.reset-permissions: true extensions.lastAppVersion: 53.0.3 font.internaluseonly.changed: false media.gmp-gmpopenh264.abi: x86_64-gcc3 media.gmp-gmpopenh264.lastUpdate: 1492348130 media.gmp-gmpopenh264.version: 1.6 media.gmp-manager.buildID: 20170524180630 media.gmp-manager.lastCheck: 1496129881 media.gmp.storage.version.observed: 1 media.webrtc.debug.log_file: /tmp/WebRTC.log network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1495877857 places.history.expiration.transient_current_max_pages: 70714 plugin.disable_full_page_plugin_for_types: application/pdf services.sync.declinedEngines: storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1495083206 Important Locked Preferences ---------------------------- Places Database --------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.13.1 Version in use: 4.13.1 NSS Expected minimum version: 3.29.5 Version in use: 3.29.5 NSSSMIME Expected minimum version: 3.29.5 Version in use: 3.29.5 NSSSSL Expected minimum version: 3.29.5 Version in use: 3.29.5 NSSUTIL Expected minimum version: 3.29.5 Version in use: 3.29.5 Experimental Features --------------------- Sandbox ------- Seccomp-BPF (System Call Filtering): true Seccomp Thread Synchronization: true User Namespaces: true Media Plugin Sandboxing: true
Flags: needinfo?(marwa.boyz)
ok.. so on linux.. works fine here on mac and windows. What version of libavcodec do you have installed?
Assignee: nobody → jyavenard
It is not working in mac,windows and linux for firefox.
then please try firefox nightly, so we can identify what fixed it.
It works well on the latest nightly, beta, and release version (53.0.3 (64 bit)) on my mac.
WFM with current release (53.0.3) and nightly on both Win 10 and Ubuntu 17.04.
The steps I use to reproduce the issue is simply clicking on the attachment.
I can reproduce using an html page and an audio element https://people-mozilla.org/~jyavenard/tests/audio.html
When using a media element, it incorrectly detect it as WAV and is using the WAV demuxer instead of the MP3 one
Ah, the file starts with: RIFF....WAVEfmt This is no valid MP3. (structure of a MP3 https://en.wikipedia.org/wiki/MP3#File_structure) it should start with a sync word 0xFFFB It works as file directly because the sniffer isn't used, instead it relies on the file extension. Closing as invalid
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: