[FFmpeg-user] Question about rgb48pe and yuv420p10le conversion
Yang Cao
yangcao.cs at gmail.com
Thu Jun 17 12:06:53 EEST 2021
Hi, dear developer:
I use 'ffmpeg -i x.png -pix_fmt yuv420p10le -y x.yuv' to get a
10-bit yuv file, which is very convenient. Then, I try to
reproduce this progress by Python. So I want to know how ffmpeg convert
16-bit png to 10-bit yuv. What is the formula to convert 16-bit rgb to
10-bit yuv? Thank you very much.
Looking forward to hearing from you.
Yours sincerely,
Yang.
More information about the ffmpeg-user
mailing list