Changes between Version 10 and Version 11 of FancyFilteringExamples


Ignore:
Timestamp:
Jan 18, 2013, 6:43:39 AM (4 years ago)
Author:
dericed
Comment:

added channel separation example with split, pad, lut, and overlay

Legend:

Unmodified
Added
Removed
Modified
  • FancyFilteringExamples

    v10 v11  
    3131{{{ 
    3232ffplay -i INPUT -vf "crop=iw/2:ih:0:0,split[tmp],pad=2*iw[left]; [tmp]hflip[right]; [left][right] overlay=W/2" 
     33}}} 
     34 
     35=== video channel separation effect with lut filter=== 
     36RGB version 
     37[[Image(rgb_sep.jpg)]] 
     38{{{ 
     39ffmpeg -f lavfi -i testsrc=d=10 -filter_complex "split=4[a][b][c][d];[a]pad=iw*4:ih[w];[b]lutrgb=g=0:b=0[x];[c]lutrgb=r=0:b=0[y];[d]lutrgb=r=0:g=0[z];[w][x]overlay=w:0[wx];[wx][y]overlay=w*2:0[wxy];[wxy][z]overlay=w*3:0" -f nut - | ffplay - 
     40}}} 
     41YUV version 
     42[[Image(yuv_sep.jpg)]] 
     43{{{ 
     44ffmpeg -f lavfi -i testsrc -filter_complex "split=4[a][b][c][d];[a]pad=iw*4:ih[w];[b]lutyuv=u=128:v=128[x];[c]lutyuv=y=0:v=128[y];[d]lutyuv=y=0:u=128[z];[w][x]overlay=w:0[wx];[wx][y]overlay=w*2:0[wxy];[wxy][z]overlay=w*3:0" -f nut - | ffplay - 
    3345}}} 
    3446