[FFmpeg-devel] [PATCH] Carry DV field order from decoder to encoder

Tomas Härdin tomas.hardin at codemill.se
Mon Oct 15 17:41:47 CEST 2012


This patch series parses/writes the FS flag in the VSC pack for DV.

An open question is what to do if the FF flag isn't set. This means the
field specified by the FS flag should be duplicated. Currently this is
silently ignored. We could nag, or handle it properly (lots of code).
See [1]. I don't have a sample for this.

About this patch, the field order won't be probed properly in the next
patch unless this one is applied first. This probably has to do with
threading - I don't really care.

make fate works with all three patches.


[1] SMPTE 314M-2000, section ("VAUX source control pack (VSC)"):

> FF: Frame/field flag
> FF indicates whether two consecutive fields are delivered, or one field is repeated twice during
> one frame period.
>   0 = Only one of two fields is delivered twice
>   1 = Both fields are delivered in order.
> FS: First/second field flag
> FS indicates a field which is delivered during the field one period.
>   0 = Field 2 is delivered
>   1 = Field 1 is delivered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dvdec-Move-the-VSC-pack-parsing-to-before-avctx-exec.patch
Type: text/x-patch
Size: 1736 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121015/1df51aaf/attachment.bin>

More information about the ffmpeg-devel mailing list