1

I'm applying a visual effect on a video using OpenGL. The effect is separately applied to the video preview and the part where it is saved to the file, the same way as it works in Grafika, CameraCaptureActivity.

This works perfectly fine on a Nexus 5.
Whereas on a Moto G2 the preview works fine, but the saved video has only black frames.
The OpenGL effect applying part for each frame happens in a common class for both the preview and the saving (although they are separate objects).

I have verified the data being sent to the OpenGL program they seem to have valid data.

Has anybody come across such an issue?

genpfault
  • 51,148
  • 11
  • 85
  • 139
Samarth
  • 201
  • 1
  • 3

0 Answers0