Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
392 stars 76 forks source link

Question, how to convert any Frame to RGB buffer. #68

Closed lygstate closed 1 week ago

Bahlinc-Dev commented 2 years ago

Use a filter after decode. For example, you could use format=pix_fmts=rgb24 which would output uncompressed rgb frames.

http://ffmpeg.org/ffmpeg-filters.html#toc-format-1