k***@gmail.com
2018-09-13 06:40:51 UTC
I encoded a WebM / VP9 file with the RGB colorspace with ffmpeg 4.0. If I
play it back on Google Chrome 71, MS Edge 17, Firefox 64 and Google Drive,
I get different results:
* Google Chrome displays the colors wrong - the color channels seem to be
in the wrong order.
* Microsoft Edge displays the colors wrong - it is hard to say what it is
trying to do.
* Firefox claims that the file is corrupt.
* I uploaded the video to Google Drive and it decodes and encodes the
video to something else (H.264?) and the resulting colors look correct in
its video preview. Google Drive may be using ffmpeg under the hood to do
the transcoding and that might be the reason why a video encoded with
ffmpeg looks correct.
My problem is that I don't know which one is correct: ffmpeg
encoding/decoding, Google Chrome or MS Edge? Which ones should receive bug
reports?
Are there any sample WebM RGB files, which I could use to test these
different platforms?
This is the command I used to create the WebM file with ffmpeg from 8-bit
RGB PNG files:
ffmpeg -framerate 10 -i frames/frame-%05d.png -c:v libvpx-vp9 -colorspace
rgb -pix_fmt bgr0 -lossless 1 output.webm
- Kari
play it back on Google Chrome 71, MS Edge 17, Firefox 64 and Google Drive,
I get different results:
* Google Chrome displays the colors wrong - the color channels seem to be
in the wrong order.
* Microsoft Edge displays the colors wrong - it is hard to say what it is
trying to do.
* Firefox claims that the file is corrupt.
* I uploaded the video to Google Drive and it decodes and encodes the
video to something else (H.264?) and the resulting colors look correct in
its video preview. Google Drive may be using ffmpeg under the hood to do
the transcoding and that might be the reason why a video encoded with
ffmpeg looks correct.
My problem is that I don't know which one is correct: ffmpeg
encoding/decoding, Google Chrome or MS Edge? Which ones should receive bug
reports?
Are there any sample WebM RGB files, which I could use to test these
different platforms?
This is the command I used to create the WebM file with ffmpeg from 8-bit
RGB PNG files:
ffmpeg -framerate 10 -i frames/frame-%05d.png -c:v libvpx-vp9 -colorspace
rgb -pix_fmt bgr0 -lossless 1 output.webm
- Kari
--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+***@webmproject.org.
To post to this group, send email to webm-***@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss+***@webmproject.org.
To post to this group, send email to webm-***@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.