Closed Bug 1057890 Opened 11 years ago Closed 9 years ago

Audio stops after a few seconds with youtube HTML5

Categories

(Core :: Audio/Video: Playback, defect)

34 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pasalinko, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release) Build ID: 20140824030210 Steps to reproduce: Linux/Nightly - Clean Profile No add-ons Plug-ins - OpenH264 (Always Activate)/Flash (Never Activate) Actual results: When playing any HTML5 video on youtube, the audio stops completely after a few seconds. There are no audio issues when playing HTML5 videos on Vimeo or Dailymotion. Likewise, playing videos on youtube with flash. As far as I can see there are no error messages in the browser console or when running fx from a terminal and the video continues to play without issue. Expected results: Audio should play
Apparently, this also happens on Windows - [url=http://forums.mozillazine.org/viewtopic.php?f=23&t=2863037]Audio stops after a few seconds with YT/HTML5[/url]
I couldn't reproduce it using latest Nightly 34.0a1 (20140824030210) under Win 7 64-bit.
Component: Untriaged → Video/Audio
Product: Firefox → Core
I'm having the same issue. Video plays fine for 10-20% of the duration of the video and then the sound suddenly stops, while the video keeps on playing. Only a reload helps to solve the problem. This happens on a freshly installed Debian with a 'newish' profile. Flash was never installed on this system. Application Basics ------------------ Name: Iceweasel Version: 34.0 User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Iceweasel/34.0 Multiprocess Windows: 0/1 Extensions ---------- Name: Adblock Edge Version: 2.1.5 Enabled: true ID: {fe272bd1-5f76-4ea4-8501-a05d35d823fc} Name: Add Bookmark Here ² Version: 29.0.20140506 Enabled: true ID: abhere2@moztw.org Name: Classic Theme Restorer Version: 1.2.5 Enabled: true ID: ClassicThemeRestorer@ArisT2Noia4dev Name: DownThemAll! Version: 2.0.17 Enabled: true ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8} Name: DuckDuckGo Plus Version: 0.4.2 Enabled: true ID: jid1-ZAdIEUB7XOzOJw@jetpack Name: FireFTP Version: 2.0.21 Enabled: true ID: {a7c6cf7f-112c-4500-a7ea-39801a327e5f} Name: Greasemonkey Version: 2.2 Enabled: true ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781} Name: HTTPS-Everywhere Version: 4.0.2 Enabled: true ID: https-everywhere@eff.org Name: LastPass Version: 3.1.54 Enabled: true ID: support@lastpass.com Name: Privacy Badger Firefox Version: 0.2.3 Enabled: true ID: jid1-MnnxcxisBPnSXQ@jetpack Name: Tree Style Tab Version: 0.14.2014051101 Enabled: true ID: treestyletab@piro.sakura.ne.jp Name: Disconnect Version: 3.14.0 Enabled: false ID: 2.0@disconnect.me Name: Tile Tabs Version: 11.12 Enabled: false ID: tiletabs@DW-dev Graphics -------- Adapter Description: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile Device ID: Mesa DRI Intel(R) Ivybridge Mobile Driver Version: 3.0 Mesa 10.2.8 GPU Accelerated Windows: 0/1 Basic Vendor ID: Intel Open Source Technology Center WebGL Renderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile windowLayerManagerRemote: false AzureCanvasBackend: cairo AzureContentBackend: cairo AzureFallbackCanvasBackend: none AzureSkiaAccelerated: 0 Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size_cached_value: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.places.importBookmarksHTML: false browser.places.smartBookmarksVersion: 7 browser.sessionstore.restore_on_demand: false browser.sessionstore.upgradeBackup.latestBuildID: 20141018132724 browser.startup.homepage_override.buildID: 20141018132724 browser.startup.homepage_override.mstone: 34.0 browser.tabs.insertRelatedAfterCurrent: false browser.tabs.insertRelatedAfterCurrent.backup: true browser.tabs.warnOnClose: false dom.mozApps.used: true extensions.lastAppVersion: 34.0 media.gmp-gmpopenh264.lastUpdate: 1413148421 media.gmp-gmpopenh264.version: 1.1 media.gmp-manager.lastCheck: 1414404406 media.mediasource.enabled: true network.cookie.cookieBehavior: 3 network.cookie.lifetimePolicy: 2 network.cookie.prefsMigrated: true places.database.lastMaintenance: 1413968328 places.history.expiration.transient_current_max_pages: 99394 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugins.notifyMissingFlash: false print.print_bgcolor: false print.print_bgimages: false print.print_colorspace: default print.print_downloadfonts: false print.print_evenpages: true print.print_in_color: true print.print_margin_bottom: 0.5 print.print_margin_left: 0.5 print.print_margin_right: 0.5 print.print_margin_top: 0.5 print.print_oddpages: true print.print_orientation: 0 print.print_page_delay: 50 print.print_paper_data: 0 print.print_paper_height: 279,40 print.print_paper_name: na_letter print.print_paper_size_type: 1 print.print_paper_size_unit: 1 print.print_paper_width: 215,90 print.print_plex_name: default print.print_resolution_name: default print.print_scaling: 1,00 print.print_shrink_to_fit: true print.print_to_file: false print.print_unwriteable_margin_bottom: 56 print.print_unwriteable_margin_left: 25 print.print_unwriteable_margin_right: 25 print.print_unwriteable_margin_top: 25 privacy.donottrackheader.enabled: true privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1413111960 Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.7 Version in use: 4.10.7 NSS Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.1 Basic ECC NSSSMIME Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.1 Basic ECC NSSSSL Expected minimum version: 3.17.2 Basic ECC Version in use: 3.17.1 Basic ECC NSSUTIL Expected minimum version: 3.17.2 Version in use: 3.17.1 Experimental Features ---------------------
I have been experiencing this for around a month on Aurora branch using Windows Vista. In the last week or so this has crept into Nightly/Linux which surprised me more, being a different branch and platform and very different profiles. For both platforms I would estimate that I hit this around 25% of the time. I'm usually always watching music videos 4-7 minutes duration. However I don't think the video is significant factor in the bug, but if it helps one video I saw it on yesterday is: https://www.youtube.com/watch?v=EvKtxTsVoMo However for both platforms the symptoms are the same: the video will play for sometimes 2-3 minutes (rarely less) and then just stop audio. The video will keep playing. If you rewind the video back to before the time it stops, the audio will restart and then stop again at the same point. Refreshing the page (F5 it) will mostly cause the video to play properly. I've tried watching youtube's debug stats (for nerds) but didn't see anything significant. If there's any other debugging I can do from the Gecko side please ni? me and I'll try and provide the information.
In bug 1093568 it was noted that it occurs after switching tabs. I may have not noticed this distinction in the past. I'll make note of the tab state next time I notice the audio stopping. (In reply to Saurabh Anand [:sawrubh] from bug 1093568) > STR: > * Listen to any song on YouTube. > * Switch tabs. > > What happens: > After sometime the audio from the YouTube tab stops coming even though the > video keeps on playing. This has happened consitently. I'm using the HTML5 > YouTube player, not the flash one.
I've been having this issue for about a week with Nightly on both Windows 7 and Arch Linux. Audio doesn't cut out with any regularity - it varies from video to video, though I do find that with each video, it'll tend to cut out at the same time (so I'll have to skip 1 second ahead if I want to continue watching) even after refreshing. An issue I'm having, which other commenters don't seem to be having, is that once the audio stops, if I try to pause and resume or jump around the video, it'll just freeze up and nothing will happen until I refresh the page. > If there's any other debugging I can do from the Gecko side please ni? me > and I'll try and provide the information. Like zac said, I'm happy to run dubious commands, and provide other info, if it's of help.
(In reply to Leo McArdle [:leo] from comment #7) > > An issue I'm having, which other commenters don't seem to be having, is that > once the audio stops, if I try to pause and resume or jump around the video, > it'll just freeze up and nothing will happen until I refresh the page. > I'm getting that too but I thought it seemed like a different bug because I get this when I hit the end of cached playable content too. Perhaps they are all related though.
So this happened for me, even when I had not switched tabs during the entire video.
The bug is easy to reproduce, at least for me when I play the following video: https://www.youtube.com/watch?v=muW-yqp_YM4 The audio stops exactly at 50 seconds, but I can kind of 'recover' the audio if I rewind the video.
(In reply to akulle12 from comment #10) > The bug is easy to reproduce, at least for me when I play the following > video: https://www.youtube.com/watch?v=muW-yqp_YM4 > The audio stops exactly at 50 seconds, but I can kind of 'recover' the audio > if I rewind the video. Thanks akullle, the video stopped at 0:49 for me and if I rewind the video 20 seconds or so it will stop there again (Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0) I think this is strong proof that it's a bug and not just some local configuration error. I'll try and get some traction on this.
This might be a duplicate of bug 1089937.
Depends on: 1089937
I'm facing this a lot :( and it's pretty irritating (and I normally don't comment such useless things on a bug), but it's certainly a bug in Nightly. Would love if it's fixed quickly :)
Confirming as per above comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It seems that multiple issues are conflated in this bug: - The initial bug does not have steps to reproduce, which makes it hard to do anything about it; - Comments 3-12 are in the time range of a known regression with similar symptoms (bug 1093568); - At this moment there's still a known issue with seeking on youtube (bug 1096790) with MSE enabled (media.mediasource.enabled) I suggest waiting until all known issues with MSE are resolved, then filing separate bugs if there's still a problem.
Component: Audio/Video → Audio/Video: Playback
If someone still experiences this issue, check if you have "media.mediasource.ignore_codecs" lying around in the about:config. A simple "reset" on this entry solves this issue ;)
(In reply to Dâniel Fraga from comment #16) > If someone still experiences this issue, check if you have > "media.mediasource.ignore_codecs" lying around in the about:config. A simple > "reset" on this entry solves this issue ;) This bug dates back to when Firefox MSE didn't work with YouTube. We have rewritten everything twice since then. Please file a new bug with clear steps to reproduce if there is still a problem.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME

7 years later... and this bug is still here :(

You need to log in before you can comment on or make changes to this bug.