-
-
Save Moriarty16/1b519c2ffe85ac23b5410a2f19e39c9e to your computer and use it in GitHub Desktop.
Revisions
-
Patrick Trantham revised this gist
Oct 25, 2012 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ // List available formats for ffmpeg ffmpeg -pix_fmts // Convert a 720x480 nv12 (yuv 420 semi-planar) image to png ffmpeg -s 720x480 -pix_fmt nv12 -i captdump-nv12.yuv -f image2 -pix_fmt rgb24 captdump.png -
Patrick Trantham revised this gist
Aug 9, 2012 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ // Convert a 720x480 nv12 (yuv 420 semi-planar) image to png ffmpeg -s 720x480 -pix_fmt nv12 -i captdump-nv12.yuv -f image2 -pix_fmt rgb24 captdump.png // Convert a 640x480 uyvy422 image to png ffmpeg -s 640x480 -pix_fmt uyvy422 -i frame-000003.yuv -f image2 -pix_fmt rgb24 captdump.png // Display a 640x480 grayscale raw rgb file display -size 640x480 -depth 8 captdump-nv12.rgb -
Patrick Trantham created this gist
Jun 29, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ // Convert a 720x480 nv12 (yuv 420 semi-planar) image to png ffmpeg -s 720x480 -pix_fmt nv12 -i captdump-nv12.yuv -f image2 -pix_fmt rgb24 captdump.png // Display a 640x480 grayscale raw rgb file display -size 640x480 -depth 8 captdump-nv12.rgb // Convert a 640x480 grayscale raw rgb file to png convert -size 640x480 -depth 8 captdump-nv12.rgb image.png