leandromoreira / ffmpeg-libav-tutorial

FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: πŸ‡ΊπŸ‡Έ πŸ‡¨πŸ‡³ πŸ‡°πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡»πŸ‡³ πŸ‡§πŸ‡·
https://github.com/leandromoreira/ffmpeg-libav-tutorial
BSD 3-Clause "New" or "Revised" License
9.82k stars 941 forks source link

hello_world program #73

Closed galasso9423 closed 3 years ago

galasso9423 commented 3 years ago

How would I convert Y,Cr,Cb frame to RGB to store in a ppm file instead of just the Y component ?

leandromoreira commented 3 years ago

Hi, I think you can convert to RBG using swcale and change the save_gray to deal with all the planes

galasso9423 commented 3 years ago

Got it working . Thank you.