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);
125 outputs->
next = NULL;
133 &inputs, &outputs, NULL)) < 0)
153 if (delay > 0 && delay < 1000000)
162 for (y = 0; y < frame->
height; y++) {
164 for (x = 0; x < frame->
width; x++)
165 putchar(
" .-+#"[*(p++) / 52]);
172 int main(
int argc,
char **argv)
180 if (!frame || !filt_frame) {
181 perror(
"Could not allocate frame");
185 fprintf(stderr,
"Usage: %s file\n", argv[0]);
246 fprintf(stderr,
"Error occurred: %s\n", buf);