MpegTs streaming using RTP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MpegTs streaming using RTP

nitu
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)."

This is error shown by VLC media player.I am not able to find any solution
to this.
Please help.



--
Sent from: http://www.ffmpeg-archive.org/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: MpegTs streaming using RTP

Moritz Barsnick
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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".