30 #define _XOPEN_SOURCE 600
97 if (!outputs || !inputs || !filter_graph) {
104 "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:pixel_aspect=%d/%d",
106 time_base.
num, time_base.
den,
110 args,
NULL, filter_graph);
159 &inputs, &outputs,
NULL)) < 0)
184 if (delay > 0 && delay < 1000000)
193 for (y = 0; y < frame->
height; y++) {
195 for (x = 0; x < frame->
width; x++)
196 putchar(
" .-+#"[*(p++) / 52]);
203 int main(
int argc,
char **argv)
211 if (!frame || !filt_frame) {
212 perror(
"Could not allocate frame");
216 fprintf(stderr,
"Usage: %s file\n", argv[0]);
273 fprintf(stderr,
"Error occurred: %s\n",
av_err2str(ret));