2

Please help me. I have been stuck on this for ages. I am using libstreaming on Android and enforcing the encoding to use the encodeWithMediaCodecMethod2 method in the VideoStream class. This uses MediaCodec class (this has lower latency). I am using VLC on my computer to receive and play the stream from the phone. The latency is good, but the video is the made up of the wrong colours.
enter image description here

The red and blue are inverted. Any idea how to fix this? Thanks

fadden
  • 51,356
  • 5
  • 116
  • 166
dewijones92
  • 1,319
  • 2
  • 24
  • 45
  • http://bigflake.com/mediacodec/#q5 may be relevant. Also http://stackoverflow.com/questions/13703596/mediacodec-and-camera-colorspaces-dont-match . – fadden Mar 12 '14 at 22:07

1 Answers1

0

Probably u & v planes are swapped in the stream.

user2399321
  • 605
  • 7
  • 13