<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hallo,<br>
<br>
<div class="moz-cite-prefix">Am 25.03.2015 um 16:39 schrieb Georgi
Rosenov Stefanov:<br>
</div>
<blockquote
cite="mid:CAA6ZoxOr6ohJOLYThOY8my679HBWL2Gf68NS7Pf9qAUpNC1S0A@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<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><span>SDP required:</span></p>
<p><span>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><br>
<span></span></p>
<p><span>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><br>
<span></span></p>
<p><span>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><br>
<span></span></p>
<p><span>" {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><br>
<span></span></p>
<p><span>Am I right?</span></p>
</div>
</blockquote>
Yes.<br>
<br>
<blockquote
cite="mid:CAA6ZoxOr6ohJOLYThOY8my679HBWL2Gf68NS7Pf9qAUpNC1S0A@mail.gmail.com"
type="cite">
<div dir="ltr">
<p><br>
<span></span></p>
<p><span>My file is H.264 and I do not transcode anything. <br>
</span></p>
<p><span>Is there any way to send packets with payload different
to 96 without transcoding ?<br>
</span></p>
</div>
</blockquote>
No, for H.264 you have to use a payload ID from the dynamic range.<br>
<br>
Best regards,<br>
Thomas.<br>
</body>
</html>