zjffun blog

Video frame capture color different

更新于 写于 CanvasVideoColorJavaScript

Problem

When capture video frame to canvas, the color is different. But I can't find the reason. Maybe YCbCr to RGB will bring some difference.

Comparison

Test commands

bash
ffprobe -show_streams xxx.mp4

Will get something like this:

txt
pix_fmt=yuv420p
color_space=bt709

See