'\" t
.\" Title: am7xxx-play
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 01/08/2024
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "AM7XXX\-PLAY" "1" "01/08/2024" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
am7xxx-play \- play stuff on an am7xxx device (e\&.g\&. Acer C110, PicoPix 1020)
.SH "SYNOPSIS"
.sp
\fBam7xxx\-play\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.sp
am7xxx\-play(1) uses libavdevice, libavformat, libavcodec and libswscale to decode the input, encode it to jpeg and display it with libam7xxx\&.
.SH "OPTIONS"
.PP
\fB\-d\fR \fI\fR
.RS 4
the device index (default is 0)
.RE
.PP
\fB\-f\fR \fI\fR
.RS 4
the input device format
.RE
.PP
\fB\-i\fR \fI\fR
.RS 4
the input path
.RE
.PP
\fB\-o\fR \fI\fR
.RS 4
a comma separated list of input format options
.sp
EXAMPLE:
.sp
.if n \{\
.RS 4
.\}
.nf
\-o draw_mouse=1,framerate=100,video_size=800x480
.fi
.if n \{\
.RE
.\}
.RE
.PP
\fB\-s\fR \fI\fR
.RS 4
the rescaling method (see swscale\&.h)
.RE
.PP
\fB\-u\fR
.RS 4
upscale the image if smaller than the display dimensions
.RE
.PP
\fB\-F\fR \fI\fR
.RS 4
the image format to use (default is JPEG)
.PP
\fBSUPPORTED FORMATS:\fR
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
1 \- JPEG
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
2 \- NV12
.RE
.RE
.PP
\fB\-q\fR \fI\fR
.RS 4
quality of jpeg sent to the device, between 1 and 100
.RE
.PP
\fB\-l\fR \fI\fR
.RS 4
the verbosity level of libam7xxx output (0\-5)
.RE
.PP
\fB\-p\fR \fI\fR
.RS 4
the power mode of device, between 0 (off) and 4 (turbo)
WARNING: Level 2 and greater require the master AND the slave connector to be plugged in\&.
.RE
.PP
\fB\-z\fR \fI\fR
.RS 4
the display zoom mode, between 0 (original) and 4 (tele)
.RE
.PP
\fB\-h\fR
.RS 4
show the help message
.RE
.SH "EXAMPLES OF USE"
.sp
.if n \{\
.RS 4
.\}
.nf
am7xxx\-play \-f x11grab \-i :0\&.0 \-o video_size=800x480
am7xxx\-play \-f fbdev \-i /dev/fb0
am7xxx\-play \-f video4linux2 \-i /dev/video0 \-o video_size=320x240,frame_rate=100 \-u \-q 90
am7xxx\-play \-i http://download\&.blender\&.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360\&.m4v
.fi
.if n \{\
.RE
.\}
.SH "EXIT STATUS"
.PP
\fB0\fR
.RS 4
Success
.RE
.PP
\fB!0\fR
.RS 4
Failure (libam7xxx error; libav error)
.RE
.SH "AUTHORS"
.sp
Antonio Ospite and Reto Schneider
.SH "RESOURCES"
.sp
Main web site: http://git\&.ao2\&.it/libam7xxx\&.git
.SH "COPYING"
.sp
Copyright (C) 2012\-2014 Antonio Ospite
.sp
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version\&.