On Wed, May 22, 2013 at 7:53 AM, Christophe Thommeret <hf...@free.fr> wrote:
> HI,
>
> What is the purpose of this property?
> Is this to allow top_filed_first encoding?
> And if so, how do i enable it in kdenlive?
> Thanx.

That property is internal to MLT and not for direct use by users and
applications. Rather, users and apps should use the "top_field_first"
property on the consumer. When this property is propagated from the
consumer to the frame, it is named "consumer_tff" on the frame object
to qualify it as the requested field order, to distinguish it from the
field order of the image within the frame. There are other similar
named properties that begin with "consumer_" that follows this
pattern. Then, mlt_consumer.h reads: "top_field_first when not
progressive, whether interlace field order is top-field-first,
defaults to 0."

IOW, if you did not set progressive=1, then it changes the desired
output field order from bottom-field-first to top-field-first. This is
then used by various services such as filter_fieldorder (via
frame.consumer_tff) and consumer_avformat. Other services such as
transition_luma and that do field-based rendering/processing might
also use it. The fieldorder filter is automatically added to producers
as one of the "normalization" filters that conforms all inputs to the
project settings. The avformat consumer uses the property to set some
of the avcodec structure fields similar to the -top option for ffmpeg.

To use it in Kdenlive, add top_field_first=1 to the render settings.

--
+-DRD-+

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to