30 #define _XOPEN_SOURCE 600
98 "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:pixel_aspect=%d/%d",
104 args,
NULL, filter_graph);
114 NULL, buffersink_params, filter_graph);
133 &inputs, &outputs,
NULL)) < 0)
153 if (delay > 0 && delay < 1000000)
160 p0 = picref->
data[0];
162 for (y = 0; y < picref->
video->
h; y++) {
164 for (x = 0; x < picref->
video->
w; x++)
165 putchar(
" .-+#"[*(p++) / 52]);
172 int main(
int argc,
char **argv)
180 fprintf(stderr,
"Usage: %s file\n", argv[0]);
243 fprintf(stderr,
"Error occurred: %s\n", buf);