On Thu, Mar 26, 2015 at 9:29 PM, Reddi, Praveen <[email protected]> wrote:
> . > > Then I prepended 4 bytes *[0x00, 0x00 , 0x00, 0x01]* to the byte buffer > before sending to the decoder, because I didnt receive any SPS, PPS NAL > bytes. > > When I send this byte buffer to the decoder, decoder fails when it tries to > *initialize sws Context*. > > Am I sending the NAL bytes and video frame data > Decoder needs SPS and PPS data iroder to get initialized and get decoded. Utll it gets thsoe values, it wont get initialized. If its H264 stream, there should be values in sprop of SDP for sure.
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
