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

Flickering when playing saved video #337

Closed bughana closed 8 years ago

bughana commented 8 years ago

Hi there,

firstly thanks for the great library. I have a problem with flickering in recorded videos. Here is what i do:

flickering

Did anybody face this issue as well and has probably an idea how to solve it?

Help would be much appreciated, thanks in advance

amilham commented 8 years ago

Are you using the same SCFilter for playback and for exporting simultaneously?

bughana commented 8 years ago

Hm... I use the selectedFilter of the SCSwipeableFilterView (which is set as the SCImageView of the player) as the filter in the videoConfiguration of the exportSession. So yes, this is the same filter and yes, the video is playing in a loop while saving the video file. Is that a problem?

amilham commented 8 years ago

Yes. Make a copy of it for the export session instead.

bughana commented 8 years ago

Thanks so much, that fixed the problem 👍