HTML5视频色差Chrome& IE浏览器 [英] HTML5 Video color difference Chrome & Internet Explorer

查看:732
本文介绍了HTML5视频色差Chrome& IE浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用HTML5视频标签在我的网站上播放一段简短视频,其中包含以下代码:

 <视频width =100%poster =/ images / video_preview.jpg> 
< source src =/ images / movie.mp4type =video / mp4>
< source src =/ images / movie.webmtype =video / webm>
您的浏览器不支持HTML5视频。
< / video>

显示视频,但当我在我的网站上使用Google Chrome时,颜色看起来有点儿更多的紫色,然后他们应该在Internet Explorer上整个视频变得更黑。我也有一个预览图像,你可以在我的代码中看到,该图像现在是一种不同的颜色,然后显示在浏览器上,这不是我想要的。我注意到,例如Apple也使用< video> 标记,但它们在浏览器之间没有颜色差异。



这怎么可能?我为所有浏览器使用相同的代码。这是因为所有浏览器的渲染?



我该如何解决这个问题?



新增BOUNTY



p>有没有人在浏览器中呈现视频并解决此问题?还没有弄清楚为什么同一个视频文件在Internet Explorer中显示得较暗,并且在Google Chrome浏览器中发出紫色光。



该页面在线,因此您可以看到不同此处

解决方案

我有同样的问题。尝试使用601色彩镜渲染mp4视频。这应该有所帮助。


I'm using the HTML5 video tag to play a short video on my website with this code:

<video width="100%" poster="/images/video_preview.jpg">
    <source src="/images/movie.mp4" type="video/mp4">
    <source src="/images/movie.webm" type="video/webm">
    Your browser does not support HTML5 video.
</video>

The video's are shown but when I'm on my website in Google Chrome the colors look a little bit more purple then they should be and on Internet Explorer the whole video got a darker look. I also have a preview image as you can see in my code and that image is now a different color then shown on the browser and that's not what I want. I noticed that for example Apple also uses the <video> tag but they have no color difference between browsers.

How is this possible? I'm using the same code for all browsers. Is this because of the rendering of all the browsers?

How can I fix this? Thanks.


ADDED BOUNTY

Is there anyone that had the same issue with video rendering in browsers and can help me fix this issue? Still haven't figured out why the same video file is shown darker in Internet Explorer and with a purple glow in Google Chrome.

The page is online so you can see the difference here.

解决方案

I had the same problem. Try to render mp4 video with "601" colorscope. This should help.

这篇关于HTML5视频色差Chrome&amp; IE浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆