[Live-devel] Can live555 read RTP data from ffmpeg?

Ross Finlayson finlayson at live555.com
Sat Jan 12 06:51:17 PST 2013


> 	I am not actually using a plain media file. I get video from camera and encode them by "ffmpeg". The weird thing about ffmpeg is that although the ffmpeg command options say that the output is RTP. Through the captured udp packets, it is not. The output are mpeg ts data over UDP directly, and one group fo UDP data have been fragmented into several UDP packets. So, in this case, shall I use BasicUDPSource instead of SimpleRTPSource as source?

Yes, but the way to do this is to change the "testOnDemandRTSPServer" code to set the constant "inputStreamIsRawUDP" to True.  (See "testProgs/testOnDemandRTSPServer.cpp", line 338.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130112/05a7a7c3/attachment-0001.html>


More information about the live-devel mailing list