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

Green glimpse on recorded Video. Torch Mode? #373

Open drogojinaru opened 7 years ago

drogojinaru commented 7 years ago

Hello, first of all thank you for this wonderful pod. I spotted a little bug, there is a 1-2 pixel green line on the right in the recorded video. And I have 2 more questions, does it provide torch mode? if yes, could smdb tell me how to turn it on, cause I didn't find that. And the second one, as I am new to programming and Swift, do you have a tutorial in Using SwipeableFilterView, cause I can't find any examples on how I can manage that. Thank you!

wojczitsu commented 6 years ago

@drogojinaru have you found solution for green line problem?

bluesky0109 commented 6 years ago

@drogojinaru @wojczitsu

green line

it works for me

CGFloat previewWidth = CGRectGetWidth(self.bounds);
    CGFloat previewHeight = CGRectGetHeight(self.bounds);
    CGFloat fixedWidth = ceil(previewWidth / 16) * 16;
ryanhaney97 commented 6 years ago

@bluesky0109 I couldn't get this to work, what settings need to be changed in the SCRecorder to these? Happens on an iPhone X.

Some things I've noticed are that the line shows up in the segments recorded, and it doesn't show up when using the front camera instead of the back camera. Also, the line is a mix of green and purple instead of just green.

khush004 commented 5 years ago

is there any solution found?