[FFmpeg-user] Regarding how to extracting video from RTPpackets using ffmpeg API or Source code

Moritz Barsnick barsnick at gmx.net
Thu Aug 9 13:26:51 EEST 2018


On Thu, Aug 09, 2018 at 10:39:32 +0530, chetan goni wrote:
>          How can extract video and audio from those pakets and make
>          output file which can play in VLC or any other media player.
[...]
> Chetan :  yes regular RTP strem.

Right on top of the ffmpeg homepage https://www.ffmpeg.org/, it says:

  Converting video and audio has never been so easy.
  $ ffmpeg -i input.mp4 output.avi

The docs show much more detail, if required.

So, please just try
$ ffmpeg -i rtp://your.proper.url output.mp4

If the input stream never ends, you need to interactively tell ffmpeg
to stop encoding by pressing 'q'.

Please do read the docs!
https://www.ffmpeg.org/ffmpeg.html

Moritz


More information about the ffmpeg-user mailing list