Log in

View Full Version : ffmpeg option to output bgra?


BabaG
21st February 2010, 22:31
i'd like to keep all of my files in the same format. i have a few that were
captured as 'raw' so i'm converting them to huffyuv to match what i'm
currently capturing. in converting the file from a raw format to huffyuv
i'm getting this:Input #0, avi, from 'KL_02_01_A_00000.avi':
Duration: 00:18:58.50, start: 0.000000, bitrate: 755021 kb/s
Stream #0.0: Video: rawvideo, bgr24, 2048x1536, 10 tbr, 10 tbn, 10 tbc
[huffyuv @ 0x1003600]using huffyuv 2.2.0 or newer interlacing flag
Output #0, avi, to 'KL_02_01_A_00000_huffYUV.avi':
Stream #0.0: Video: huffyuv, yuv422p, 2048x1536, q=2-31, 200 kb/s, 10 tbn, 10 tbc
when i convert huffyuv captures to ffv1 i get this:Input #0, avi, from 'KL_02_02_C_39800_huffYUV-1.avi':
Duration: 00:08:44.10, start: 0.000000, bitrate: 421087 kb/s
Stream #0.0: Video: huffyuv, bgra, 2048x1536, 10 tbr, 10 tbn, 10 tbc
Output #0, avi, to 'KL_02_02_C_39800_FFV1-2.avi':
Stream #0.0: Video: ffv1, bgra, 2048x1536, q=2-31, 200 kb/s, 10 tbn, 10 tbc
how can i conform all of this so it all stays bgra? what is the ffmpeg
command that will change this:Output #0, avi, to 'KL_02_01_A_00000_huffYUV.avi':
Stream #0.0: Video: huffyuv, yuv422p, 2048x1536, q=2-31, 200 kb/s, 10 tbn, 10 tbc
to this:Output #0, avi, to 'KL_02_01_A_00000_huffYUV.avi':
Stream #0.0: Video: huffyuv, bgra, 2048x1536, q=2-31, 200 kb/s, 10 tbn, 10 tbc

thanks,
BabaG

Dark Shikari
21st February 2010, 22:32
-pix_fmt bgra

BabaG
21st February 2010, 22:32
i can't believe how fast this guy is. thanks!