[FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add luascript filter
Paul B Mahol
onemda at gmail.com
Thu Feb 4 19:40:18 CET 2016
On 2/2/16, Paul B Mahol <onemda at gmail.com> wrote:
> Hi,
>
> patch attached.
>
Much more useful version attached.
Simple demo demonstrating functionality currently missing in lavfi:
lavfi.log(0, "Lavfi script example", lavfi.script_name, lavfi.frame_count(0));
if (lavfi.frame_count(0) >= 50) then
lavfi.filter({"aa"}, "vflip", nil, {"a"})
lavfi.filter({"bb"}, "hflip", nil, {"b"})
else
lavfi.filter({"aa"}, "negate", nil, {"a"})
lavfi.filter({"bb"}, "vflip", nil, {"b"})
end
lavfi.filter({"a", "b"}, "hstack", "2", {"out0"});
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-add-luascript-filter.patch
Type: text/x-patch
Size: 26703 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160204/0e6735b4/attachment.bin>
More information about the ffmpeg-devel
mailing list