~ubuntu-branches/debian/experimental/libav/experimental

« back to all changes in this revision

Viewing changes to doc/filters.texi

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2014-01-18 15:46:55 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20140118154655-iz6u00yevkat1jqi
Tags: 6:10~alpha2-1
New Upstream release 10_alpha2. This upstream git snapshot has too many
changes to list here, cf. to the upstream Changelog:
http://git.libav.org/?p=libav.git;a=blob;f=Changelog;hb=refs/tags/v10_alpha2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1252
1252
 
1253
1253
@end table
1254
1254
 
 
1255
@section framepack
 
1256
 
 
1257
Pack two different video streams into a stereoscopic video, setting proper
 
1258
metadata on supported codecs. The two views should have the same size and
 
1259
framerate and processing will stop when the shorter video ends. Please note
 
1260
that you may conveniently adjust view properties with the @ref{scale} and
 
1261
@ref{fps} filters.
 
1262
 
 
1263
This filter accepts the following named parameters:
 
1264
@table @option
 
1265
 
 
1266
@item format
 
1267
Desired packing format. Supported values are:
 
1268
 
 
1269
@table @option
 
1270
 
 
1271
@item sbs
 
1272
Views are next to each other (default).
 
1273
 
 
1274
@item tab
 
1275
Views are on top of each other.
 
1276
 
 
1277
@item lines
 
1278
Views are packed by line.
 
1279
 
 
1280
@item columns
 
1281
Views are eacked by column.
 
1282
 
 
1283
@item frameseq
 
1284
Views are temporally interleaved.
 
1285
 
 
1286
@end table
 
1287
 
 
1288
@end table
 
1289
 
 
1290
Some examples follow:
 
1291
 
 
1292
@example
 
1293
# Convert left and right views into a frame sequential video.
 
1294
avconv -i LEFT -i RIGHT -filter_complex framepack=frameseq OUTPUT
 
1295
 
 
1296
# Convert views into a side-by-side video with the same output resolution as the input.
 
1297
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
 
1298
@end example
 
1299
 
1255
1300
@anchor{frei0r}
1256
1301
@section frei0r
1257
1302