diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-01-09 19:50:19 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-01-09 23:13:05 +0100 |
commit | a7d0e7ead95e584c4866617f046b2493066975c6 (patch) | |
tree | a16ab44d340be097ec0b3b5abffc7915b65d39a6 /doc/filters.texi | |
parent | aa69cbc9e08281db6ecb98a2c8b4f60e8b12e558 (diff) | |
download | ffmpeg-streaming-a7d0e7ead95e584c4866617f046b2493066975c6.zip ffmpeg-streaming-a7d0e7ead95e584c4866617f046b2493066975c6.tar.gz |
lavfi: add framepack filter
Diffstat (limited to 'doc/filters.texi')
-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 b32aad1..f45134b 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1252,6 +1252,51 @@ frames with a negative PTS. @end table +@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. +avconv -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. +avconv -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 + @anchor{frei0r} @section frei0r |