Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/udp: return the error code instead of generic EIO

2021-01-08 Thread lance . lmwang
On Sat, Jan 09, 2021 at 12:23:42AM +0100, Marton Balint wrote: > > > On Fri, 8 Jan 2021, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 42 ++ > > 1 file changed, 22 insertions(+),

Re: [FFmpeg-devel] [PATCH v3 3/3] avformat/mxfenc: prefer to use the existing metadata

2021-01-08 Thread lance . lmwang
On Fri, Jan 08, 2021 at 09:09:34AM +0100, Tobias Rapp wrote: > On 08.01.2021 07:32, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Please check metadata with below command: > > ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf > > ./ffmpeg -i out.mxf > > > >

[FFmpeg-devel] [PATCH v3 3/3] avformat/mxfenc: prefer to use the existing metadata

2021-01-07 Thread lance . lmwang
From: Limin Wang Please check metadata with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf company_name: FFmpeg product_name: OP1a Muxer product_version : 58.65.101o => company_name: SONY

[FFmpeg-devel] [PATCH v3 2/3] avformat/udp: add memory alloc checks

2021-01-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index 28987e0..333a612 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -892,6 +892,10 @@ static int udp_open(URLContext *h,

[FFmpeg-devel] [PATCH v3 1/3] avformat/udp: return the error code instead of generic EIO

2021-01-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 13c346a..28987e0 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/udp: add memory alloc checks

2021-01-07 Thread lance . lmwang
On Thu, Jan 07, 2021 at 05:32:35PM -0800, Chad Fraleigh wrote: > > > On 1/7/2021 2:43 AM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/libavformat/udp.c

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/udp: return the error code instead of generic EIO

2021-01-07 Thread lance . lmwang
On Thu, Jan 07, 2021 at 05:07:32PM +0100, Marton Balint wrote: > > > On Thu, 7 Jan 2021, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 47 +++ > > 1 file changed, 23

[FFmpeg-devel] [PATCH v2 2/3] avformat/udp: add memory alloc checks

2021-01-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index 798b789..e6d1235 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -891,6 +891,10 @@ static int udp_open(URLContext *h,

[FFmpeg-devel] [PATCH v2 1/3] avformat/udp: return the error code instead of generic EIO

2021-01-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 47 +++ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 13c346a..798b789 100644 --- a/libavformat/udp.c +++

[FFmpeg-devel] [PATCH v2 3/3] avformat/mxfenc: prefer to use the existing metadata

2021-01-07 Thread lance . lmwang
From: Limin Wang Please check metadata with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf company_name: FFmpeg product_name: OP1a Muxer product_version : 58.65.101o => company_name: SONY

Re: [FFmpeg-devel] [PATCH 1/5] avformat/udp: add memory alloc checks

2021-01-06 Thread lance . lmwang
On Wed, Jan 06, 2021 at 09:39:17PM +0100, Marton Balint wrote: > > > On Wed, 6 Jan 2021, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/libavformat/udp.c

Re: [FFmpeg-devel] [PATCH 2/5] avformat/mxfenc: simplify the code and use mode for OP1a/D10/OPAtom muxer

2021-01-06 Thread lance . lmwang
On Wed, Jan 06, 2021 at 06:14:07PM +0100, Marton Balint wrote: > > > On Wed, 6 Jan 2021, Andreas Rheinhardt wrote: > > > lance.lmw...@gmail.com: > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > libavformat/mxfenc.c | 73 > > >

[FFmpeg-devel] [PATCH 5/5] avformat/hlsenc: use AV_OPT_TYPE_DURATION

2021-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/muxers.texi | 4 ++-- libavformat/hlsenc.c | 18 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 8e12aca..044c16b 100644 --- a/doc/muxers.texi +++

[FFmpeg-devel] [PATCH 2/5] avformat/mxfenc: simplify the code and use mode for OP1a/D10/OPAtom muxer

2021-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mxfenc.c | 73 ++-- 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index d8678c9..7fce7b9 100644 --- a/libavformat/mxfenc.c

[FFmpeg-devel] [PATCH 3/5] avformat/mxfenc: prefer to use the existing metadata

2021-01-06 Thread lance . lmwang
From: Limin Wang Please check metadata with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf company_name: FFmpeg product_name: OP1a Muxer product_version : 58.65.101o => company_name: SONY

[FFmpeg-devel] [PATCH 4/5] avformat/hlsenc: reindent the code

2021-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index cafe0e8..7f38db7 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -3032,8 +3032,8 @@

[FFmpeg-devel] [PATCH 1/5] avformat/udp: add memory alloc checks

2021-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index 13c346a..d33e4d6 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -892,6 +892,10 @@ static int udp_open(URLContext *h,

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: remove the duplicated warning message

2020-11-29 Thread lance . lmwang
On Sun, Nov 29, 2020 at 12:42:10PM +0100, Marton Balint wrote: > > > On Sun, 29 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > ./ffmpeg -list_devices true -f decklink -i dummy > > [Blackmagic DeckLink indev @ 0x2f96d00] The "list_devices" option is > > deprecated:

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-28 Thread lance . lmwang
On Sat, Nov 21, 2020 at 12:21:10PM +0100, Marton Balint wrote: > > > On Sat, 21 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > and claim the option deprecated in the description. > > No, the description should stay as is. Adding the flag is enough, the > deprecation

[FFmpeg-devel] [PATCH] avdevice/decklink: remove the duplicated warning message

2020-11-28 Thread lance . lmwang
From: Limin Wang ./ffmpeg -list_devices true -f decklink -i dummy [Blackmagic DeckLink indev @ 0x2f96d00] The "list_devices" option is deprecated: list available devices [decklink @ 0x2f96400] The -list_devices option is deprecated and will be removed. Please use ffmpeg -sources decklink

[FFmpeg-devel] [PATCH] avformat/rtsp: prefer to use MAX_URL_SIZE for url and command buffer

2020-11-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c| 22 +++--- libavformat/rtsp.h| 5 +++-- libavformat/rtspdec.c | 20 ++-- libavformat/rtspenc.c | 4 ++-- 4 files changed, 26 insertions(+), 25 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-22 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec_c.c | 2 +- libavdevice/decklink_enc_c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c index 53a4774..60b7186 100644 ---

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-22 Thread lance . lmwang
On Sat, Nov 21, 2020 at 12:21:10PM +0100, Marton Balint wrote: > > > On Sat, 21 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > and claim the option deprecated in the description. > > No, the description should stay as is. Adding the flag is enough, the > deprecation

[FFmpeg-devel] [PATCH 4/4] avdevice/decklink_dec: fix warning for unused variable

2020-11-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 049e133..2e41b58 100644 --- a/libavdevice/decklink_dec.cpp +++

[FFmpeg-devel] [PATCH 3/4] avutil/opt: add AV_OPT_FLAG_DEPRECATED option

2020-11-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/opt.c| 1 + tests/ref/fate/opt | 54 +++--- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index c8413fa..590146b 100644 ---

[FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-20 Thread lance . lmwang
From: Limin Wang and claim the option deprecated in the description. Signed-off-by: Limin Wang --- libavdevice/decklink_dec_c.c | 3 ++- libavdevice/decklink_enc_c.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_dec_c.c

[FFmpeg-devel] [PATCH 1/4] avdevice/decklink: use boolean for list_devices option

2020-11-20 Thread lance . lmwang
From: Limin Wang For the document(indevs.texi and outdevs.texi) used it as boolean. Signed-off-by: Limin Wang --- libavdevice/decklink_dec_c.c | 2 +- libavdevice/decklink_enc_c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_dec_c.c

[FFmpeg-devel] [PATCH v4] avdevice/decklink_dec: map the raw_format instead of hardcode

2020-11-19 Thread lance . lmwang
From: Limin Wang The patch will change the numerical values for the string constants so bump micro version. Signed-off-by: Limin Wang --- libavdevice/decklink_common.h | 9 + libavdevice/decklink_dec.cpp | 3 ++- libavdevice/decklink_dec_c.c | 14 +++---

Re: [FFmpeg-devel] [PATCH v3] avdevice/decklink_dec: map the raw_format instead of hardcode

2020-11-19 Thread lance . lmwang
On Thu, Nov 19, 2020 at 09:39:14PM +0100, Marton Balint wrote: > > > On Thu, 19 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > The patch will change the numerical values for the string constants so bump > > micro version. > > > > Signed-off-by: Limin Wang > > --- > >

[FFmpeg-devel] [PATCH v3] avdevice/decklink_dec: map the raw_format instead of hardcode

2020-11-19 Thread lance . lmwang
From: Limin Wang The patch will change the numerical values for the string constants so bump micro version. Signed-off-by: Limin Wang --- libavdevice/decklink_common.h | 9 + libavdevice/decklink_dec.cpp | 3 ++- libavdevice/decklink_dec_c.c | 14 +++---

Re: [FFmpeg-devel] [PATCH v2] avdevice/decklink_dec: map the raw_format instead of hardcode

2020-11-18 Thread lance . lmwang
On Wed, Nov 18, 2020 at 07:37:40PM +0100, Marton Balint wrote: > > > On Sat, 14 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > Well, this patch changes the numerical values for the string constants. We > sometimes do that, and probably it is cleaner if we do mapping the

[FFmpeg-devel] [PATCH v2] avdevice/decklink_dec: map the raw_format instead of

2020-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_common.h | 9 + libavdevice/decklink_dec.cpp | 3 ++- libavdevice/decklink_dec_c.c | 12 ++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/libavdevice/decklink_common.h

[FFmpeg-devel] [PATCH v2] avdevice/decklink_dec: map the raw_format instead of hardcode

2020-11-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_common.h | 9 + libavdevice/decklink_dec.cpp | 3 ++- libavdevice/decklink_dec_c.c | 12 ++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/libavdevice/decklink_common.h

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/decklink_dec_c: use Decklink BMDPixelFormat constants directly

2020-11-13 Thread lance . lmwang
On Fri, Nov 13, 2020 at 07:50:16PM +0100, Marton Balint wrote: > > > On Fri, 13 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavdevice/decklink_dec_c.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > >

Re: [FFmpeg-devel] [PATCH] configure: libvmaf requires pthreads

2020-11-13 Thread lance . lmwang
On Fri, Nov 13, 2020 at 11:34:09AM -0300, James Almer wrote: > On 11/13/2020 11:27 AM, lance.lmw...@gmail.com wrote: > > On Fri, Nov 13, 2020 at 01:20:57PM +0100, Timo Rothenpieler wrote: > > > On 13.11.2020 02:23, lance.lmw...@gmail.com wrote: > > > > On Fri, Nov 13, 2020 at 02:14:05AM +0100,

[FFmpeg-devel] [PATCH 1/2] avformat/rtsp: av_rescale -> av_rescale_q

2020-11-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 5ef2f23..d9832bb 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2247,9 +2247,7 @@ redo:

[FFmpeg-devel] [PATCH 2/2] avdevice/decklink_dec_c: use Decklink BMDPixelFormat constants directly

2020-11-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec_c.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c index f3fdcd3..6e43c9e 100644 --- a/libavdevice/decklink_dec_c.c +++

Re: [FFmpeg-devel] [PATCH] configure: libvmaf requires pthreads

2020-11-13 Thread lance . lmwang
On Fri, Nov 13, 2020 at 01:20:57PM +0100, Timo Rothenpieler wrote: > On 13.11.2020 02:23, lance.lmw...@gmail.com wrote: > > On Fri, Nov 13, 2020 at 02:14:05AM +0100, Timo Rothenpieler wrote: > > > On 13.11.2020 02:05, lance.lmw...@gmail.com wrote: > > > > On Thu, Nov 12, 2020 at 05:56:57PM +0100,

Re: [FFmpeg-devel] [PATCH] configure: libvmaf requires pthreads

2020-11-12 Thread lance . lmwang
On Fri, Nov 13, 2020 at 02:14:05AM +0100, Timo Rothenpieler wrote: > On 13.11.2020 02:05, lance.lmw...@gmail.com wrote: > > On Thu, Nov 12, 2020 at 05:56:57PM +0100, Timo Rothenpieler wrote: > > > Technically, libvmaf itself does not, but our filter does, and there is > > > no other sensible way

Re: [FFmpeg-devel] [PATCH] configure: libvmaf requires pthreads

2020-11-12 Thread lance . lmwang
On Thu, Nov 12, 2020 at 05:56:57PM +0100, Timo Rothenpieler wrote: > Technically, libvmaf itself does not, but our filter does, and there is > no other sensible way to prevent a build with --enable-libvmaf from > succeeding while not actually enabling the filter. If it's private filter, I think

Re: [FFmpeg-devel] [PATCH 1/6] avformat/rtsp: 16384 -> SDP_MAX_SIZE

2020-11-09 Thread lance . lmwang
On Mon, Nov 09, 2020 at 10:51:05PM +0800, Zhao Zhili wrote: > > > > On Nov 4, 2020, at 9:37 PM, lance.lmw...@gmail.com wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/rtsp.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

[FFmpeg-devel] [PATCH 4/4] avformat/dvenc: check the format before vst and ast[i] are initialized

2020-11-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dvenc.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c index 1c38673..6c0d40f 100644 --- a/libavformat/dvenc.c +++ b/libavformat/dvenc.c @@

[FFmpeg-devel] [PATCH 1/4] avfilter/vf_fade: simplify code to use pts timebase for time check

2020-11-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_fade.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 58d7f8c..af4795c 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c

[FFmpeg-devel] [PATCH 3/4] avformat/dvenc: s->streams[i] -> st

2020-11-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dvenc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c index b04d604..1c38673 100644 --- a/libavformat/dvenc.c +++ b/libavformat/dvenc.c @@ -307,14 +307,15 @@ static

[FFmpeg-devel] [PATCH 2/4] avfilter/vf_fade: config_props -> config_input

2020-11-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_fade.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index af4795c..51eea04 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -404,7 +404,7 @@

Re: [FFmpeg-devel] [PATCH v5 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-11-06 Thread lance . lmwang
On Mon, Nov 02, 2020 at 10:07:42AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > tests/fate/filter-video.mak | 3 +++ > tests/ref/fate/filter-unsharp-yuv420p10 | 25 + > 2 files changed, 28 insertions(+) >

Re: [FFmpeg-devel] [PATCH 2/6] avformat/rtspdec: use SDP_MAX_SIZE for sdp array

2020-11-04 Thread lance . lmwang
On Wed, Nov 04, 2020 at 03:44:22PM +0200, Martin Storsjö wrote: > On Wed, 4 Nov 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/rtspdec.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

[FFmpeg-devel] [PATCH 6/6] avformat/rtspdec: return proper error code

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtspdec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 3abf34b..a4cd1f6 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -768,7 +768,7

[FFmpeg-devel] [PATCH 5/6] avformat/rtsp: check return value of ffurl_read_complete

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 3a1afa0..fc32e97 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1228,7 +1228,8 @@ start:

[FFmpeg-devel] [PATCH 3/6] avformat/rtsp: move SDP_MAX_SIZE macro definition to header file

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c| 1 - libavformat/rtsp.h| 1 + libavformat/rtspenc.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 1b876c9..51a360f 100644 --- a/libavformat/rtsp.c +++

[FFmpeg-devel] [PATCH 4/6] avformat/rtsp: prefer to use variable instead of type

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 51a360f..3a1afa0 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1990,7 +1990,7 @@ static int

[FFmpeg-devel] [PATCH 1/6] avformat/rtsp: 16384 -> SDP_MAX_SIZE

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 49c2d52..1b876c9 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -696,7 +696,7 @@ int

[FFmpeg-devel] [PATCH 2/6] avformat/rtspdec: use SDP_MAX_SIZE for sdp array

2020-11-04 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtspdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index ef084a8..3abf34b 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -172,7 +172,7 @@

[FFmpeg-devel] [PATCH] avformat/rtsp: support infinite initial_timeout for rtsp option

2020-11-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 49c2d52..4427bd2 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2049,7 +2049,7 @@ static int

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/rtsp: support for listen_timeout option for sdp

2020-11-03 Thread lance . lmwang
On Mon, Nov 02, 2020 at 11:57:47PM -0500, Andriy Gelman wrote: > On Thu, 22. Oct 14:21, Limin Wang wrote: > > ffmpeg | branch: master | Limin Wang | Sat Oct 10 > > 21:30:21 2020 +0800| [92c40ef882be115e72d2aa02f9032b7ce88f8537] | > > committer: Limin Wang > > > > avformat/rtsp: support for

[FFmpeg-devel] [PATCH v5 1/3] avfilter/vf_unsharp: add 10bit support

2020-11-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/unsharp.h| 3 + libavfilter/vf_unsharp.c | 162 +-- 2 files changed, 90 insertions(+), 75 deletions(-) diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index a60b30f..253e32d

[FFmpeg-devel] [PATCH v5 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-11-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-unsharp-yuv420p10 | 25 + 2 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10 diff --git

[FFmpeg-devel] [PATCH v5 2/3] avfilter/vf_unsharp: add more pixel format support

2020-11-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_unsharp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 416bf1c..e9b6c90 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -201,6 +201,10 @@

Re: [FFmpeg-devel] [PATCH v4 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 11:40:27AM -0400, Andriy Gelman wrote: > Hi Limin, > > On Fri, 30. Oct 23:11, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak | 3 +++ > > tests/ref/fate/filter-unsharp-yuv420p10

[FFmpeg-devel] [PATCH v4 1/3] avfilter/vf_unsharp: add 10bit support

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/unsharp.h| 3 + libavfilter/vf_unsharp.c | 162 +-- 2 files changed, 90 insertions(+), 75 deletions(-) diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index a60b30f..253e32d

[FFmpeg-devel] [PATCH v4 2/3] avfilter/vf_unsharp: add more pixel format support

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_unsharp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 416bf1c..e9b6c90 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -201,6 +201,10 @@

[FFmpeg-devel] [PATCH v4 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-unsharp-yuv420p10 | 25 + 2 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10 diff --git

Re: [FFmpeg-devel] [PATCH v3 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 03:15:08PM +0100, Nicolas George wrote: > lance.lmw...@gmail.com (12020-10-30): > > Sorry, I ignore it for I haven't realized it's a question in fact. > > Please do not ignore things people write to you. If they (I) took time > writing it, there must be a reason. > > >

Re: [FFmpeg-devel] [PATCH v3 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 02:46:50PM +0100, Nicolas George wrote: > lance.lmw...@gmail.com (12020-10-30): > > Sorry, in the previous email I did not understand the meaning of this > > sentence. > > Then maybe ask for clarification instead of just ignoring it? Sorry, I ignore it for I haven't

Re: [FFmpeg-devel] [PATCH v3 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 12:12:26PM +0100, Nicolas George wrote: > lance.lmw...@gmail.com (12020-10-30): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak | 3 ++ > > tests/ref/fate/filter-unsharp-yuv420p10 | 55 > >

[FFmpeg-devel] [PATCH v3 2/3] avfilter/vf_unsharp: add more pixel format support

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_unsharp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 416bf1c..e9b6c90 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -201,6 +201,10 @@

[FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_unsharp: add 10bit support

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/unsharp.h| 3 + libavfilter/vf_unsharp.c | 162 +-- 2 files changed, 90 insertions(+), 75 deletions(-) diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index a60b30f..253e32d

[FFmpeg-devel] [PATCH v3 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 ++ tests/ref/fate/filter-unsharp-yuv420p10 | 55 + 2 files changed, 58 insertions(+) create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10 diff --git

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/mpegtsenc: first timestamp check needed

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 10:18:29AM +0100, Marton Balint wrote: > > On Thu, 29 Oct 2020, lance.lmw...@gmail.com wrote: > > A better commit message would be: > avformat/mpegtsenc: check that not only first pts but also first dts is valid fix it locally. > > > From: Limin Wang > > > >

Re: [FFmpeg-devel] [PATCH v2 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-30 Thread lance . lmwang
On Fri, Oct 30, 2020 at 11:18:28AM +0100, Nicolas George wrote: > lance.lmw...@gmail.com (12020-10-30): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > tests/fate/filter-video.mak | 3 ++ > > tests/ref/fate/filter-unsharp-yuv420p10 | 55 > >

[FFmpeg-devel] [PATCH v2 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 ++ tests/ref/fate/filter-unsharp-yuv420p10 | 55 + 2 files changed, 58 insertions(+) create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10 diff --git

Re: [FFmpeg-devel] [PATCH 1/3] avfilter/vf_unsharp: add 10bit support

2020-10-29 Thread lance . lmwang
On Thu, Oct 29, 2020 at 09:09:00PM +0800, Linjie Fu wrote: > On Thu, Oct 29, 2020 at 7:16 PM wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/unsharp.h| 3 + > > libavfilter/vf_unsharp.c | 162 > > +-- > >

[FFmpeg-devel] [PATCH 1/3] avfilter/vf_unsharp: add 10bit support

2020-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/unsharp.h| 3 + libavfilter/vf_unsharp.c | 162 +-- 2 files changed, 90 insertions(+), 75 deletions(-) diff --git a/libavfilter/unsharp.h b/libavfilter/unsharp.h index a60b30f..253e32d

[FFmpeg-devel] [PATCH 3/3] fate/filter-video: add 10bit test for unsharp filter

2020-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 639f957..f295df4 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_unsharp: add more pixel format support

2020-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_unsharp.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 416bf1c..e9b6c90 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -201,6 +201,10 @@

[FFmpeg-devel] [PATCH v2 2/2] avformat/mpegtsenc: first timestamp check needed

2020-10-29 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mpegtsenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 383181d..9e105b7 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mpegtsenc: first dts check needed

2020-10-28 Thread lance . lmwang
On Wed, Oct 28, 2020 at 09:04:25PM +0100, Marton Balint wrote: > > > On Wed, 28 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/mpegtsenc.c | 7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git

[FFmpeg-devel] [PATCH 2/2] avformat/mpegtsenc: first dts check needed

2020-10-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mpegtsenc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 383181d..acc8c32 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -233,6 +233,7 @@

[FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: first_pts_check -> first_pts_checked

2020-10-27 Thread lance . lmwang
From: Limin Wang change to first_pts_checked and reverse the logic. Signed-off-by: Limin Wang --- libavformat/mpegtsenc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 29dcaf6..383181d 100644 ---

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-26 Thread lance . lmwang
On Mon, Oct 26, 2020 at 09:13:08PM +0100, Marton Balint wrote: > > > On Mon, 26 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > now first_pts assume dts will start from zero, if it's not true(copyts is > > enable), > > too many null packet will be inserted for cbr

[FFmpeg-devel] [PATCH v3 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-26 Thread lance . lmwang
From: Limin Wang now first_pts assume dts will start from zero, if it's not true(copyts is enable), too many null packet will be inserted for cbr output. Please test with below command, you'll get huge test.ts without the patch: ./ffmpeg -y -copyts -i ../fate-suite/mpegts/loewe.ts -c:v

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-25 Thread lance . lmwang
On Sun, Oct 25, 2020 at 06:47:27PM +0100, Marton Balint wrote: > > > On Sun, 25 Oct 2020, lance.lmw...@gmail.com wrote: > > > On Sun, Oct 25, 2020 at 01:04:11PM +0100, Marton Balint wrote: > > > > > > > > > On Thu, 22 Oct 2020, lance.lmw...@gmail.com wrote: > > > > > > > From: Limin Wang >

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-25 Thread lance . lmwang
On Sun, Oct 25, 2020 at 01:04:11PM +0100, Marton Balint wrote: > > > On Thu, 22 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > now first_pts assume dts will start from zero, if it's not true(copyts is > > enable), > > too many null packet will be inserted for cbr

[FFmpeg-devel] [PATCH v2 3/3] fftools/ffmpeg: fix the wrong bitrate and speed stats

2020-10-22 Thread lance . lmwang
From: Limin Wang The bitrate and speed stats are wrong If the copyts is enabled. Please test with below command: wget http://samples.mplayerhq.hu/MPEG2/foxksaz.ts ./ffmpeg -y -copyts -i ./foxksaz.ts -c:v libx264 -x264opts \ nal-hrd=cbr:force-cfr=1 -b:v 3500k -minrate 3500k -maxrate 3500k

[FFmpeg-devel] [PATCH v2 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-22 Thread lance . lmwang
From: Limin Wang now first_pts assume dts will start from zero, if it's not true(copyts is enable), too many null packet will be inserted for cbr output. Please test with below command, you'll get huge test.ts without the patch: ./ffmpeg -y -copyts -i ../fate-suite/mpegts/loewe.ts -c:v

[FFmpeg-devel] [PATCH v2 1/3] avformat/mpegtsenc: use total_size instead of avio_tell()

2020-10-22 Thread lance . lmwang
From: Limin Wang avio_tell() fails to get the amount of data written so far when the underlying IO context is flushed to segments. Please test with below command: $ ./ffmpeg -f lavfi -i testsrc=duration=100:size=vga -c:v libx264 -x264opts \ nal-hrd=cbr:force-cfr=1 -b:v 500k -minrate 500k

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mpegtsenc: use total_size instead of avio_tell()

2020-10-21 Thread lance . lmwang
On Wed, Oct 21, 2020 at 11:39:10PM +0200, Marton Balint wrote: > > > On Wed, 21 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > avio_tell() failed to get corrected data size in some condition. > > Please explain. E.g. avio_tell() fails to get the amount of data written

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mpegtsenc: use total_size instead of avio_tell()

2020-10-21 Thread lance . lmwang
On Wed, Oct 21, 2020 at 11:39:10PM +0200, Marton Balint wrote: > > > On Wed, 21 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > avio_tell() failed to get corrected data size in some condition. > > Please explain. E.g. avio_tell() fails to get the amount of data written

Re: [FFmpeg-devel] [PATCH 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-21 Thread lance . lmwang
On Wed, Oct 21, 2020 at 03:41:00PM -0400, Devin Heitmueller wrote: > On Wed, Oct 21, 2020 at 9:48 AM wrote: > > > > From: Limin Wang > > > > now first_pts assume dts will start from zero, if it's not true(copyts is > > enable), > > too many null packet will be inserted for cbr output. > > > >

[FFmpeg-devel] [PATCH 3/3] fftools/ffmpeg: fix the wrong bitrate and speed stats

2020-10-21 Thread lance . lmwang
From: Limin Wang The bitrate and speed stats are wrong If the copyts is enabled. Please test with below command: wget http://samples.mplayerhq.hu/MPEG2/foxksaz.ts ./ffmpeg -y -copyts -i ./foxksaz.ts -c:v libx264 -x264opts \ nal-hrd=cbr:force-cfr=1 -b:v 3500k -minrate 3500k -maxrate 3500k

[FFmpeg-devel] [PATCH 1/3] avformat/mpegtsenc: use total_size instead of avio_tell()

2020-10-21 Thread lance . lmwang
From: Limin Wang avio_tell() failed to get corrected data size in some condition. Please test with below command: $ ./ffmpeg -f lavfi -i testsrc=duration=100:size=vga -c:v libx264 -x264opts \ nal-hrd=cbr:force-cfr=1 -b:v 500k -minrate 500k -maxrate 500k -bufsize 500k \ -f hls -hls_time 10

[FFmpeg-devel] [PATCH 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-21 Thread lance . lmwang
From: Limin Wang now first_pts assume dts will start from zero, if it's not true(copyts is enable), too many null packet will be inserted for cbr output. Please test with below command, you'll get huge test.ts without the patch: ./ffmpeg -y -copyts -i ../fate-suite/mpegts/loewe.ts -c:v

Re: [FFmpeg-devel] [PATCH 6/6] avformat/udp: cosmetics

2020-10-21 Thread lance . lmwang
On Wed, Oct 14, 2020 at 10:35:03PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/udp.c | 31 +++ > 1 file changed, 15 insertions(+), 16 deletions(-) > > diff --git a/libavformat/udp.c b/libavformat/udp.c >

Re: [FFmpeg-devel] [PATCH 5/6] avformat/udp: clarify option description for timeout unit

2020-10-16 Thread lance . lmwang
On Fri, Oct 16, 2020 at 11:03:00PM +0200, Marton Balint wrote: > > > On Wed, 14 Oct 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH 5/6] avformat/udp: clarify option description for timeout unit

2020-10-14 Thread lance . lmwang
On Wed, Oct 14, 2020 at 05:03:56PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-10-14): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/udp.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavformat/udp.c

[FFmpeg-devel] [PATCH 6/6] avformat/udp: cosmetics

2020-10-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index ee5fa84..0ff7deb 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -190,7

[FFmpeg-devel] [PATCH 1/6] avformat/rtpdec: update the previous with new seq

2020-10-14 Thread lance . lmwang
From: Limin Wang If the rtp input is discontinued, we'll drop all the new received packets now, It's better to update the previous seq with the new seq so that the following packets will not be dropped always. Signed-off-by: Limin Wang --- libavformat/rtpdec.c | 1 + 1 file changed, 1

[FFmpeg-devel] [PATCH 5/6] avformat/udp: clarify option description for timeout unit

2020-10-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 30d8041..ee5fa84 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -138,7 +138,7 @@ static const AVOption

[FFmpeg-devel] [PATCH 3/6] avformat/rtsp: support for listen_timeout option for sdp

2020-10-14 Thread lance . lmwang
From: Limin Wang Now the listen timeout is hardcoded(10s). How to test(30s timeout): ./ffprobe -listen_timeout 30 -protocol_whitelist rtp,udp,file -i test.sdp Signed-off-by: Limin Wang --- libavformat/rtsp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[FFmpeg-devel] [PATCH 4/6] avformat/rtsp: reuse POLLING_TIME and remove POLL_TIMEOUT_MS

2020-10-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 4ecd702..49c2d52 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -51,9 +51,7 @@ #include

<    1   2   3   4   5   6   7   8   9   10   >