[FFmpeg-user] Is it possible to set RTP dynamic payload type?

xiong xu xu.xiong.cn at gmail.com
Tue Aug 18 09:34:25 CEST 2015


Hi,

Is it possible to set RTP dynamic payload type using ffmpeg command line?
Now I use the following to send camera stream to peer:
ffmpeg  -f video4linux2 -s vga -r 30 -i /dev/video0 -vcodec h264 -b
90000 -f rtp rtp://10.17.41.163:45900

The generated PT is always 96.
But I need to change the PT according to peer's request.

Any advice?

Thanks,
Xiong


More information about the ffmpeg-user mailing list