[vlc-devel] Small utility to add RTP headers to raw UDP MPEG-TS
Marian Ďurkovič
md at bts.sk
Mon Aug 17 08:03:10 CEST 2009
On Mon, Aug 11, 2008 at 01:19:02PM +0200, Christophe Massiot wrote:
> 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).
[snip]
> Alternatively, you can also search all PIDs for an adaptation field
> containing PCR, and then consider it is the PCR_PID, but funny boys can
> also send PCRs on PIDs which are not supposed to carry them. Should work
> with most streams though.
Just FYI, I implemented the above suggestion and uploaded new version
of this utility to http://md.bts.sk/rtpstream
With kind regards,
M.
--------------------------------------------------------------------------
---- ----
---- Marian Ďurkovič network manager ----
---- ----
---- Slovak Technical University Tel: +421 2 571 041 81 ----
---- Computer Centre, Nám. Slobody 17 Fax: +421 2 524 94 351 ----
---- 812 43 Bratislava, Slovak Republic E-mail/sip: md at bts.sk ----
---- ----
--------------------------------------------------------------------------
More information about the vlc-devel
mailing list