Re: [FFmpeg-devel] [PATCH] fate: add scale filters for big-endian architectures.

2020-09-30 Thread Michael Niedermayer
On Wed, Sep 16, 2020 at 08:52:41PM +0200, Michael Niedermayer wrote: > On Mon, Sep 14, 2020 at 09:26:53PM +0200, Nicolas George wrote: [...] > > tests/fate/bmp.mak | 6 +++--- > > tests/fate/dnxhd.mak| 4 ++-- > > tests/fate/filter-video.mak | 18 +- > > tests/fa

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/mxfdec: Read Apple private Content Light Level from MXF

2020-09-30 Thread Michael Niedermayer
On Thu, Sep 17, 2020 at 10:49:31PM +0200, Tomas Härdin wrote: > mån 2020-09-14 klockan 12:23 +0200 skrev Tomas Härdin: > > ons 2020-09-09 klockan 15:56 +0100 skrev Harry Mallon: > > > * As embedded by Apple Compressor > > > > > > Signed-off-by: Harry Mallon > > > --- > > > libavformat/mxfdec.c

[FFmpeg-devel] FFmpeg for android

2020-09-30 Thread shaheer cs
Hi, Greetings of the day, Iam an android developer. And iam currently working on video streaming platform when user can do video compression,video trim etc. So I found that by using FFmpeg I can achieve most of my application functionality(Thanks for being best tool for developer like me) I ha

[FFmpeg-devel] [PATCH] avformat/adxdec: demux multiple blocks at once

2020-09-30 Thread Paul B Mahol
Improves decoding speed by 24x Signed-off-by: Paul B Mahol --- libavformat/adxdec.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/libavformat/adxdec.c b/libavformat/adxdec.c index ccd5049acd..a265c87dea 100644 --- a/libavformat/adxdec.c +++ b/lib

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/rtsp: fix infinite loop with udp transport

2020-09-30 Thread Martin Storsjö
Hi, On Sun, 27 Sep 2020, Zhao Zhili wrote: Fix #8840. Steps to reproduce: 1. sender: ./ffmpeg -i test.mp4 -c copy -f rtsp -rtsp_transport udp rtsp://localhost:12345/live.sdp 2. receiver: ./ffmpeg_g -y -rtsp_flags listen -timeout 100 -i rtsp://localhost:12345/live.sdp -c copy test.mp4 --- v3

[FFmpeg-devel] [PATCH] rtsp: Fix infinite loop in listen mode with UDP transport

2020-09-30 Thread Martin Storsjö
In listen mode with UDP transport, once the sender has sent the TEARDOWN and closed the connection, poll will indicate that one can read from the connection (indicating that the socket has reached EOF and should be closed by the receiver as well). In this case, parse_rtsp_message won't try to parse

Re: [FFmpeg-devel] [PATCH v3 2/2] avformat/rtsp: fix parse_rtsp_message

2020-09-30 Thread Martin Storsjö
On Sun, 27 Sep 2020, Zhao Zhili wrote: 1. Remove the assumption that the message method is TEARDOWN. 2. Don't ignore the error code of ff_rtsp_parse_streaming_commands. --- libavformat/rtsp.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat

Re: [FFmpeg-devel] FFmpeg for android

2020-09-30 Thread Olivier Ayache
Hi, I am not sure this mailing list is the right place to discuss about that but I am actively work with FFmpeg and Android since multiple years. My work is based on this project https://github.com/olivierayache/xuggle-xuggler which is fully working with Android and support HW encoding/decoding B

Re: [FFmpeg-devel] [PATCH 19/25] avcodec/utils: Remove always-true check

2020-09-30 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The first thing avcodec_open2() allocates is the AVCodecInternal. If > allocating it fails, a jump to end occurs; but if an error happens after > its allocation, a jump to free_and_end happens which frees all > allocations performed so far and then jumps to end. Yet free_and_e

[FFmpeg-devel] [PATCH] avformat/movenc: Fix stack overflow when remuxing timecode tracks

2020-09-30 Thread Andreas Rheinhardt
There are two possible kinds of timecode tracks (with tag "tmcd") in the mov muxer: Tracks created internally by the muxer and timecode tracks sent by the user. If any of the latter exists, the former are deactivated. The former all belong to another track, the source track; the latter don't have a

Re: [FFmpeg-devel] [PATCH] rtsp: Fix infinite loop in listen mode with UDP transport

2020-09-30 Thread Zhao Zhili
Hi Martin, On 9/30/20 5:41 PM, Martin Storsjö wrote: In listen mode with UDP transport, once the sender has sent the TEARDOWN and closed the connection, poll will indicate that one can read from the connection (indicating that the socket has reached EOF and should be closed by the receiver as we

[FFmpeg-devel] [PATCH 1/2] avformat/movenc: Fix segfault when remuxing rtp hint stream

2020-09-30 Thread Andreas Rheinhardt
When remuxing an rtp hint stream (or any stream with the tag "rtp "), the mov muxer treats this as one of the rtp hint tracks it creates internally when ordered to do so; yet this track lacks the AVFormatContext for the hinting rtp muxer, leading to segfaults in mov_write_udta_sdp() if a "trak" ato

[FFmpeg-devel] [PATCH 2/2] avformat/movenc: Make some AVCodecTag tables static

2020-09-30 Thread Andreas Rheinhardt
They are not used anywhere else. Signed-off-by: Andreas Rheinhardt --- libavformat/movenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 7d89cd579a..6c10500149 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.

Re: [FFmpeg-devel] [PATCH] fate: add scale filters for big-endian architectures.

2020-09-30 Thread Nicolas George
Michael Niedermayer (12020-09-30): > > confirmed to work on qemu mips > > so should be ok Sorry, I missed that part of your mail. Pushed. > ping, big endian is still broken A few minutes ago, I still did not see these failures on fate.ffmpeg.org. Any idea why? > also i realize that this has a d

Re: [FFmpeg-devel] [PATCH 2/9] avformat/aviobuf: check if requested seekback buffer is already read

2020-09-30 Thread Michael Niedermayer
On Tue, Sep 29, 2020 at 11:10:14PM +0200, Marton Balint wrote: > Existing code did not check if the requested seekback buffer is > already read entirely. In this case, nothing has to be done to guarantee > seekback. > > Signed-off-by: Marton Balint > --- > libavformat/aviobuf.c | 3 +++ > 1 file

Re: [FFmpeg-devel] [PATCH] rtsp: Fix infinite loop in listen mode with UDP transport

2020-09-30 Thread Martin Storsjö
On Wed, 30 Sep 2020, Zhao Zhili wrote: Hi Martin, On 9/30/20 5:41 PM, Martin Storsjö wrote: In listen mode with UDP transport, once the sender has sent the TEARDOWN and closed the connection, poll will indicate that one can read from the connection (indicating that the socket has reached EOF a

Re: [FFmpeg-devel] [PATCH 2/2] swresample/audioconvert: Fix left shift of negative value

2020-09-30 Thread Michael Niedermayer
On Tue, Sep 29, 2020 at 05:52:44PM +0200, Andreas Rheinhardt wrote: > Fixes ticket #8219. > > Signed-off-by: Andreas Rheinhardt > --- > libswresample/audioconvert.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC

Re: [FFmpeg-devel] [PATCH 2/2] avformat/asfdec_f: Change order or operations slightly

2020-09-30 Thread Michael Niedermayer
On Sat, Sep 12, 2020 at 08:18:55PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 20 * 5184056935931942919 cannot be > represented in type 'long' > Fixes: > 25466/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4798660247552000 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dxa: Use av_rescale() for duration computation

2020-09-30 Thread Michael Niedermayer
On Wed, Sep 02, 2020 at 11:39:49PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 822400 * 1629552639 cannot be represented > in type 'long' > Fixes: > 24908/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4658478506049536 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/vc1_block: Fix integer overflow in ac value

2020-09-30 Thread Michael Niedermayer
On Wed, Sep 02, 2020 at 11:39:48PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 25488 * 87381 cannot be represented in type > 'int' > Fixes: > 24765/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-5108259565076480 > > Found-by: continuous fuzzing process > ht

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/cbs: add an AVClass to CodedBitstreamType for option handling

2020-09-30 Thread James Almer
On 9/20/2020 2:24 PM, James Almer wrote: > So unit parsing may be configured with caller set options. > > Signed-off-by: James Almer > --- > libavcodec/cbs.c | 9 + > libavcodec/cbs_internal.h | 6 ++ > 2 files changed, 15 insertions(+) Ping for the set @Mark. Don't want to

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/rtsp: fix infinite loop with udp transport

2020-09-30 Thread Andriy Gelman
On Wed, 30. Sep 12:41, Martin Storsjö wrote: > Hi, > > On Sun, 27 Sep 2020, Zhao Zhili wrote: > > > Fix #8840. > > > > Steps to reproduce: > > 1. sender: > > ./ffmpeg -i test.mp4 -c copy -f rtsp -rtsp_transport udp > > rtsp://localhost:12345/live.sdp > > 2. receiver: > > ./ffmpeg_g -y -rtsp_fl

[FFmpeg-devel] [PATCH] avformat/libsrt: print streamid at client

2020-09-30 Thread raghavendra
Print the SRT streamid at the client. Signed-off-by: raghavendra --- libavformat/libsrt.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index a490a386e6..ee64cb82f7 100644 --- a/libavformat/libsrt.c +++ b/libavformat/libsrt.c @@ -359,6 +