[FFmpeg-devel] [RFC/PATCH]Interlaced lossless
pb at das-werkstatt.com
Sat Jan 26 13:05:51 CET 2013
On 01/26/2013 05:49 AM, Carl Eugen Hoyos wrote:
> Attached patch fixes ticket #2190 for me (if using mov which supports saving
> interlace information like yuv4mpeg).
> It duplicates some code across decoders, this may indicate that it is not
> entirely correct - please advise!
This reminds me of a question I've been having on my mind for a long time.
The code in your patch says:
/*we have interlaced material flagged in container */
Which commandline argument is used to tell lossless codecs like FFv1 or Huffyuv whether the material is to be considered progressive or interlaced - and where is it stored: in the container or the codec - or both?
(For lossy I've been using "-flags +ilme+ildct" , but according to FFmpeg's documentation, "ilme" is for MPEG-2/4 only  and "ildct" applies to DCT , which isn't used in e.g. FFv1 or Huffyuv)
I also presume that the compression ratio is affected if e.g. interlaced is encoded progressively - and vice versa.
Is there a way for me to compare this?
Thank you very much,
More information about the ffmpeg-devel