Re: [FFmpeg-devel] [PATCH] avformat/mpegts: make sure mpegts_read_header always stops at the first pmt

2020-11-19 Thread Ross Nicholson
On Wed, 18 Nov 2020 at 20:11, Marton Balint wrote: > > > On Sun, 15 Nov 2020, Ross Nicholson wrote: > > > On Sat, 14 Nov 2020 at 23:40, Marton Balint wrote: > > > >> mpegts_read_header stops parsing the file at the first PMT. However the > >> chec

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: make sure mpegts_read_header always stops at the first pmt

2020-11-15 Thread Ross Nicholson
On Sat, 14 Nov 2020 at 23:40, Marton Balint wrote: > mpegts_read_header stops parsing the file at the first PMT. However the > check > that ensured this was wrong because streams can also be added before the > first > PMT is received (e.g. EIT). > > So let's make sure we are in the header reading

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Put strings instead of pointers to strings into array

2020-04-20 Thread Ross Nicholson
> On 20 Apr 2020, at 02:42, Andreas Rheinhardt > wrote: > > In this example, the difference in length between the shortest and > longest string is three, so that not using pointers to strings saves > space even on 32bit systems. > > Moreover, there is no need to use a sentinel here; it can b

Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Don't free uninitialized AVBPrint

2020-04-20 Thread Ross Nicholson
> On 20 Apr 2020, at 08:53, Marton Balint wrote: > >  > >> On Mon, 20 Apr 2020, Andreas Rheinhardt wrote: >> >> Fixes Coverity ID 1462307. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> I intend to apply this soon if there are no objections. >> >> libavformat/rtsp.c | 2 +- >> 1 file ch

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-19 Thread Ross Nicholson
> On 19 Apr 2020, at 20:30, Carl Eugen Hoyos wrote: > > Am So., 19. Apr. 2020 um 20:45 Uhr schrieb Ross Nicholson > : >> >> That’s really strange all my git config’s are just phunkyfish. >> >> I don’t really mind which name is used but I guess I’ll update

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-19 Thread Ross Nicholson
:28, Ross Nicholson wrote: >> How do you mean? What’s that problem? > > You've used Ross Nicholson for committing, and now you > only use > phunkyfish . > > Since you are not anonymous, why not use your actual name? > > > -- >

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-19 Thread Ross Nicholson
email and name? > > Thanks > >> On Fri, Apr 17, 2020, at 13:07, Ross Nicholson wrote: >> Ping >> >>>> On 15 Apr 2020, at 17:21, Ross Nicholson wrote: >>> >>>  >>> Ping to hopefully apply this patch! >>> >>>>

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-17 Thread Ross Nicholson
Ping > On 15 Apr 2020, at 17:21, Ross Nicholson wrote: > >  > Ping to hopefully apply this patch! > >>> On 12 Apr 2020, at 16:54, Ross Nicholson wrote: >>> >>  >> User testing has been completed successfully so this is ready to be applied. &g

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-15 Thread Ross Nicholson
Ping to hopefully apply this patch! > On 12 Apr 2020, at 16:54, Ross Nicholson wrote: > >  > User testing has been completed successfully so this is ready to be applied. > > Thanks > >>> On 7 Apr 2020, at 23:50, Ross Nicholson wrote: >>> >> 

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-12 Thread Ross Nicholson
User testing has been completed successfully so this is ready to be applied. Thanks > On 7 Apr 2020, at 23:50, Ross Nicholson wrote: > >  > Thank you for the explanation Marton. It's make perfect sense to me know. So > UNLIMITED would be the right choice here. &g

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-07 Thread Ross Nicholson
Thank you for the explanation Marton. It's make perfect sense to me know. So UNLIMITED would be the right choice here. All of your other comments are addressed in the latest version. Thanks again for reviewing. On Tue, 7 Apr 2020 at 22:03, Marton Balint wrote: > > > On Tue, 7

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-07 Thread Ross Nicholson
Great, thanks again. A question about AV_BPRINT_SIZE_AUTOMATIC. Is there a heuristic for when to use this versus unlimited? Or is it that generally if you would have used a buffer of 1000 or less automatic is the right choice? > On 7 Apr 2020, at 20:50, Marton Balint wrote: > >  > >> On T

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-07 Thread Ross Nicholson
Hey Nicolas, Thanks for the review. I have incorporated your comments in the latest version. I have to get some users local to the problematic streams to do the testing, they are not available in my region. It has made it somewhat problematic to get this far ;) phunkyfish On Mon, 6 Apr 2020 at

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-06 Thread Ross Nicholson
Ok, latest patch uses AVBPrint. Please let me know if my usage is correct, I have not used it before. In the meantime I will get some users to test this. On Mon, 6 Apr 2020 at 20:57, Marton Balint wrote: > > > On Mon, 6 Apr 2020, phunkyfish wrote: > > > --- > > libavformat/rtsp.c | 47 +

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-04-06 Thread Ross Nicholson
> sdp_length is used uninitialized here it is used uninitialized in the > version that was merged as b71685865fe761925feedda3cd0b288224d9a509. The > newer versions [2], [3] don't exhibit this flaw. > > [3] and [1] also have a flaw in common that [2] and this one are > lacking: The semicolon of the

Re: [FFmpeg-devel] [PATCH] avformat/rtp: Pass sources and block filter addresses via sdp file for rtp

2020-03-24 Thread Ross Nicholson
This patch will correctly pass any sources or block filters from the URL via SDP to the underlying protocol. Example URL: rtp://232.0.10.234:1?sources=87.141.215.251 Prior to this patch the sources params would be ignored and the stream reading would fail. > On 4 Mar 2020, at 23:47, phunky

Re: [FFmpeg-devel] [PATCH] avformat/udp: support w32pthreads compat

2020-03-06 Thread Ross Nicholson
Ping > On 2 Mar 2020, at 21:30, Ross Nicholson wrote: > > phunkyfish in the history is fine thanks ;) > >> On 2 Mar 2020, at 21:00, Marton Balint wrote: >> >>  >> >>>> On Mon, 2 Mar 2020, Ross Nicholson wrote: >>> >>> U

Re: [FFmpeg-devel] [PATCH] avformat/udp: support w32pthreads compat

2020-03-02 Thread Ross Nicholson
phunkyfish in the history is fine thanks ;) > On 2 Mar 2020, at 21:00, Marton Balint wrote: > >  > >> On Mon, 2 Mar 2020, Ross Nicholson wrote: >> >> Updated to correct header. > > Can you resend the patch with the proper author (e.g. Ross Nicholson inste

Re: [FFmpeg-devel] [PATCH] avformat/udp: support w32pthreads compat

2020-03-02 Thread Ross Nicholson
Updated to correct header. On Mon, 2 Mar 2020 at 19:53, Marton Balint wrote: > > > On Mon, 2 Mar 2020, phunkyfish wrote: > > > --- > > compat/w32pthreads.h | 8 > > libavformat/udp.c| 6 +- > > 2 files changed, 13 insertions(+), 1 deletion(-) > > > > diff --git a/compat/w32pthread

Re: [FFmpeg-devel] [PATCH] avformat/udp: support w32pthreads compat

2020-03-02 Thread Ross Nicholson
Thanks! On Mon, 2 Mar 2020 at 14:16, Andriy Gelman wrote: > On Mon, 02. Mar 13:38, phunkyfish wrote: > > --- > > compat/w32pthreads.h | 10 ++ > > libavformat/udp.c| 8 +++- > > 2 files changed, 17 insertions(+), 1 deletion(-) > > > > diff --git a/compat/w32pthreads.h b/compat/

Re: [FFmpeg-devel] [PATCH] avformat/udp: support w32pthreads compat

2020-03-02 Thread Ross Nicholson
This should allow the use of w32pthreads compat layer to be used for UDP. For windows this would mean not needing to change the underlying threading impl. On Mon, 2 Mar 2020 at 12:53, phunkyfish wrote: > --- > compat/w32pthreads.h | 8 > libavformat/udp.c| 8 +++- > 2 files cha

Re: [FFmpeg-devel] [avfomat/rtp: source ips lost when specified as URL options] Patch for ffmpeg using rtp protocol where sources option is not retained

2020-02-29 Thread Ross Nicholson
Ping... > On 26 Feb 2020, at 08:57, Ross Nicholson wrote: > >  > Thanks, just thought you might have another idea, as it works just was not > sure if I was accomplishing it in the right way. > > Ya, I submitted the patch formally. Let’s see what’s a review comes b

Re: [FFmpeg-devel] [avfomat/rtp: source ips lost when specified as URL options] Patch for ffmpeg using rtp protocol where sources option is not retained

2020-02-26 Thread Ross Nicholson
Tue, Feb 25, 2020 at 5:01 AM Ross Nicholson wrote: >> Hey Jun Li, >> >> I noticed you have submitted some patches which work around the same code >> area's that I submitted for. Your patches look quite tidy and well thought >> out so I was wondering if you co

Re: [FFmpeg-devel] [avfomat/rtp: source ips lost when specified as URL options] Patch for ffmpeg using rtp protocol where sources option is not retained

2020-02-25 Thread Ross Nicholson
area of ffmpeg currently has a maintainer currently so the patches may be difficult to progress. Ross On Tue, 11 Feb 2020 at 22:42, Ross Nicholson wrote: > The patch was created as a workaround to an issue from in kodi (apologies, > it's a rather long thread): > https://forum.kodi

Re: [FFmpeg-devel] [avfomat/rtp: source ips lost when specified as URL options] Patch for ffmpeg using rtp protocol where sources option is not retained

2020-02-12 Thread Ross Nicholson
The patch was created as a workaround to an issue from in kodi (apologies, it's a rather long thread): https://forum.kodi.tv/showthread.php?tid=350901&pid=2923550#pid2923550 As an example, here is a URL: rtp://87.141.215.251@232.0.10.234:1 Taking this URL we should be able to either reformat

Re: [FFmpeg-devel] [PATCH v4] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-23 Thread Ross Nicholson
Can this be applied? > On 19 Sep 2019, at 16:14, Ross Nicholson wrote: > > Updated to v4 of patch after learning from Aman Gupta that 'rt' did not need > to be checked in the context of this function. > > Should be good to go now. > >> On Thu, 19

Re: [FFmpeg-devel] [PATCH v3] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-20 Thread Ross Nicholson
Makes sense. Latest version of patch v4 should reflect this. > On 18 Sep 2019, at 21:42, phunkyfish wrote: > > --- > libavformat/rtsp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > index c153cac88b..5e8adfaf3c 100644 > --- a/libavformat/rt

Re: [FFmpeg-devel] [PATCH v4] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-19 Thread Ross Nicholson
Updated to v4 of patch after learning from Aman Gupta that 'rt' did not need to be checked in the context of this function. Should be good to go now. On Thu, 19 Sep 2019 at 16:12, phunkyfish wrote: > --- > libavformat/rtsp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavform

Re: [FFmpeg-devel] [PATCH v3] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-18 Thread Ross Nicholson
Checking other functions I don't see this checked for so I guess latest patch is fine. On Wed, 18 Sep 2019 at 21:51, Ross Nicholson wrote: > Technically this function should also return an error is rt is NULL. Which > error code would apply for this? > > On Wed, 18 Sep 2019 at

Re: [FFmpeg-devel] [PATCH v3] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-18 Thread Ross Nicholson
Technically this function should also return an error is rt is NULL. Which error code would apply for this? On Wed, 18 Sep 2019 at 21:42, phunkyfish wrote: > --- > libavformat/rtsp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > index c153

Re: [FFmpeg-devel] [PATCH v2] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-18 Thread Ross Nicholson
Sorry, my name is Ross Nicholson. But the alias is fine too. > On 18 Sep 2019, at 21:14, Michael Niedermayer wrote: > >> On Wed, Sep 18, 2019 at 07:54:27AM +0100, phunkyfish wrote: >> --- >> libavformat/rtsp.c | 3 +++ >> 1 file changed, 3 insertions(+) > >

Re: [FFmpeg-devel] [PATCH v2] libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

2019-09-17 Thread Ross Nicholson
Updated patch to add return after variable definitions. On Wed, 18 Sep 2019 at 07:54, phunkyfish wrote: > --- > libavformat/rtsp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > index c153cac88b..3e8606dade 100644 > --- a/libavformat/rtsp.c

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-09-17 Thread Ross Nicholson
This can be closed. New patch created which returns an error instead to prevent crash. On Thu, 12 Sep 2019 at 08:21, Ross Nicholson wrote: > Ping, any update? > > On Thu, 5 Sep 2019 at 06:33, Ross Nicholson wrote: > >> Hey All, >> >> Anything needed from me to

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-09-12 Thread Ross Nicholson
Ping, any update? On Thu, 5 Sep 2019 at 06:33, Ross Nicholson wrote: > Hey All, > > Anything needed from me to progress this? > > Thanks in advance, > > Ross > > On 29 Aug 2019, at 17:04, Ross Nicholson wrote: > > Hey Jun, > > So I got kodi running

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-09-04 Thread Ross Nicholson
Hey All, Anything needed from me to progress this? Thanks in advance, Ross > On 29 Aug 2019, at 17:04, Ross Nicholson wrote: > > Hey Jun, > > So I got kodi running with FFmpeg n4.2 and the issue persists. Here's the > debugger output after trying to play the

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-29 Thread Ross Nicholson
ug 2019 at 00:20, Jun Li wrote: > On Wed, Aug 28, 2019 at 3:09 PM Carl Eugen Hoyos > wrote: > > > Am Mo., 5. Aug. 2019 um 09:19 Uhr schrieb Ross Nicholson < > > phunkyf...@gmail.com>: > > > > > > Example stream that does not work: rtsp:// > > >

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-29 Thread Ross Nicholson
3:09 PM Carl Eugen Hoyos > wrote: > > > Am Mo., 5. Aug. 2019 um 09:19 Uhr schrieb Ross Nicholson < > > phunkyf...@gmail.com>: > > > > > > Example stream that does not work: rtsp:// > > > 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov > > > &

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-28 Thread Ross Nicholson
Hey guys, if there is anything else required to progress this please let me know. It’s my first patch submission to FFMpeg so not sure how long it should take. > On 23 Aug 2019, at 20:10, Ross Nicholson wrote: > > Ping > >> On 17 Aug 2019, at 14:57, Ross Nicholson wrote:

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-23 Thread Ross Nicholson
Ping > On 17 Aug 2019, at 14:57, Ross Nicholson wrote: > > Ok, thanks Moritz. > >>> On 17 Aug 2019, at 14:10, Moritz Barsnick wrote: >>> >>> On Fri, Aug 16, 2019 at 10:35:43 -0700, Ross Nicholson wrote: >>> Need anything else Moritz? >>

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-17 Thread Ross Nicholson
Ok, thanks Moritz. > On 17 Aug 2019, at 14:10, Moritz Barsnick wrote: > >> On Fri, Aug 16, 2019 at 10:35:43 -0700, Ross Nicholson wrote: >> Need anything else Moritz? > > No. I only made one remark ("can't understand your issue"), hoping to > push t

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-16 Thread Ross Nicholson
Need anything else Moritz? > On 14 Aug 2019, at 09:54, Ross Nicholson wrote: > > I would imagine that the way Kodi handles the stream, rtsp_hd_out is null as > per the following: > > URLContext * rtsp_hd_out > Additional output handle, used when input and output a

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-14 Thread Ross Nicholson
On Wed, 14 Aug 2019 at 07:20, Moritz Barsnick wrote: > On Mon, Aug 05, 2019 at 08:18:32 +0100, Ross Nicholson wrote: > > Example stream that does not work: rtsp:// > 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov > > > > Extending the condition allows the stream to be proc

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-14 Thread Ross Nicholson
ional output handle, used when input and output are done separately, eg for HTTP tunneling. In your case it would not be. On Wed, 14 Aug 2019 at 09:50, Ross Nicholson wrote: > > > On Wed, 14 Aug 2019 at 07:20, Moritz Barsnick wrote: > >> On Mon, Aug 05, 2019 at 08:18:32 +0100, Ross

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-13 Thread Ross Nicholson
Ping. If I’m missing something I should have provided for this patch please let me know. It’s my first patch to FFmpeg. > On 11 Aug 2019, at 10:39, Ross Nicholson wrote: > > 3rd time lucky, can anyone take a look at this? It’s a minor patch and is > required for kodi. > >

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-11 Thread Ross Nicholson
3rd time lucky, can anyone take a look at this? It’s a minor patch and is required for kodi. Thanks in advance > On 8 Aug 2019, at 11:46, Ross Nicholson wrote: > > Any feedback on this patch? > >> On Mon, 5 Aug 2019 at 00:18, Ross Nicholson wrote: >> Example s

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-08 Thread Ross Nicholson
Any feedback on this patch? On Mon, 5 Aug 2019 at 00:18, Ross Nicholson wrote: > Example stream that does not work: rtsp:// > 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov > > Extending the condition allows the stream to be processed correctly. > > On Mon, 5 Aug 2019 at 08:

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-05 Thread Ross Nicholson
Example stream that does not work: rtsp:// 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov Extending the condition allows the stream to be processed correctly. On Mon, 5 Aug 2019 at 08:17, Ross Nicholson wrote: > From: phunkyfish > > --- > libavformat/rtspdec.c | 2 +- > 1

[FFmpeg-devel] [PATCH] libavformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-05 Thread Ross Nicholson
From: phunkyfish --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 32dff2319c..3a79d1b175 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -57,7 +57,7 @@ static int rtsp_read_close(AV

Re: [FFmpeg-devel] [PATCH] Don't send teardown if rtsp_hd_out is null

2019-08-05 Thread Ross Nicholson
Wrong commit message/subject. Please ignore. Will send new patch shortly. On Sun, 4 Aug 2019 at 22:41, Ross Nicholson wrote: > Example stream that does not work: rtsp:// > 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov > > Extending the condition allows the stream to be process

[FFmpeg-devel] [PATCH] Don't send teardown if rtsp_hd_out is null

2019-08-04 Thread Ross Nicholson
From: phunkyfish --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 32dff2319c..3a79d1b175 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -57,7 +57,7 @@ static int rtsp_read_close(AV

Re: [FFmpeg-devel] [PATCH] Don't send teardown if rtsp_hd_out is null

2019-08-04 Thread Ross Nicholson
Example stream that does not work: rtsp:// 184.72.239.149/vod/mp4:BigBuckBunny_115k.mov Extending the condition allows the stream to be processed correctly. On Sun, 4 Aug 2019 at 22:39, Ross Nicholson wrote: > From: phunkyfish > > --- > libavformat/rtspdec.c | 2 +- > 1

[FFmpeg-devel] [PATCH] avformat/rtspdec: Don't send teardown if rtsp_hd_out is null

2019-08-04 Thread Ross Nicholson
Example: rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov Extending the condition allows the stream to be processed correctly. 0001-Don-t-send-teardown-if-rtsp_hd_out-is-null.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@