Re: [FFmpeg-devel] [PATCH] mediacodecdec_h264: properly convert extradata to annex-b

2016-07-06 Thread Matthieu Bouron
On Tue, Jul 05, 2016 at 09:47:51AM +0200, Benoit Fouet wrote: > Hi, > > On 04/07/2016 10:12, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be > > converted to NAL units before sending them to MediaCodec. > > > > This patch

Re: [FFmpeg-devel] [PATCH] mediacodecdec_h264: properly convert extradata to annex-b

2016-07-05 Thread Benoit Fouet
Hi, On 04/07/2016 10:12, Matthieu Bouron wrote: From: Matthieu Bouron H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be converted to NAL units before sending them to MediaCodec. This patch adds the missing convertion of the SPS/PPS from SOBP to RBSP which makes the resulting NAL

[FFmpeg-devel] [PATCH] mediacodecdec_h264: properly convert extradata to annex-b

2016-07-04 Thread Matthieu Bouron
From: Matthieu Bouron H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be converted to NAL units before sending them to MediaCodec. This patch adds the missing convertion of the SPS/PPS from SOBP to RBSP which makes the resulting NAL units correct. Fixes codec initialization on Nexu