[FFmpeg-devel] How to implement pcap ffmpeg format?

Kieran Kunhya kierank at obe.tv
Wed Feb 22 00:38:21 EET 2023


On Tue, 21 Feb 2023, 22:33 sonntex, <sonntex at gmail.com> wrote:

> I want to implement something which helps me to play rtp stored in pcap
> files.
>
> tcpdump -i lo udp port 50000 -s0 -w - | ffplay <codec options> -i -
>
> The specification of pcap files is really simple and I could create a new
> ffmpeg format, but don't know how to process rtp packets extracted from
> pcap, because it seems that all functions for rtp parsing are private.
>
> Need a good example of inner ffmpeg formats processing.
>

How is ffmpeg meant to know the meaning of the contents of a pcap and the
format inside?

This is a very bad idea.

What's next, ffmpeg implementing userspace TCP? Are we going to add support
for parsing filesystems as well?

Regards,
Kieran Kunhya

>


More information about the ffmpeg-devel mailing list