[Ffmpeg-devel] What's between UDP/RTP and Data given to avcodec_encode_video callback?
Wiese, Hendrik
hendrik.wiese
Mon Apr 10 13:27:04 CEST 2006
Hello again,
another question:
what is the difference between the data given to the callback function
called by avcodec_encode_video (AVCodecContext::rtp_callback, when
AVCodecContext::rtp_mode is 1) and the RTP data that is put into the UDP
payload while streaming H263 video?
What kind of data is given to the AVCodecContext::rtp_callback function
(after calling avcodec_encode_video)??? Is it full RTP payload with RTP
header or is it just H.263 Payload without H.263 header or what is it?
The problem is, that the data given to the callback is sometimes bigger
than 1000bytes regardless of what size I set
AVCodecContext::rtp_payload_size to (my default value is 100, but the
biggest data package just remains >1000bytes).
I don't know how to send this data via UDP. Is it just split in the
middle and is there a header to be added? I really don't have much
experience regarding RTP and UDP and the like, so please could anybody
just explain it to me? Would be greatly appreciated.
Thanks a lot
kind regards,
Hendrik Wiese
More information about the ffmpeg-devel
mailing list