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 se
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 files is really simple and I could create a new
> ffmpeg format, but don't know how
New pcap ffmpeg format can have all options rtpdec requires.
Anyway, I don't suggest you implement this feature. I just want to find a
good entry point to start coding personally.
I need to create a development tool for rtp tracing, and pcap files seem a
good idea because I can grab rtp using tcp
Wouldn't the simplest solution just be a tiny tool that unwraps the pcap
stuff and 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
It might be interesting. I didn’t find how to pass rtp to ffmpeg stdin.
That is why I started thinking about pcap.
Could you please show an example?
On Wed, 22 Feb 2023 at 08:04, Gijs Peskens wrote:
> Wouldn't the simplest solution just be a tiny tool that unwraps the pcap
> stuff and just pass
Hi,
I agree with Kieran that this doesn't look like it belongs in FFmpeg or in any
media framework. In fact, Wireshark has some support for extracting media from
RTP, and that seems like the right place for it.
With that said, you can't realistically pass RTP packets on the standard input.
RTP
On Wed, Feb 22, 2023 at 7:54 AM Rémi Denis-Courmont wrote:
> I agree with Kieran that this doesn't look like it belongs in FFmpeg or in
> any media framework. In fact, Wireshark has some support for extracting media
> from RTP, and that seems like the right place for it.
>
> With that said, you
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 le
> -Original Message-
> From: ffmpeg-devel On Behalf Of sonntex
> Sent: 2023年2月22日 21:59
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] How to implement pcap ffmpeg format?
>
> So, if I have an rtp stream inside my application and want
; Subject: Re: [FFmpeg-devel] How to implement pcap ffmpeg format?
> >
> > 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 ffmp
;> -Original Message-
>>> From: ffmpeg-devel On Behalf Of
>> sonntex
>>> Sent: 2023年2月22日 21:59
>>> To: FFmpeg development discussions and patches
>>> Subject: Re: [FFmpeg-devel] How to implement pcap ffmpeg format?
>>>
>>>
> 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.
_
12 matches
Mail list logo