.\" The following commands are required for all man pages.
.Dd October 28, 2015
.Dt RTP2264 1
.Os
.Sh NAME
.Nm rtp2264
.Nd convert H.264 in RTP into H.264 ES
.\" This next command is for sections 2 and 3 only.
.\" .Sh LIBRARY
.Sh SYNOPSIS
.Nm rtp2264
.Ar in_file
.Ar out_file
.Op Ar b64_block Ns Op , Ns Ar b64_block Ns Op ,...
.Sh DESCRIPTION
Take a RTP file (probably generated by
.Xr pcapreport 1 Ns )
containing
an H.264 stream and convert it into an Annex B encoded .264
elementary stream file.
.Pp
If
.Ar b64_block Ns s
are specified then it is assumed to be one or more
B64 encoded blocks containing SPS or PPS or other similar blocks.
These will each have a 00 00 00 01 sequence added at the start and
then written at the start of the out_file
.\" The following cnds should be uncommented and
.\" used where appropriate.
.\" .Sh IMPLEMENTATION NOTES
.\" This next command is for sections 2, 3 and 9 function
.\" return values only.
.\" .Sh RETURN VALUES
.\" This next command is for sections 1, 6, 7 and 8 only.
.\" .Sh ENVIRONMENT
.\" .Sh FILES
.\" .Sh EXAMPLES
.\" This next command is for sections 1, 6, 7, 8 and 9 only
.\"     (command return values (to shell) and
.\"     fprintf/stderr type diagnostics).
.\" .Sh DIAGNOSTICS
.\" .Sh COMPATIBILITY
.\" This next command is for sections 2, 3 and 9 error
.\"     and signal handling only.
.\" .Sh ERRORS
.Sh SEE ALSO
.Xr pcapreport 1
.\" .Sh STANDARDS
.\" .Sh HISTORY
.\" .Sh AUTHORS
.\" .Sh BUGS
