H264Encoder encoder = new H264Encoder(rc);
encoder.setKeyInterval(25);
AbstractMP4DemuxerTrack inTrack = demux.getVideoTrack();
FramesMP4MuxerTrack outTrack = muxer.addTrack(TrackType.VIDEO, (int) inTrack.getTimescale());
VideoSampleEntry ine = (VideoSampleEntry) inTrack.getSampleEntries()[0];
<BUG>Picture target1 = Picture.create(1920, 1088, ColorSpace.YUV422);

Picture target2 = null;
</BUG>
ByteBuffer _out = ByteBuffer.allocate(ine.getWidth() * ine.getHeight() * 6);

H264Encoder encoder = new H264Encoder(rc);
encoder.setKeyInterval(25);
AbstractMP4DemuxerTrack inTrack = demux.getVideoTrack();
FramesMP4MuxerTrack outTrack = muxer.addTrack(TrackType.VIDEO, (int) inTrack.getTimescale());
VideoSampleEntry ine = (VideoSampleEntry) inTrack.getSampleEntries()[0];
Picture8Bit target1 = Picture8Bit.create(1920, 1088, ColorSpace.YUV422);
Picture8Bit target2 = null;
ByteBuffer _out = ByteBuffer.allocate(ine.getWidth() * ine.getHeight() * 6);
