Hello-
Beginning with IDL 8.2.3, IDL is able to *read* H.264 codec video files using the IDLffVideoRead object class. However, because of codec licensing limitations, IDL does not by default *write* H.264 codec video files.
If the capability to write files with this codec is needed, users do have the option to replace the FFmpeg library used by IDL with a build of the FFmpeg library that supports this. For additional information about replacing the FFmpeg library used by IDL, please refer to the IDL Help page about "Creating Video". Additionally, here is a link to this page on our web site Documentation Center:
http://www.exelisvis.com/docs/Creatin...
Also, here is some IDL 8.2.3 code that checks for IDLffVideoRead and IDLffVideoWrite support of the H.264 codec:
ovr = IDLffVideoRead()
vrcodecs = ovr.GetCodecs()
h264 = WHERE(vrcodecs EQ 'h264', count)
PRINT, '> IDLffVideoRead H.264 support:'
IF count GT 0 THEN $
PRINT, '>> '+vrcodecs[h264] $
ELSE $
PRINT, '>> Codec video read not supported.'
OBJ_DESTROY, ovr
PRINT
ovw = IDLffVideoWrite()
vwcodecs = ovw.GetCodecs()
h264 = WHERE(vwcodecs EQ 'h264', count)
PRINT, '> IDLffVideoWrite H.264 support:'
IF count GT 0 THEN $
PRINT, '>> '+vwcodecs[h264] $
ELSE $
PRINT, '>> Codec video write not supported.'
OBJ_DESTROY, ovr
I hope this will be helpful.
-Jim