[FFmpeg-user] ffmpeg architecture question

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Fri Apr 17 19:39:24 EEST 2020


For example,
In the select branch that contains

datascope=size=1920x1080:x=45:y=340:mode=color2,not(eq(mod((n+1)\,5)\,3))

datascope appears for frames 0 1 3 4 5 6 8 9 10 11 13 14 15 16 18 19 etc.
whereas in the select branch that contains

datascope=size=1920x1080:x=45:y=340:mode=color2,eq(mod((n+1)\,5)\,3)

datascope appears solely for frames 2 7 12 17 etc.

That reveals that, though datascope is placed before the modulo filter and is therefore exposed to 
the entire stream, only those frames that pass completely through the branch are 'scoped'. 
Logically, datascope's 'scope' must be replacing the contents of the frames that pass through, not 
the frames that don't pass through.

Do you agree, or am I mistaken?



More information about the ffmpeg-user mailing list