rFlex / SCRecorder

iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Apache License 2.0
3.06k stars 583 forks source link

Swift version #375

Open adriantabirta opened 7 years ago

adriantabirta commented 7 years ago

SwipeFilters do not work

MMasterson commented 7 years ago

can you give more info..? what about them? console log?

adriantabirta commented 7 years ago

The problem is that when you want to add filters on preview, as in exemple: player.scImageView = filters than black screen. I'm trying to use it in swift 3. I built my own version, using simple AVPlayerItem

videoItem.videoComposition = AVVideoComposition(asset: videoAsset, applyingCIFiltersWithHandler: { request in // apply CIFilters here })

JayBone16 commented 6 years ago

I have been trying to figure out this all day. Is there really no solution to adding a filter to an existing video url? Every time I have applied a filter on the SCAssetExportSession(), it outputs (exportSession.outputUrl) the regular video without any filter. Please help.