[Libav-user] RTP packets with payload different to 96

Georgi Rosenov Stefanov georgi.rosenov at gmail.com
Wed Mar 25 16:39:10 CET 2015


Hello All

I am tring to stream over local network and to watch the stream using VLC

I am seding only video, without audio.
I am using format name "rtp" and as file name I send IP:PORT
It works VLC is showing the stream, but I am forced by ffmpeg to use SDP
file.

If I do not use SDP file, VLC player says
"

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 (96)."


It is no problem to use SDP, but I want to know how to send packets with
payload different to 96 (dynamic payload)


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


"  {25, "CelB",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_NONE, 90000, -1},
  {26, "JPEG",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_MJPEG, 90000, -1},
  {28, "nv",         AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_NONE, 90000, -1},
  {31, "H261",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_H261, 90000, -1},
  {32, "MPV",        AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_MPEG1VIDEO, 90000,
-1},
  {32, "MPV",        AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_MPEG2VIDEO, 90000,
-1},
  {33, "MP2T",       AVMEDIA_TYPE_DATA,    AV_CODEC_ID_MPEG2TS, 90000, -1},
  {34, "H263",       AVMEDIA_TYPE_VIDEO,   AV_CODEC_ID_H263, 90000, -1},"


Am I right?


My file is H.264 and I do not transcode anything.

Is there any way to send packets with payload different to 96 without
transcoding ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150325/ea543e23/attachment.html>


More information about the Libav-user mailing list