[FFmpeg-devel] [PATCH v5 3/3] libavformat/rtsp: Fix playback of sdp files from http urls.

2025-02-25 Thread Rashad Tatum
Support wildcard source-filter destinations. Revamp source-filter processing to only happen after the first media description was processed and either when the next one starts or when we have reached the end of the sdp. This handles a wider variety of cases and doesn't rely on any optional media d

[FFmpeg-devel] [PATCH v5 2/3] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-25 Thread Rashad Tatum
--- libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..ac17717195 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,

[FFmpeg-devel] [PATCH v5 1/3] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-25 Thread Rashad Tatum
by first changing the RTSPSource to track the destination address obtained from the source filter. For each RTSPStream, only add the source filter from the sdp if sdp_ip string matches source-filter's destination address. Before issuing the setup request, change the lower_transport to multicast if

[FFmpeg-devel] [PATCH v4 2/3] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-25 Thread Rashad Tatum
--- libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..ac17717195 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,

[FFmpeg-devel] [PATCH v4 3/3] libavformat/rtsp: Fix playback of sdp files from http urls.

2025-02-25 Thread Rashad Tatum
Support wildcard source-filter destinations. Revamp source-filter processing to only happen after the first media description was processed and either when the next one starts or when we have reached the end of the sdp. This handles a wider variety of cases and doesn't rely on any optional media d

[FFmpeg-devel] [PATCH v4 1/3] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-25 Thread Rashad Tatum
by first changing the RTSPSource to track the destination address obtained from the source filter. For each RTSPStream, only add the source filter from the sdp if sdp_ip string matches source-filter's destination address. Before issuing the setup request, change the lower_transport to multicast if

[FFmpeg-devel] [PATCH v3 2/2] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-19 Thread Rashad Tatum
--- This fixes the av_freep call from the previous patch. libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..ac17717195 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_pars

[FFmpeg-devel] [PATCH v3 1/2] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-19 Thread Rashad Tatum
by first changing the RTSPSource to track the destination address obtained from the source filter. For each RTSPStream, only add the source filter from the sdp if sdp_ip string matches source-filter's destination address. Before issuing the setup request, change the lower_transport to multicast if

[FFmpeg-devel] [PATCH v3] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-18 Thread Rashad Tatum
--- This fixes the av_freep calls from the previous patch. libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..ac17717195 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_par

[FFmpeg-devel] [PATCH v2 2/2] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-17 Thread Rashad Tatum
--- libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..da733938bc 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,

[FFmpeg-devel] [PATCH v2 1/2] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-17 Thread Rashad Tatum
by first changing the RTSPSource to track the destination address obtained from the source filter. For each RTSPStream, only add the source filter from the sdp if sdp_ip string matches source-filter's destination address. Before issuing the setup request, change the lower_transport to multicast if

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-17 Thread Rashad Tatum
I'm not sure how this happened. I'll check my Thunderbird settings. For now, I have attached the patches. On Mon, Feb 17, 2025 at 3:46 AM Michael Niedermayer wrote: > On Fri, Feb 14, 2025 at 12:08:24PM -0500, Rashad Tatum wrote: > > by first changing the RTSPSource to tr

[FFmpeg-devel] [PATCH 2/2] libavformat/rtsp: Free memory allocated for temporary variables while processing sdp info

2025-02-14 Thread Rashad Tatum
Signed-off-by: Rashad Tatum --- libavformat/rtsp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 0c65f8d1a4..da733938bc 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -478,6 +478,7 @@ static void sdp_parse_line(AVFormatContext *s

[FFmpeg-devel] [PATCH 1/2] libavformat/rtsp: Make source specific multicast work for rtsp streams

2025-02-14 Thread Rashad Tatum
icast if the sdp_ip is a multicast address. Change the multicast case to append sources (from the source-filter) to the rtp url to make the source specific multicast join work. Signed-off-by: Rashad Tatum --- libavformat/rtsp.c | 88 +++--- libavformat/r