bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.59k stars 1.59k forks source link

When I use the filter to set the video to have multiple paths, the resulting video turned into three identical images of the filter effect #1983

Closed zxyFalcon closed 1 year ago

zxyFalcon commented 1 year ago

When I use the filter to set the video to have multiple paths, for example "split [main][tmp]; [tmp] crop=iw:ih/2:0:0, vflip[flip]; [main][flip] overlay=0:H/2" or "[0:v]scale=iw/2:ih/2[a];[1:v][a]overlay=30:30[v]", the resulting video turned into three identical images of the filter effect

saudet commented 1 year ago

Please try to call recorder.record(frame, filter.getPixelFormat()) instead of recorder.record(frame).

saudet commented 1 year ago

Duplicate of #1984