<div dir="ltr"><div><div><div><div><div>Hello All<br><br></div>I am tring to stream over local network and to watch the stream using VLC<br><br></div>I am seding only video, without audio.<br></div>I am using format name "rtp" and as file name I send IP:PORT<br></div>It works VLC is showing the stream, but I am forced by ffmpeg to use SDP file.<br><br></div>If I do not use SDP file, VLC player says <br>"
<p style="margin:0px;text-indent:0px"><span style="color:rgb(255,0,0)">SDP required:</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">A description in SDP format is required to receive the RTP stream. Note that rtp:// URIs cannot work with dynamic RTP payload format (96)."</span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">It is no problem to use SDP, but I want to know how to send packets with payload different to 96 (dynamic payload)</span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">I have tried to study the code and I think that the payload could be changed according to the codec I use. The possible payload types could be one of <br></span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">" {25, "CelB", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_NONE, 90000, -1},<br> {26, "JPEG", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MJPEG, 90000, -1},<br> {28, "nv", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_NONE, 90000, -1},<br> {31, "H261", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H261, 90000, -1},<br> {32, "MPV", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG1VIDEO, 90000, -1},<br> {32, "MPV", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG2VIDEO, 90000, -1},<br> {33, "MP2T", AVMEDIA_TYPE_DATA, AV_CODEC_ID_MPEG2TS, 90000, -1},<br> {34, "H263", AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H263, 90000, -1},"</span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">Am I right?</span></p><p style="margin:0px;text-indent:0px"><br><span style="color:rgb(0,0,0)"></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">My file is H.264 and I do not transcode anything. <br></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">Is there any way to send packets with payload different to 96 without transcoding ?<br></span></p></div>