Skip to content

Instantly share code, notes, and snippets.

@dmpatel151282
Created August 20, 2016 12:33
Show Gist options
  • Save dmpatel151282/16848002323956a6efedd55c1c55824c to your computer and use it in GitHub Desktop.
Save dmpatel151282/16848002323956a6efedd55c1c55824c to your computer and use it in GitHub Desktop.
From PNG file to RLE file
ffmpeg -vcodec png -i logo.png -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb32 initlogo.rle
Note:- Replace format as per requirement.
From RLE file to PNG file
ffmpeg -vframes 1 -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 1024x768 -i initlogo.rle -vcodec png logo.png
Note:- Replace format and resolution as per requirement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment