Of course i corrected this: and looks that: AVFilter ff_vf_foobar = { .name = "foobar", .description = NULL_IF_CONFIG_SMALL("Detect and draw edge."), .priv_size = sizeof(EdgeDetectContext), .init = init, .uninit = uninit, .query_formats = query_formats, .inputs = edgedetect_inputs, .outputs = edgedetect_outputs, .priv_class = &edgedetect_class, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC, };
2016-05-25 17:16 GMT+03:00 Paul B Mahol <one...@gmail.com>: > Dana 25. 5. 2016. 15:12 osoba "Semen Zaytsev" <svz...@gmail.com> napisala > je: > > > > I defined my filter in those files, and i string about configure this > > filter in config.mak, I move content of vf_edgedetect.c to vf_foobar.c, > > defined in makefile and in allfilters.c, when i trying to use "ffmpeg -i > > http://samples.ffmpeg.org/image-samples/lena.pnm -vf foobar foobar.png". > > I'm receiving [AVFilterGraph @ 00000000003a8c40] No such filter: > > 'foobar' Error opening filters! > > > > Look at tail of vf_foobar.c, there must be foobar defined there too. > > > 2016-05-25 16:10 GMT+03:00 Semen Zaytsev <svz...@gmail.com>: > > > > > I defined my filter in those files, and i string about configure this > > > filter in config.mak, I content of vf_edgedetect.c, defined in makefile > and > > > in allfilters.c, when i trying to use "ffmpeg -i > > > http://samples.ffmpeg.org/image-samples/lena.pnm -vf foobar > foobar.png". > > > I'm receiving [AVFilterGraph @ 00000000003a8c40] No such filter: > > > 'foobar' Error opening filters! > > > > > > 2016-05-25 16:03 GMT+03:00 Paul B Mahol <one...@gmail.com>: > > > > > >> On 5/25/16, Semen Zaytsev <svz...@gmail.com> wrote: > > >> > Hi guys, i tried to use information in wirting_filters.txt, but when > i'm > > >> > compiling with MSYS2 in MinGWx64 in Windows, the filter is in > config, > > >> but > > >> > i'can not use in ffmpeg by command. > > >> > How do I resolve this problem? > > >> > _______________________________________________ > > >> > ffmpeg-devel mailing list > > >> > ffmpeg-devel@ffmpeg.org > > >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > >> > > > >> > > >> Filter must be defined in libavfilter/Makefile and > > >> libavfilter/allfilters.c > > >> _______________________________________________ > > >> ffmpeg-devel mailing list > > >> ffmpeg-devel@ffmpeg.org > > >> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > >> > > > > > > > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel