diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-10 02:53:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-10 03:00:48 +0100 |
commit | 402a411406854d20b3f3ab105185ccff7f6cd9ff (patch) | |
tree | 0aa0b313eb532f5276e6048ea331b6df8e909493 /doc | |
parent | 3b8299c1e1c72fdd4284d88e7d426bd35689acd3 (diff) | |
parent | a7d0e7ead95e584c4866617f046b2493066975c6 (diff) | |
download | ffmpeg-402a411406854d20b3f3ab105185ccff7f6cd9ff.tar.gz |
Merge commit 'a7d0e7ead95e584c4866617f046b2493066975c6'
* commit 'a7d0e7ead95e584c4866617f046b2493066975c6':
lavfi: add framepack filter
Conflicts:
Changelog
doc/filters.texi
libavfilter/allfilters.c
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 39c6faff79..0f9036535d 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -4521,6 +4521,51 @@ fps=fps=film:round=near @end example @end itemize +@section framepack + +Pack two different video streams into a stereoscopic video, setting proper +metadata on supported codecs. The two views should have the same size and +framerate and processing will stop when the shorter video ends. Please note +that you may conveniently adjust view properties with the @ref{scale} and +@ref{fps} filters. + +This filter accepts the following named parameters: +@table @option + +@item format +Desired packing format. Supported values are: + +@table @option + +@item sbs +Views are next to each other (default). + +@item tab +Views are on top of each other. + +@item lines +Views are packed by line. + +@item columns +Views are eacked by column. + +@item frameseq +Views are temporally interleaved. + +@end table + +@end table + +Some examples follow: + +@example +# Convert left and right views into a frame sequential video. +ffmpeg -i LEFT -i RIGHT -filter_complex framepack=frameseq OUTPUT + +# Convert views into a side-by-side video with the same output resolution as the input. +ffmpeg -i LEFT -i RIGHT -filter_complex [0:v]scale=w=iw/2[left],[1:v]scale=w=iw/2[right],[left][right]framepack=sbs OUTPUT +@end example + @section framestep Select one frame every N-th frame. |