Closed Bug 1235516 Opened 9 years ago Closed 9 years ago

way to enable VP9 for web cams streaming on youtube (like https://www.youtube.com/watch?v=7ZgaM5J5xKU) for test purpose

Categories

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

43 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mikhail.rokhin, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20151223140742 Steps to reproduce: Is there way to enable VP9 for web cams streaming on youtube (like https://www.youtube.com/watch?v=7ZgaM5J5xKU) for test purpose, because played for hours in HTML5 with h264 it leads to huge memory leak (fulfils all the virtual memory) and crashes FF (just FF, Chrome and Opera play nice). There are tens of auto crash reports sent already for the case. Expected results: Stable memory assign and dispose.
To enable vp9, simply set media.mediasource.webm to true. Note that YouTube has a bug that they promise will be corrected in January. You won't get vp9 until then. Now for your memory leak, please prove the output of about:support
(In reply to Jean-Yves Avenard [:jya] from comment #1) > To enable vp9, simply set media.mediasource.webm to true. Note that YouTube > has a bug that they promise will be corrected in January. You won't get vp9 > until then. > > Now for your memory leak, please prove the output of about:support Point me please how to give you link to it or you have access to all of them? Submitted Crash Reports Report ID Date Submitted bp-6fda8324-dcbe-4c9d-b6f2-320782151228 Пн 28.12.2015 21:34 bp-322aef6a-8b59-4307-ba86-74c422151227 Вс 27.12.2015 23:12 bp-779161e6-dca4-48a2-a5c8-bfa782151227 Вс 27.12.2015 18:24 bp-6edfad0f-5cfa-461a-8069-753e52151224 Чт 24.12.2015 13:15 bp-9b42fa5e-6e1c-4fca-a955-9bae72151223 Ср 23.12.2015 10:11 bp-b7f01a03-0470-4a60-9dc7-705ab2151222 Вт 22.12.2015 09:16 bp-a85b8341-d04a-4218-a274-622d62151222 Вт 22.12.2015 08:05 baeb0f9b-5b54-49c5-a20c-1e0b2d2a7432 Вт 22.12.2015 08:01 bp-e4516a61-4dc4-4d85-a9af-9644b2151221 Пн 21.12.2015 19:55 bp-81cebf1e-6861-47ea-b9c0-2df102151221 Пн 21.12.2015 14:26 bp-bdb8bbd2-88b8-4f56-8d21-8861e2151221 Пн 21.12.2015 10:57 bp-2750b441-8abf-4021-b8c7-58c502151220 Вс 20.12.2015 19:33 bp-935b30b1-18f8-44bc-8351-3d31d2151220 Вс 20.12.2015 13:12 bp-1023b9fc-7078-48eb-af71-106c72151220 Вс 20.12.2015 13:11 bp-f20cf1eb-2112-4927-a4b9-703e72151220 Вс 20.12.2015 12:25 bp-4a3b1d41-4bce-4614-a30a-a13bd2151220 Вс 20.12.2015 12:12 bp-0d944c37-707e-4442-8351-354e72151220 Вс 20.12.2015 12:12 bp-0988235c-4052-49c5-bc7c-e10852151220 Вс 20.12.2015 11:55 bp-ba04aad8-037d-422d-98ac-aa44c2151220 Вс 20.12.2015 11:55 bp-5c062ab5-88b4-4420-9eed-af2872151220 Вс 20.12.2015 11:49 bp-e8dc5862-2a13-4b24-b36e-5520b2151220 Вс 20.12.2015 11:49 bp-c09686ec-fc4b-42c9-b014-ce86c2151220 Вс 20.12.2015 11:48 bp-f22b4923-3e25-481c-b0f8-e6fa72151220 Вс 20.12.2015 11:47 bp-9e01f70a-b9c8-4c0b-a784-2c32e2151220 Вс 20.12.2015 11:42 bp-45944c71-bb7e-45c4-a640-65f722151220 Вс 20.12.2015 11:37 bp-0b2ea1b1-8795-497b-aebc-c772d2151220 Вс 20.12.2015 11:10 bp-ced78565-cba1-4136-9b0d-a71242151220 Вс 20.12.2015 10:07 bp-3ca30383-ce9b-42e0-a7ed-7f5e72151220 Вс 20.12.2015 09:55 bp-84b97963-4a08-4aa1-aaac-1c5172151220 Вс 20.12.2015 09:27 bp-6b30285d-cb44-4a6e-80a2-5a2232151220 Вс 20.12.2015 09:26 bp-68ededec-42ef-4ada-a5b4-7400c2151220 Вс 20.12.2015 09:25 bp-bcb2f1a3-f799-4b8d-8d6e-8fa3b2151220 Вс 20.12.2015 08:40 bp-60ec519b-ffaa-4684-a779-6e6312151220 Вс 20.12.2015 08:40 bp-52eb7f24-c8ba-494e-b9f3-44e332151220 Вс 20.12.2015 07:59 bp-2a49ab1f-d584-488b-b1a9-a1a232151220 Вс 20.12.2015 07:56 bp-3f69e746-9843-41d7-b563-71bc92151220 Вс 20.12.2015 07:56 bp-a0b2471a-a284-4de3-9e63-f672a2151220 Вс 20.12.2015 07:55 bp-c006cf6f-a223-45f1-8caa-9a0b12151220 Вс 20.12.2015 07:43 bp-85befc62-e03b-4335-91b5-d135c2151220 Вс 20.12.2015 07:43 bp-0c7e6119-9d07-4fca-aefb-905462151212 Сб 12.12.2015 04:28 bp-f1d71f15-7ad4-49aa-b542-1e8372151025 Вс 25.10.2015 19:57 bp-e19038b1-bcf6-427f-a08b-bd95a2151008 Чт 08.10.2015 17:16 4c96646d-fa07-4451-9add-456c50e80dba Пн 07.09.2015 23:21 bp-0f552568-2755-4389-b160-ec3742150901 Вт 01.09.2015 16:35 b40d7f8e-7f3a-4698-b817-5d49ad67acc1 Сб 29.08.2015 21:56 bcc6ca27-cbcd-428f-adbf-54a1e865b501 Сб 29.08.2015 21:22 cbe61072-4dd8-4a49-b2d3-0fa05889b3a0 Вт 14.07.2015 18:25 23bd8fb4-410b-4034-ad67-ac1315a18bd2 Вт 14.07.2015 18:25 701a79a8-7bd1-4bb1-8493-883fc9e2d23b Пн 13.07.2015 12:16 0d1bd87d-3e11-445d-9a8e-b918a7334df6 Пн 13.07.2015 12:16 36098a2d-c164-44d6-bd30-ec16f55d60ad Вс 12.07.2015 18:48 d7a6d130-7e3a-4d8b-bf4e-be2ba55de0cc Вс 12.07.2015 18:48 54e78b41-b751-4f0c-bdfa-27235524dffc Сб 11.07.2015 19:08 1b1b2a49-b711-429b-a315-728437bd81ad Сб 11.07.2015 19:08 79ec3618-179c-46fb-a52a-a099f79df523 Пт 10.07.2015 19:37 27f294cd-3496-4b65-9902-6d3c9f86e2de Пт 10.07.2015 19:37 bp-a8ed37b3-c777-4187-8c21-f02672150630 Вт 30.06.2015 13:13 f3ca289b-1b72-4100-b36d-ff5b4092c181 Сб 27.06.2015 18:58 bp-4f897a4a-b6b4-4858-90f7-b8aa22150622 Пн 22.06.2015 14:33 8caa4313-649d-40b9-a511-e82f865e2e57 Сб 20.06.2015 21:16 bp-e8ef9e9b-892b-4d89-bf73-c373b2150614 Вс 14.06.2015 17:57 bp-e05d7c7d-ffb2-4d70-8ddf-712ec2150601 Пн 01.06.2015 18:35 bp-ca1cc584-9637-41f8-a5b7-6c8262150523 Сб 23.05.2015 16:09 73876301-5b77-4837-bf8a-846637a4724e Чт 07.05.2015 19:59 ad003984-94a6-435f-8a9d-3879f92a263a Сб 02.05.2015 16:35 bp-ce8b6bf8-97be-42e7-87e6-ab1032150428 Вт 28.04.2015 21:34 bp-eaea366f-7601-43fb-86bb-6b7342150423 Чт 23.04.2015 13:51 c86b5eb3-5fc8-4e4a-9fc0-7aa8bb236e7b Ср 22.04.2015 19:24 30f30f25-7e10-426f-b4fc-281b37efba06 Вс 19.04.2015 15:17 bp-a407e4c8-a748-4aaa-918f-506db2150414 Вт 14.04.2015 13:51 bp-4a47910c-a495-4fda-b138-cf96b2150413 Пн 13.04.2015 21:29 73f8ffc4-4a35-4a29-b54c-aaf06d0a6606 Сб 11.04.2015 08:41 ea421057-fe05-4e62-adae-e34f6515dad6 Вс 05.04.2015 23:50 bp-86b150f9-30f0-4143-960b-010122150402 Чт 02.04.2015 19:30 bp-7c32a9af-4ce1-427e-b279-bda1f2150326 Чт 26.03.2015 22:51 f3cc188c-728c-490d-b2c6-4c474916f30c Вс 23.11.2014 22:21 bp-50994b76-5c22-4fa0-af39-9e3422141118 Вт 18.11.2014 18:48
(In reply to Jean-Yves Avenard [:jya] from comment #1) > To enable vp9, simply set media.mediasource.webm to true. Note that YouTube > has a bug that they promise will be corrected in January. You won't get vp9 > until then. > > Now for your memory leak, please prove the output of about:support UA string is faked today) Application Basics ------------------ Name: Firefox Version: 43.0.3 Build ID: 20151223140742 Update Channel: release User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.9) Gecko/201000101 Firefox/99.9 Multiprocess Windows: 0/1 (default: false) Safe Mode: false Crash Reports for the Last 3 Days --------------------------------- Report ID: bp-6fda8324-dcbe-4c9d-b6f2-320782151228 Submitted: 17 hours ago Report ID: bp-322aef6a-8b59-4307-ba86-74c422151227 Submitted: 2 days ago Report ID: bp-779161e6-dca4-48a2-a5c8-bfa782151227 Submitted: 2 days ago All Crash Reports Extensions ---------- Name: Ace Stream Web Extension Version: 1.0.2 Enabled: false ID: acewebextension_unlisted@acestream.org Graphics -------- Adapter Description: Intel(R) HD Graphics 4000 Adapter Description (GPU #2): NVIDIA GeForce GT 635M Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32 Adapter Drivers (GPU #2): nvd3dumx,nvwgf2umx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um,nvwgf2um Adapter RAM: Unknown Adapter RAM (GPU #2): 2048 Asynchronous Pan/Zoom: none Device ID: 0x0166 Device ID (GPU #2): 0x0de3 Direct2D Enabled: true DirectWrite Enabled: true (10.0.10586.0) Driver Date: 8-17-2015 Driver Date (GPU #2): 12-16-2015 Driver Version: 10.18.10.4276 Driver Version (GPU #2): 10.18.13.6143 GPU #2 Active: false GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC) Subsys ID: 181b103c Subsys ID (GPU #2): 181b103c Supports Hardware H264 Decoding: No; Vendor ID: 0x8086 Vendor ID (GPU #2): 0x10de WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GT 635M Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: true AzureCanvasBackend: direct2d 1.1 AzureContentBackend: direct2d 1.1 AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 (#0) Error: RenderTargetViewNeedsRecreating (#23) Error: [D2D1.1] 4CreateBitmap failure Size(20,22192) Code: 0x80070057 format 0 (#24) Error: [D2D1.1] 4CreateBitmap failure Size(20,22192) Code: 0x80070057 format 0 (#25) Error: [D2D1.1] 4CreateBitmap failure Size(20,22192) Code: 0x80070057 format 0 (#26) Error: [D2D1.1] 4CreateBitmap failure Size(20,22192) Code: 0x80070057 format 0 (#27) Error: [D2D1.1] 4CreateBitmap failure Size(20,22192) Code: 0x80070057 format 0 Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 4 browser.download.importedFromSqlite: true browser.download.manager.alertOnEXEOpen: true browser.places.smartBookmarksVersion: 7 browser.sessionstore.upgradeBackup.latestBuildID: 20151223140742 browser.startup.homepage_override.buildID: 20151223140742 browser.startup.homepage_override.mstone: 43.0.3 browser.urlbar.suggest.searches: true browser.urlbar.userMadeSearchSuggestionsChoice: true dom.apps.reset-permissions: true dom.mozApps.used: true extensions.lastAppVersion: 43.0.3 font.internaluseonly.changed: false general.useragent.override: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.9) Gecko/201000101 Firefox/99.9 gfx.crash-guard.d3d11layers.appVersion: 43.0.3 gfx.crash-guard.d3d11layers.deviceID: 0x0166 gfx.crash-guard.d3d11layers.driverVersion: 10.18.10.4276 gfx.crash-guard.d3d11layers.feature-d2d: true gfx.crash-guard.d3d11layers.feature-d3d11: true gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle: true gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle: true gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11: false gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp: false gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11: false gfx.crash-guard.status.d3d11layers: 2 gfx.crash-guard.status.d3d9video: 2 gfx.crash-guard.status.glcontext: 2 gfx.direct3d.last_used_feature_level_idx: 0 layers.acceleration.force-enabled: true layers.offmainthreadcomposition.force-basic: true layers.offmainthreadcomposition.log-animations: true layers.offmainthreadcomposition.testing.enabled: true media.fragmented-mp4.enabled: false media.fragmented-mp4.ffmpeg.enabled: false media.fragmented-mp4.gmp.enabled: true media.gmp-eme-adobe.abi: x86_64-msvc media.gmp-eme-adobe.lastUpdate: 1450791276 media.gmp-eme-adobe.version: 15 media.gmp-gmpopenh264.abi: x86_64-msvc media.gmp-gmpopenh264.lastUpdate: 1450791277 media.gmp-gmpopenh264.version: 1.5.1 media.gmp-manager.buildID: 20151223140742 media.gmp-manager.lastCheck: 1451329627 media.hardware-video-decoding.failed: false media.mediasource.mp4.enabled: false media.mediasource.webm.enabled: true media.webm.intel_decoder.enabled: true network.cookie.prefsMigrated: true network.http.pipelining: true network.http.pipelining.aggressive: true network.http.pipelining.max-optimistic-requests: 8 network.http.pipelining.ssl: true network.http.proxy.pipelining: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1450793021 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true privacy.donottrackheader.enabled: true privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1450793019 ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found. webgl.angle.try-d3d11: false webgl.can-lose-context-in-foreground: false webgl.enable-debug-renderer-info: true webgl.enable-draft-extensions: true webgl.enable-privileged-extensions: true webgl.enable-prototype-webgl2: true webgl.force-enabled: true webgl.force-layers-readback: true webgl.lose-context-on-memory-pressure: true webgl.msaa-force: true Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.10 Version in use: 4.10.10 NSS Expected minimum version: 3.20.2 Basic ECC Version in use: 3.20.2 Basic ECC NSSSMIME Expected minimum version: 3.20.2 Basic ECC Version in use: 3.20.2 Basic ECC NSSSSL Expected minimum version: 3.20.2 Basic ECC Version in use: 3.20.2 Basic ECC NSSUTIL Expected minimum version: 3.20.2 Version in use: 3.20.2 Experimental Features ---------------------
(In reply to Jean-Yves Avenard [:jya] from comment #1) > To enable vp9, simply set media.mediasource.webm to true. Note that YouTube > has a bug that they promise will be corrected in January. You won't get vp9 > until then. > > Now for your memory leak, please prove the output of about:support It turns out that VP9 can be processed by gmp only, ffmpeg fails. And gmp fails for mp4, although there is media.gmp-gmpopenh264.abi - and Open h264 implementation?
As mentioned in the other bug: you must disable the media.fragmented-mp4.enabled pref If you have it set to true, there's nothing surprising to see all those crashes. Turn it off
(In reply to Jean-Yves Avenard [:jya] from comment #5) > As mentioned in the other bug: you must disable the > media.fragmented-mp4.enabled pref > > If you have it set to true, there's nothing surprising to see all those > crashes. > > Turn it off It's enabled by default
I meant media.fragmented-mp4.gmp.enabled
(In reply to Jean-Yves Avenard [:jya] from comment #1) > To enable vp9, simply set media.mediasource.webm to true. Note that YouTube > has a bug that they promise will be corrected in January. You won't get vp9 > until then. > > Now for your memory leak, please prove the output of about:support Happy New Year! It seems that you've got ffmpeg (or what is applied when media.fragmented-mp4.ffmpeg.enabled;false is enabled by default) leaking or creating leakage. Whether turned off (media.fragmented-mp4.ffmpeg.enabled;false) not applied and no overload in my virtual mem.
Ffmpeg is never used on Windows and the code to handle that preference doesn't even exist. Once again, turn off the GMP preference.
Component: Untriaged → Audio/Video
Product: Firefox → Core
Component: Audio/Video → Audio/Video: Playback
Closing for lack of followup, assuming this is a pref issue.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.