[Libav-user] H.264 nal decode
srikanta mondal
srkntmondal at gmail.com
Tue Apr 10 06:31:52 CEST 2012
@kalileo Actually I want to send the encoded frame over the network by
UDP and on the client side it will decode. And on the client side I want to
decode from memory, ie using array, not using file or hard disk. Simply I
want to decode that particular encoded array with function like
avcodec_decode_video2(). I have read this function. But this function have
crashed when it call. I think there is some parameter missing or some
header portion should have to added or remove from the encoded array which
is x264_nal_t* (p_payload). Please give me some suggestion.
Thanks and regards
Srikanta Mondal
On Mon, Apr 9, 2012 at 6:24 PM, Kalileo <kalileo at universalx.net> wrote:
>
> On Apr 9, 2012, at 19:02 , srikanta mondal wrote:
>
> > Thank you for your reply.
> > @kalileo I am doing the H.264 compression by opening a file with binary
> mode and write each encoded x264_nal_t* (p_payload[0]) frame into the file.
>
> Then copy the picture - before you encode it - to the playing thread and
> display it there.
>
> Or, if your input picture is encoded already, then copy the encoded frame
> to the playing thread, decode it there, and display it.
> _______________________________________________
> 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/56747d03/attachment.html>
More information about the Libav-user
mailing list