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

2023-02-22 Thread sonntex
> On Wed, Feb 22, 2023 at 6:00 PM Zhao Zhili wrote: > > You missed the point. Use any (streaming) container which supports the codec, e.g., webm. I've already discussed solutions with ivf and h264 byte stream which are the same as webm but even easier in implementation. They are not applicable.

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

2023-02-22 Thread sonntex
Are you sure that vp8 and vp9 can be put to mpeg-ts? On Wed, Feb 22, 2023 at 3:25 PM Zhao Zhili wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > sonntex > > Sent: 2023年2月22日 21:59 > > To: FFmpeg development discussions and patches > >

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

2023-02-22 Thread sonntex
So, if I have an rtp stream inside my application and want to save it somehow to a playable media container, I have to wrap this stream to something that could be transferred by pipe to ffmpeg, for instance to ivf or to h264 byte stream. The first format requires deep codec parsing to extract at

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

2023-02-22 Thread sonntex
d just passes the packet data out on stdout? > That's assuming ffmpeg allows receiving RTP packets on stdin. > > On 21-02-2023 23:55, sonntex wrote: > > New pcap ffmpeg format can have all options rtpdec requires. > > > > Anyway, I don't suggest you implement this feature. I j

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

2023-02-21 Thread sonntex
PM Kieran Kunhya wrote: > On Tue, 21 Feb 2023, 22:33 sonntex, wrote: > > > I want to implement something which helps me to play rtp stored in pcap > > files. > > > > tcpdump -i lo udp port 5 -s0 -w - | ffplay -i - > > > > The specification of pcap

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

2023-02-21 Thread sonntex
I want to implement something which helps me to play rtp stored in pcap files. tcpdump -i lo udp port 5 -s0 -w - | ffplay -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