#5214 closed defect (invalid)
Corrupted WebM VP9 from .MOV file
Reported by: | jlgrall | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | libvpx |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: encoding this .mov file produces a corrupted .webm VP9 file
How to reproduce:
% "C:\Documents and Settings\jlgrall\Local Settings\Application Data\dmMediaConverter\Config\ffmpeg.exe" -fflags +genpts -y -i "C:\videos\flaque2.mov" -map 0:0 -c:v:0 libvpx-vp9 -crf:v:0 10 -metadata:s:v:0 "creation_time=2004-08-06 17\:17\:54" -metadata:s:v:0 "language=eng" -metadata:s:v:0 "handler_name=Gestionnaire d�alias Apple" -metadata:s:v:0 "encoder=Vidéo" -threads:v:0 2 -shortest "C:\videos\flaque2-20160129-git-5893e87.webm"
ffmpeg 20160129-git-5893e87 downloaded precompiled.
Windows XP SP3
Source .mov file: http://atelier-st-andre.net/tests/error-ff43-webm-vp9/flaque2.mov
Output .webm file: http://atelier-st-andre.net/tests/error-ff43-webm-vp9/flaque2-20160129-git-5893e87.webm
The corrupted .webm file:
- crashes VLC 2.2.1: https://trac.videolan.org/vlc/ticket/16485
- doesn't play in Firefox 42: https://bugzilla.mozilla.org/show_bug.cgi?id=1235796
- is played by Chromium 48 without problem
Change History (4)
follow-up: 2 comment:1 by , 9 years ago
comment:2 by , 9 years ago
Replying to cehoyos:
What makes you think that the output file is corrupt?
In the Firfox bug report, Nicolas Silva says in comment 6:
The reason this video is failing is that its cb and cr planes are slightly bugger than its y planes, in the texture allocation code there's a sanity check that the y size is superior or equal to the y size and I indeed added the check in that range.
Also, Jean-Yves Avenard says in comment 13:
Personally here, I wouldn't apply those changes: the video is invalid, that we used to play it was a bug :)
It's the media that needs fixing.
I am going to point them to this bug report, I hope they can give us more informations.
Note: in the Firefox bug report, the .webm file was encoded with ffmpeg v2.8.1. The latest ffmpeg 20160129-git-5893e87 output .webm still crashes Firefox and VLC, but maybe it is a bit different cause, because a binary diff shows that the output .webm files have a lot of differences between ffmpeg 2.8.1 and ffmpeg 20160129-git-5893e87.
comment:3 by , 9 years ago
Keywords: | libvpx added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note that the differences are most likely due to different versions if libvpx used for compilation: FFmpeg is unable to do vp9 encoding.
Since the decoding application of current libvpx decoded the file you provided without issues, I'll close this ticket as invalid. Feel free to reopen if you can explain what is invalid about the file.
comment:4 by , 9 years ago
From Firfox bug report comment 28:
The sizes of the YCbCr planes are nonsensical.
So that seems to be the problem with the .webm file. Here I reported it to the libvpx library: https://bugs.chromium.org/p/webm/issues/detail?id=1142
Thanks for your help.
Replying to jlgrall:
What makes you think that the output file is corrupt?
It plays fine here with FFplay.
Reading the bug reports you linked, it seems that both vlc and Firefox fixed playback.