Hi,
this patchset adds support for complex filtergraphs to avconv. Complex
filtergraphs are those with more than one input and/or output or change
the stream type (though we only support video for now).

The main advantage of this right now is that it allows using overlay
without the evil and ugly hack that is the 'movie' filter, just with
avconv -i input -i logo -filter_complex overlay output
But it will be mainly useful when we finally get audio/subs support in
lavfi to support situations when the stream type changes -- primarily
subs rendering.

The patchset is not fully polished yet, I'm still wondering about the
best way to pass sws flags to the filtergraphs and some stuff in graph
parsing seems borked, but I'm throwing it out here as a RFC if someone
wants to comment.


Anton Khirnov (20):
      vf_overlay: implement poll_frame()
      vsrc_buffer: allow using a NULL buffer to signal EOF.
      vsrc_buffer: when no frame is available, return an error instead of 
segfaulting.
      avfiltergraph: add avfilter_graph_parse2().
      avconv: drop support for building without libavfilter.
      avconv: remove now pointless variables.
      avconv: only set SAR once on the decoded frame.
      avconv: remove an unused function parameter.
      avconv: get output pixel format from lavfi.
      avconv: remove a useless variable from OutputStream.
      avconv: move resample_{width,height,pix_fmt} to InputStream.
      avconv: don't set output width/height directly from input value.
      avconv: move filtered_frame from InputStream to OutputStream.
      avconv: remove OutputStream.picref.
      avconv: make filtergraphs global.
      avconv: complex filtergraphs.
      avconv: reindent.
      avconv: send EOF to vsrc_buffer.
      avconv: flush decoders immediately after an EOF.
      doc/filters: update documentation.

Stefano Sabatini (1):
      avfiltergraph: make the AVFilterInOut alloc/free API public

 Changelog                   |    1 +
 avconv.c                    | 1040 ++++++++++++++++++++++++++++---------------
 avplay.c                    |    7 +-
 cmdutils.c                  |    6 +-
 cmdutils.h                  |    2 +-
 configure                   |    2 +-
 doc/APIchanges              |    4 +
 doc/avconv.texi             |   47 ++-
 doc/filters.texi            |   19 +-
 libavfilter/avfiltergraph.h |   56 +++-
 libavfilter/buffersrc.h     |    1 +
 libavfilter/graphparser.c   |  159 +++++--
 libavfilter/version.h       |    2 +-
 libavfilter/vf_overlay.c    |   15 +-
 libavfilter/vsrc_buffer.c   |   22 +-
 tests/ref/lavf/xwd          |    6 +-
 16 files changed, 963 insertions(+), 426 deletions(-)

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to