Hallo,
Am 25.03.2015 um 16:39 schrieb Georgi Rosenov Stefanov:
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?
Yes.
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 ?
No, for H.264 you have to use a payload ID from the dynamic range.
Best regards,
Thomas.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user