The command line option already exists: the field_order indicate if it's top/top or Bottom/Bottom order.
But to set a correct patch for that, I need to update: - set the top_field_first at the opening encoder - in mpeg2 encoder: check the frame property on the filed_order, and if it's unknown take the top_field_first parameter from the global parameter (from the AVCodecContext) set by the first point. Is it good ? Or impossible to do that ? Do you have any unit test for that in FATE ? Is it good to add ones ? -- *Marc-Antoine* |e:arnaud.marcanto...@gmail.com |tel: 06-84-71-84-45 | ohloh: http://bit.ly/1iwtlsU [image: LinkedIn] <http://s.wisestamp.com/links?url=https%3A%2F%2Fwww.linkedin.com%2Fpub%2Fmarc-antoine-arnaud%2Fb%2F7b8%2F2a3&sn=YXJuYXVkLm1hcmNhbnRvaW5lQGdtYWlsLmNvbQ%3D%3D> [image: Google Plus] _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel