cisco / openh264

Open Source H.264 Codec
BSD 2-Clause "Simplified" License
5.51k stars 1.78k forks source link

How do you encode RGB frames? #3227

Open pfeatherstone opened 4 years ago

pfeatherstone commented 4 years ago

How do you encode RGB frames?

huili2 commented 4 years ago

Currently it only supports YUV420 input.

urnotlcxz commented 3 years ago

What's the procedure to run the program ?For example,now I have a yuv file and I want to compress it,so what's the following steps should I do?

huili2 commented 1 year ago

you may refer to the console code in codec/console/enc/src/welsenc.cpp. There are detailed examples.