30 #define _XOPEN_SOURCE 600
96 if (!outputs || !inputs || !filter_graph) {
103 "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:pixel_aspect=%d/%d",
109 args, NULL, filter_graph);
117 NULL, NULL, filter_graph);
134 outputs->
next = NULL;
142 &inputs, &outputs, NULL)) < 0)
167 if (delay > 0 && delay < 1000000)
176 for (y = 0; y < frame->
height; y++) {
178 for (x = 0; x < frame->
width; x++)
179 putchar(
" .-+#"[*(p++) / 52]);
186 int main(
int argc,
char **argv)
194 if (!frame || !filt_frame) {
195 perror(
"Could not allocate frame");
199 fprintf(stderr,
"Usage: %s file\n", argv[0]);
256 fprintf(stderr,
"Error occurred: %s\n",
av_err2str(ret));