#include #include #include #include s32 main(void) { if (!nn_common_init(NULL)) return EXIT_FAILURE; struct notcurses *nc = notcurses_init(NULL, stdin); struct ncplane_options nopts = { 0 }; nopts.cols = 25; nopts.rows = 15; nopts.x = 0; nopts.y = 0; struct ncplane *p = ncplane_create(notcurses_stdplane(nc), &nopts); //struct ncvisual *v = ncvisual_from_file("/home/andrew/c/mauri/workshop_wallpapers_11-8-21/2025095336/preview.gif"); struct ncvisual *v = ncvisual_from_file("/home/andrew/dl/mp4/This is FRIED [svlczpgt2m3d1].mp4"); if (!v) goto out; struct ncvisual_options vopts = { 0 }; vopts.scaling = NCSCALE_SCALE; vopts.blitter = NCBLIT_PIXEL; vopts.n = p; ncvisual_stream(nc, v, 1.0f, NULL, &vopts, NULL); out: notcurses_stop(nc); nn_common_close(); return EXIT_SUCCESS; }