[Live-devel] Decoding h264 from an RTSP stream
Ilya Smelykh
ilya at darim.com
Fri Aug 20 04:10:36 PDT 2010
Hi,
Actually for regular H.264 RTP Payload all NALU sends without startcode
00000001. RTP source on client side should make defragmentation of vido
frame and add prefix with starcode bytes. In my opinion you should use
openRTSP program as start point and write you own h.264 decoder and render
classes.
Ilya Smelykh.
2010/8/20 Estelle W. Paus <ewpaus at pobox.com>
> Using your live555 libraries and ffmpeg, I am trying to write an h264
> player that uses RTSP. Although I successfully seem to be receiving
> the RTP packets, they are not being decoded. In researching this problem I
> have noticed the following:
>
> ffmpeg h264 decoder seems to be looking for 001
>
> When stepping through mplayer code, it finds this 001.
> When I look at the stream with Wireshark, I do not see a 001.
>
> My program that uses live555 and ffmpeg can't find 001 in the frame.
>
> Questions:
>
> Is the live555 library adding this 001 and if so where and how do I tell it
> to do it?
>
> Thank you so much.
> Estelle
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100820/e17ed918/attachment.html>
More information about the live-devel
mailing list