Wednesday, May 26, 2010

FFplay or vlc for playback of RTP/SDP?

Just completing a demo platform for the DM6467T with video capture and h.264 RTP streaming.  These employ freely licensable codecs distributed by TI rather than commercial codecs.  We're looking forward to testing latencies over dedicated ethernet as they will likely be very aggressive.

We should have a baseline SDK w/ Linux 2.6.32+, DVSDK 3.10, 720P @ 60fps, or 1080P/1080i @ 30 fps ready shortly.

We're currently working through the syntactic compatibility of the TI h.264 with other codecs.  I've used ffplay to play back RTP streams in the past, but AFAIK, FFplay doesn't have extensive command line options to specify the stream type.  After putting together an SDP file to specify the metadata for the video coming out of the EVM, it seems rather odd to me that no simple RTSP server exists.

I looked around at a couple of options for RTSP:



...but these are clients..  I just need my player to open up the RTP payload and an SDP file seems like the easiest way to provide that info..  A quick look at the RTSP protocol (http://forum.videolan.org/viewtopic.php?f=3&t=38586) shows that there are only a few commands the server needs to respond to:

  •  OPTIONS, DESCRIBE, SETUP

...because FFplay won't require the entire command set. (http://www.ietf.org/rfc/rfc2326.txt)





No comments: