[Libav-user] H.264 nal decode

srikanta mondal srkntmondal at gmail.com
Tue Apr 10 08:19:00 CEST 2012

Thank you for reply.
@kalileo   I have simply got the UDP socket and get the byte array from it.
Now that byte array is basically the x264_nal_t*(p_payload[0]) from sender
side. That encoded byte array come to client side. Now I want to decode
that array with its corresponding parameter values. I think it can be done
by using avcodec_decode_video2(). But unfortunately the encoded array may
be not appropriate for the decoding. There may some addition of bytes with
the array. Please help.

@Alex I get the error of segmentation fault by gdb debugger.

Thanks and regards
Srikanta Mondal

On Tue, Apr 10, 2012 at 11:09 AM, Alex Cohn <alexcohn at netvision.net.il>wrote:

> On Mon, Apr 9, 2012 at 15:02, srikanta mondal <srkntmondal at gmail.com>
> wrote:
> > Thank you for your reply.
> >
> > @Alex  I have used also the following
> >              sizeDelay = x264_encoder_delayed_frames(encoder);
> > But all are in vein.
> >
> > Thanks all of You
> > Srikanta Mondal
> It's not clear what kind of failure you see.
> Alex
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120410/79fe37b6/attachment.html>

More information about the Libav-user mailing list