[FFmpeg-devel] [PATCH] Add FITS Demuxer

Nicolas George george at nsup.org
Tue Jul 4 19:50:42 EEST 2017


Le sextidi 16 messidor, an CCXXV, Paras Chadha a écrit :
> There is no global header.
> 
> Basically FITS files can have multiple images.
<snip>

Thanks for all the details. When there are several images, they are all
one after the other?

If so, then I really think you should stop the demuxer and integrate
FITS into the image2 system. See libavformat/img2dec.c: you only need a
parser and a probe function, which is basically a subset of what you
have written already.

One of the benefits is that the parser is in libavcodec, so it is much
easier to have it use directly the function fits_read_header() from the
decoder.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170704/563b78c6/attachment.sig>


More information about the ffmpeg-devel mailing list