[vlc-devel] Small utility to add RTP headers to raw UDP MPEG-TS

Christophe Massiot massiot at via.ecp.fr
Mon Aug 11 13:19:02 CEST 2008

On Mon, Aug 11, 2008, Marian Ďurkovič wrote:

>    recently we run into requirement to generate RTP stream from legacy
> encoder, which unfortunately only supports MPEG-TS over raw UDP.
>    As raw UDP is unsuitable for anything larger than local LAN, I put
> together a small utility based on VLC sources, which adds proper RTP
> headers to such stream. The utility supports IPv4 unicast / multicast,
> including SSM.

It is probably of no importance to you, but please notice that the RTP
timestamp is not correct : the spec says it should be in the same scale
and origin as the PCR, which is not the case here (since it is generated
from the wall clock and not from the stream).

Christophe Massiot.

More information about the vlc-devel mailing list