Closed Bug 1293937 Opened 8 years ago Closed 8 years ago

Dozens of active video decoders when using Facebook

Categories

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

48 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1311872
Tracking Status
platform-rel --- -

People

(Reporter: u572625, Assigned: jya)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [MemShrink:P1] [platform-rel-Facebook])

Attachments

(3 files)

(deleted), application/x-gzip-compressed
Details
(deleted), application/x-gzip-compressed
Details
(deleted), application/x-gzip-compressed
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160726073904 Steps to reproduce: Open a video in cinema mode so you get the timeframe with other videos on the bottom I think I watched 25 or more small clips one after another wighout switching tabs or so (used html5 - no flash player) Actual results: memory grew to 2,8gbytes only for the facebook tab if you are waiting some time memory will get swaped (i think) and reloaded into memory if you watch a clip seems like the old data from the other clips are not cleaned Expected results: store only the neccesary data in memory
Component: Untriaged → Audio/Video
Product: Firefox → Core
and dont close the cinema mode and use the bottom line to switch videos
Whiteboard: [MemShrink] [platform-rel-Facebook]
Summary: memory leak facebook video timeframe → memory leak facebook video
Component: Audio/Video → Audio/Video: Playback
So I think I kind of reproduced this (but I'm testing on linux so it might be different behavior). I got an OOM at one point when messing around with one of the 360 degree videos. The memory definitely increases the more videos you watch with heap-unclassified getting pretty high: > 435.06 MB (100.0%) -- explicit > ├──257.56 MB (59.20%) ── heap-unclassified > ├───65.36 MB (15.02%) ++ window-objects/top(https://www.facebook.com/, id=4294967297) Top 3 offenders from DMD all seem to be av related: > Unreported { > 387 blocks in heap block record 1 of 5,847 > 112,566,272 bytes (111,667,725 requested / 898,547 slop) > Individual block sizes: 1,187,840 x 10; 946,176 x 39; 593,920 x 10; 495,616 x 14; 413,696 x 14; 299,008 x 20; 237,568 x 78; 204,800 x 21; 159,744 x 8; 151,552 x 20; 147,456 x 8; 126,976 x 28; 106,496 x 28; 102,400 x 5; 53,248 x 42; 40,960 x 16; 36,864 x 16; 28,672 x 10 > 32.71% of the heap (32.71% cumulative) > 41.66% of unreported (41.66% cumulative) > Allocated at { > #01: replace_memalign (/home/erahm/dev/mozilla-central/memory/replace/dmd/DMD.cpp:1363) > #02: replace_posix_memalign (/home/erahm/dev/mozilla-central/obj-x86_64-pc-linux-gnu-stock-debug/dist/include/replace_malloc.h:113) > #03: av_malloc (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #04: av_buffer_alloc (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #05: av_buffer_allocz (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #06: av_buffer_pool_get (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #07: avcodec_default_get_buffer2 (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #08: avcodec_default_get_buffer (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #09: av_parser_close (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #10: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #11: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #12: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #13: av_parser_close (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #14: start_thread (/build/glibc-GKVZIf/glibc-2.23/nptl/pthread_create.c:333) > #15: __clone (/build/glibc-GKVZIf/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:111) > #16: ??? (???:???) > } > } > > Unreported { > 953 blocks in heap block record 2 of 5,847 > 55,209,152 bytes (53,498,125 requested / 1,711,027 slop) > Individual block sizes: 299,008 x 32; 233,472 x 102; 151,552 x 32; 126,976 x 32; 106,496 x 30; 49,152 x 42; 40,960 x 16; 36,864 x 20; 24,576 x 12; 20,480 x 48; 16,384 x 153; 12,288 x 64; 8,192 x 93; 4,096 x 200; 2,048 x 33; 1,024 x 39; 448 x 5 > 16.04% of the heap (48.75% cumulative) > 20.43% of unreported (62.09% cumulative) > Allocated at { > #01: replace_memalign (/home/erahm/dev/mozilla-central/memory/replace/dmd/DMD.cpp:1363) > #02: replace_posix_memalign (/home/erahm/dev/mozilla-central/obj-x86_64-pc-linux-gnu-stock-debug/dist/include/replace_malloc.h:113) > #03: av_malloc (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #04: av_buffer_alloc (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #05: av_buffer_allocz (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #06: av_buffer_pool_get (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #07: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #08: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #09: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #10: av_parser_close (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #11: start_thread (/build/glibc-GKVZIf/glibc-2.23/nptl/pthread_create.c:333) > #12: __clone (/build/glibc-GKVZIf/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:111) > #13: ??? (???:???) > } > } > > Unreported { > 35 blocks in heap block record 3 of 5,847 > 10,211,328 bytes (10,102,054 requested / 109,274 slop) > Individual block sizes: 368,640; 344,064; 307,200 x 3; 299,008 x 6; 282,624 x 24 > 2.97% of the heap (51.72% cumulative) > 3.78% of unreported (65.87% cumulative) > Allocated at { > #01: replace_memalign (/home/erahm/dev/mozilla-central/memory/replace/dmd/DMD.cpp:1363) > #02: replace_posix_memalign (/home/erahm/dev/mozilla-central/obj-x86_64-pc-linux-gnu-stock-debug/dist/include/replace_malloc.h:113) > #03: av_malloc (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #04: av_mallocz (/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54) > #05: av_fast_padded_malloc (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #06: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #07: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #08: avpriv_h264_has_num_reorder_frames (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #09: av_parser_close (/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56) > #10: start_thread (/build/glibc-GKVZIf/glibc-2.23/nptl/pthread_create.c:333) > #11: __clone (/build/glibc-GKVZIf/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:111) > #12: ??? (???:???) > } > }
Attached file Processed DMD report (deleted) —
Here's a DMD snapshot, I'm not convinced the stacks are accurate for the libav stuff (why would they be allocating in av_parser_close) but I'm definite they *are* libav related.
Attached file Memory report (deleted) —
Attached file win10-memory-report.json.gz (deleted) —
Priority: -- → P1
Whiteboard: [MemShrink] [platform-rel-Facebook] → [MemShrink:P1] [platform-rel-Facebook]
The interesting bits from the win10 memory report. Note The relatively low explicit, but rather high resident. > 354.67 MB (100.0%) ++ explicit > ... > 240.66 MB ── d3d11-shared-textures > 566.43 MB ── gpu-dedicated > 143.78 MB ── gpu-shared > 222.32 MB ── heap-allocated > 287.00 MB ── heap-mapped > 2,428.89 MB ── private > 2,061.01 MB ── resident > 2,031.09 MB ── resident-unique > 1,481.76 MB ── system-heap-allocated > 3,677.85 MB ── vsize So what we're seeing is most of the memory in |system-heap-allocated|, which is described as: > Memory used by the system allocator that is currently allocated to the > application. This is distinct from the jemalloc heap that Firefox uses for > most or all of its heap allocations. Ideally this number is zero, but > on some platforms we cannot force every heap allocation through jemalloc.
I don't believe the libav reports here has any link to what the bug author is reported.
(In reply to Jean-Yves Avenard [:jya] from comment #7) > I don't believe the libav reports here has any link to what the bug author > is reported. Yeah comment 6 is probably more relevant, but the basic idea is we're somehow allocating a ton of memory when going through facebook videos. In the windows case it's not through our allocator, in the linux case it was through libav for me.
Assignee: nobody → jyavenard
platform-rel: --- → ?
Flags: needinfo?(jyavenard)
Eric, which version of ffmpeg/Libav are you using on your system? (more accurately, which version of libavcodec is used)
Flags: needinfo?(jyavenard) → needinfo?(erahm)
Problem is that we have a single page, and each page can be made of hundreds of video elements. Facebook doesn't shut them down and they are active. To get a video frames, we need to feed a few, so each decoder can take several MBs of memories holding a frame. On Windows it's worth as it may take over 30 decoded frames for the wmf decoder to output one... Like here, I've scrolled 2 pages of facebook, and I see 16 decoders being opened and paused.
Summary: memory leak facebook video → Dozens of active video decoders when using Facebook
so here I have scrolled two pages, I can see 3 visible videos in the page. yet we have: HTMLMediaElement debug data https://www.facebook.com/ https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14713412_354424674900563_5850960679493697536_n.mp4?efg=eyJybHIiOjE5MjAsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1920&vabr=1280&oh=c4c0f14ebf196b9ae0c37fc1daa964f4&oe=5806ED55 currentTime: 30.089528 readyState: 4 Quality: 100% (total:5747 dropped:2 corrupted:0) Buffered ranges: [(0, 195.052041)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 5965 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:48 out:48 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 5607 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:23 out:17 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14797095_936065773166509_5858907026121293824_n.mp4?efg=eyJybHIiOjMwMCwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&rl=300&vabr=130&oh=92140ad476bae885f01a772cbb56a58a&oe=5806D431 currentTime: 0 readyState: 4 Quality: 100% (total:105 dropped:0 corrupted:0) Buffered ranges: [(0, 20.581722)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 15 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:2 out:2 qs=1 pending:1 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 15 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14673736_164751810649234_454315876724768768_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=389&oh=56e91b110c4a081113b999f2bd7ed51d&oe=58071256 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 2.497333)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14710031_1053409021444644_437991367457636352_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=414&oh=cc25ffef6d77aada6b57d50185925643&oe=580711DC currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 5.782666)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/10625410_10152422941977196_1753428333_n.mp4?efg=eyJybHIiOjU4NiwicmxhIjoyNTQ4LCJ2ZW5jb2RlX3RhZyI6ImxlZ2FjeV9zZCJ9&rl=586&vabr=326&oh=56549dce202438af03c6e5510302b417&oe=58072595 currentTime: 0 readyState: 4 Quality: 100% (total:119 dropped:0 corrupted:0) Buffered ranges: [(0, 416.891066)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 609 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:87 out:87 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 77 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:17 out:11 qs=6 pending:0 waiting:0 sid:4294967295 https://scontent-syd1-1.xx.fbcdn.net/v/t43.1792-4/14512204_672219352943527_8271611463064354816_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=236f292d3204ac06ee45a531089fe5f2&oe=58070C9E currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 5.398625)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/13437005_1715924938656481_38592850_n.mp4?efg=eyJybHIiOjM2NSwicmxhIjoyMzM2LCJ2ZW5jb2RlX3RhZyI6InN2ZV9zZCJ9&rl=365&vabr=203&oh=4fe1cca45b34eb4ff53dabd054bada05&oe=580726EB currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 16.125)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:2 out:2 qs=1 pending:1 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14785641_601314536741863_2792987236537204736_n.mp4?efg=eyJybHIiOjQwOCwicmxhIjo5NzksInZlbmNvZGVfdGFnIjoidjNfNDI2X2NyZl8yM19tYWluXzMuMF9zZCJ9&rl=408&vabr=227&oh=955e2e70a6fe3de35e4851376224ae16&oe=5807125B currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 14.657292)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14604699_190650944674126_5241166952293990400_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=545&oh=a57bcfcbcd27e0d89b1486cb9ed565de&oe=58070C80 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 8.877333)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14706517_217075642046124_7281384517925863424_n.mp4?efg=eyJybHIiOjI3MTksInJsYSI6MTExMywidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2719&vabr=1813&oh=8eb03f79b2f369665922e8a9962e4b90&oe=5807137E currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 2.818666)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://scontent-syd1-1.xx.fbcdn.net/v/t43.1792-4/14598411_148266378966091_5753800715302600704_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=606260bd2c741eb07d0e74ae6017662a&oe=58072763 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 11.158666)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14789721_1862896990615781_5658525576034516992_n.mp4?efg=eyJybHIiOjQ0NiwicmxhIjoxMjU3LCJ2ZW5jb2RlX3RhZyI6InYzXzQyNl9jcmZfMjNfbWFpbl8zLjBfc2QifQ%3D%3D&rl=446&vabr=248&oh=0f2233bc73f015db39b70631442eb0cd&oe=58071141 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.875959)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14703236_1717652115221737_4384120930050244608_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6Mzc3NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=692&oh=088129e663d4c93cf268208d92027b8d&oe=58070F67 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.256962)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/12574480_517300558431959_1160153342_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTA2MywidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=762&oh=e40211e8cbb8c267e18189ef0e9d78fa&oe=58071634 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.961333)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:2 out:2 qs=1 pending:1 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14703111_1148930011828236_3606431369267249152_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTk5MSwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=520&oh=a1eed6b00b404129fb87ab3c97c33c9d&oe=58072585 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.876333)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14708787_1501089199906289_6893468423280394240_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=577&oh=9a030b832376b8c29e63846cec8e8fe6&oe=58072572 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 15.937333)] Internal Data: audio decoder: apple CoreMedia decoder audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:1 out:1 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: apple software VT decoder hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:7 out:1 qs=6 pending:0 waiting:0 sid:4294967295 the decoders only appear to be suspended when you tab out, and wait a few seconds. in which case, about:media will show HTMLMediaElement debug data https://www.facebook.com/ https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14713412_354424674900563_5850960679493697536_n.mp4?efg=eyJybHIiOjE5MjAsInJsYSI6NDA5NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1920&vabr=1280&oh=c4c0f14ebf196b9ae0c37fc1daa964f4&oe=5806ED55 currentTime: 30.089528 readyState: 4 Quality: 100% (total:5747 dropped:2 corrupted:0) Buffered ranges: [(0, 195.052041)] Internal Data: audio decoder: shutdown audio frames decoded: 5965 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 5607 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14797095_936065773166509_5858907026121293824_n.mp4?efg=eyJybHIiOjMwMCwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&rl=300&vabr=130&oh=92140ad476bae885f01a772cbb56a58a&oe=5806D431 currentTime: 0 readyState: 4 Quality: 100% (total:105 dropped:0 corrupted:0) Buffered ranges: [(0, 20.581722)] Internal Data: audio decoder: shutdown audio frames decoded: 15 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 15 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14673736_164751810649234_454315876724768768_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=389&oh=56e91b110c4a081113b999f2bd7ed51d&oe=58071256 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 2.497333)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14710031_1053409021444644_437991367457636352_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=414&oh=cc25ffef6d77aada6b57d50185925643&oe=580711DC currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 5.782666)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/10625410_10152422941977196_1753428333_n.mp4?efg=eyJybHIiOjU4NiwicmxhIjoyNTQ4LCJ2ZW5jb2RlX3RhZyI6ImxlZ2FjeV9zZCJ9&rl=586&vabr=326&oh=56549dce202438af03c6e5510302b417&oe=58072595 currentTime: 0 readyState: 4 Quality: 100% (total:119 dropped:0 corrupted:0) Buffered ranges: [(0, 416.891066)] Internal Data: audio decoder: shutdown audio frames decoded: 609 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 77 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://scontent-syd1-1.xx.fbcdn.net/v/t43.1792-4/14512204_672219352943527_8271611463064354816_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=236f292d3204ac06ee45a531089fe5f2&oe=58070C9E currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 5.398625)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/13437005_1715924938656481_38592850_n.mp4?efg=eyJybHIiOjM2NSwicmxhIjoyMzM2LCJ2ZW5jb2RlX3RhZyI6InN2ZV9zZCJ9&rl=365&vabr=203&oh=4fe1cca45b34eb4ff53dabd054bada05&oe=580726EB currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 16.125)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14785641_601314536741863_2792987236537204736_n.mp4?efg=eyJybHIiOjQwOCwicmxhIjo5NzksInZlbmNvZGVfdGFnIjoidjNfNDI2X2NyZl8yM19tYWluXzMuMF9zZCJ9&rl=408&vabr=227&oh=955e2e70a6fe3de35e4851376224ae16&oe=5807125B currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 14.657292)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14604699_190650944674126_5241166952293990400_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=545&oh=a57bcfcbcd27e0d89b1486cb9ed565de&oe=58070C80 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 8.877333)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14706517_217075642046124_7281384517925863424_n.mp4?efg=eyJybHIiOjI3MTksInJsYSI6MTExMywidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=2719&vabr=1813&oh=8eb03f79b2f369665922e8a9962e4b90&oe=5807137E currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 2.818666)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://scontent-syd1-1.xx.fbcdn.net/v/t43.1792-4/14598411_148266378966091_5753800715302600704_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=606260bd2c741eb07d0e74ae6017662a&oe=58072763 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 11.158666)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t42.1790-2/14789721_1862896990615781_5658525576034516992_n.mp4?efg=eyJybHIiOjQ0NiwicmxhIjoxMjU3LCJ2ZW5jb2RlX3RhZyI6InYzXzQyNl9jcmZfMjNfbWFpbl8zLjBfc2QifQ%3D%3D&rl=446&vabr=248&oh=0f2233bc73f015db39b70631442eb0cd&oe=58071141 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.875959)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14703236_1717652115221737_4384120930050244608_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6Mzc3NiwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=692&oh=088129e663d4c93cf268208d92027b8d&oe=58070F67 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.256962)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/12574480_517300558431959_1160153342_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTA2MywidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=762&oh=e40211e8cbb8c267e18189ef0e9d78fa&oe=58071634 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.961333)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14703111_1148930011828236_3606431369267249152_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTk5MSwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=520&oh=a1eed6b00b404129fb87ab3c97c33c9d&oe=58072585 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 0.876333)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 https://video-syd1-1.xx.fbcdn.net/v/t43.1792-2/14708787_1501089199906289_6893468423280394240_n.mp4?efg=eyJybHIiOjE1MDAsInJsYSI6MTAyNCwidmVuY29kZV90YWciOiJzdmVfaGQifQ%3D%3D&rl=1500&vabr=577&oh=9a030b832376b8c29e63846cec8e8fe6&oe=58072572 currentTime: 0 readyState: 4 Quality: 100% (total:49 dropped:0 corrupted:0) Buffered ranges: [(0, 15.937333)] Internal Data: audio decoder: shutdown audio frames decoded: 7 audio state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 video decoder: shutdown hardware video decoding: disabled video frames decoded: 7 (skipped:0) video state: ni=0 no=0 ie=0 demuxr:0 demuxq:0 tt:-1.000000 tths:-1 in:0 out:0 qs=0 pending:0 waiting:0 sid:4294967295 all decoders are shutdown. The decoders that aren't visible don't appear to be shutdown.
issue reported may be different to what the original describe showed, and what :erham reported is what I described above.
Depends on: 1311872
platform-rel: ? → -
(In reply to Jean-Yves Avenard [:jya] from comment #9) > Eric, which version of ffmpeg/Libav are you using on your system? (more > accurately, which version of libavcodec is used) I've since updated to 16.04 so the versions are going ot be different.
Flags: needinfo?(erahm)
I don't think it would make much difference. We can probably close this bug now that bug 1311872
Per comment 15, we can close this bug now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: