Issue 266 in webp: File read correctly by Chrome (and WebPDemux) but fails with webpmux (and WebPMux)

40 views
Skip to first unread message

we...@googlecode.com

unread,
Sep 30, 2015, 5:59:48 AM9/30/15
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 266 by tal.lev...@gmail.com: File read correctly by Chrome (and
WebPDemux) but fails with webpmux (and WebPMux)
https://code.google.com/p/webp/issues/detail?id=266

What steps will reproduce the problem?
1. Open attached file with webpmux -info

What is the expected output? What do you see instead?
Error message "Failed to create mux object from file"

What version of the product are you using? On what operating system?
0.4.3 on Linux/OS-X

Please provide any additional information below.
The file was created via ffmpeg. Chrome plays correctly and WebPDemux is
able to traverse frames correctly, but
WebPDemux fails.



Attachments:
animated.webp 28.2 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

we...@googlecode.com

unread,
Sep 30, 2015, 12:51:55 PM9/30/15
to webp-d...@webmproject.org
Updates:
Status: Invalid

Comment #1 on issue 266 by urv...@google.com: File read correctly by Chrome
(and WebPDemux) but fails with webpmux (and WebPMux)
https://code.google.com/p/webp/issues/detail?id=266

This is, in fact, and invalid file.
The VP8X chunk in the file has 'Alpha bit' set, but none of the frames
contain transparency information.

If you look at the spec
(https://developers.google.com/speed/webp/docs/riff_container?hl=en#extended_file_format):

<Quote>
Alpha (L): 1 bit
Set if any of the frames of the image contain transparency information
("alpha").
<Unquote>

The WebPDemux library is just being tolerant about it, but WebPMux library
is strict and rejects the file as invalid.

This is actually a problem with ffmpeg's WebP muxer code: it always sets
alpha bit to be true (regardless of whether any frames contain
transparency), which is wrong.
Please file a bug on ffmpeg.

we...@googlecode.com

unread,
Oct 1, 2015, 4:03:50 PM10/1/15
to webp-d...@webmproject.org

Comment #2 on issue 266 by urv...@google.com: File read correctly by Chrome
(and WebPDemux) but fails with webpmux (and WebPMux)
https://code.google.com/p/webp/issues/detail?id=266

Reported the issue on ffmpeg mailing list:
http://ffmpeg.org/pipermail/ffmpeg-devel/2015-October/179955.html
Reply all
Reply to author
Forward
0 new messages