Bug 236754

Summary: Safari produces scrambled output for some webm videos with vp8 codec.
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=236755
https://bugs.webkit.org/show_bug.cgi?id=241453
Bug Depends on: 237075, 237078, 237472, 237594, 237677    
Bug Blocks:    
Attachments:
Description Flags
capture
none
Patch for review
none
Patch for EWS
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Jean-Yves Avenard [:jya] 2022-02-16 23:01:35 PST
Created attachment 452323 [details]
capture

vp8 content with hidden frames won't be decoded properly.

https://jyavenard.github.io/htmltests/tests/mse_webm/80869041.html

Garbled output is produced.


rdar://80869041
Comment 1 Jean-Yves Avenard [:jya] 2022-03-10 06:41:11 PST
Created attachment 454356 [details]
Patch for review
Comment 2 Jean-Yves Avenard [:jya] 2022-03-10 06:43:06 PST
Created attachment 454357 [details]
Patch for EWS
Comment 3 Jean-Yves Avenard [:jya] 2022-03-10 15:00:00 PST
Created attachment 454407 [details]
Patch

widen fuzz factor to cater for intermittent differences
Comment 4 Jean-Yves Avenard [:jya] 2022-03-12 04:37:00 PST
Created attachment 454530 [details]
Patch
Comment 5 Jean-Yves Avenard [:jya] 2022-03-12 04:45:37 PST
Created attachment 454532 [details]
Patch
Comment 6 Eric Carlson 2022-03-12 07:56:07 PST
Comment on attachment 454532 [details]
Patch

Nice fix! My only nit, is I think it would be helpful to have to have the ffmpeg commands as comments in the html files where they are used, as well as in the ChangeLog
Comment 7 Jean-Yves Avenard [:jya] 2022-03-12 21:44:03 PST
Created attachment 454548 [details]
Patch

Apply comments
Comment 8 Jean-Yves Avenard [:jya] 2022-03-12 21:45:48 PST
(In reply to Eric Carlson from comment #6)
> Comment on attachment 454532 [details]
> Patch
> 
> Nice fix! My only nit, is I think it would be helpful to have to have the
> ffmpeg commands as comments in the html files where they are used, as well
> as in the ChangeLog

I did put it in the LayoutTests/ChangeLog file, added it to the two html files as well.
Comment 9 EWS 2022-03-12 21:46:24 PST
ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.
Comment 10 Jean-Yves Avenard [:jya] 2022-03-12 21:51:06 PST
Created attachment 454549 [details]
Patch

Apply comments and set reviewer
Comment 11 EWS 2022-03-12 23:24:20 PST
Committed r291216 (248371@main): <https://commits.webkit.org/248371@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 454549 [details].