[FFmpeg-user] MpegTs streaming using RTP

Moritz Barsnick barsnick at gmx.net
Fri Oct 13 01:11:21 EEST 2017


On Tue, Oct 10, 2017 at 22:47:02 -0700, nitu wrote:
> Hi,
> I am trying to encode my video data in Mpeg2 and stream it as a MpegTs on a
> RTP port using FFMpeg.
> My application is sending data to RTP.But when i try to read the RTP stream
> through VLC it shows an error.
> 
> "SDP required:
> A description in SDP format is required to receive the RTP stream. Note that
> rtp:// URIs cannot work with dynamic RTP payload format (64)."

You need to create an SDP file while streaming. ffmpeg has the option
"-sdp_file <filename.sdp>" for that - it will create the RTP stream and
this file. Then point your player at this SDP file.

Moritz


More information about the ffmpeg-user mailing list