Re: [FFmpeg-devel] [PATCH] avcodec/qsv_enc: do not reuse enc_ctrl from previous frames

2021-01-05 Thread Xiang, Haihao
On Wed, 2021-01-06 at 11:12 +0800, Xu Guangxin wrote: > fixes #8857 > > If we do not clear the enc_ctrl, we will reuse previous frames' data like > FrameType. > --- > libavcodec/qsvenc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index

[FFmpeg-devel] [PATCH] avcodec/qsv_enc: do not reuse enc_ctrl from previous frames

2021-01-05 Thread Xu Guangxin
fixes #8857 If we do not clear the enc_ctrl, we will reuse previous frames' data like FrameType. --- libavcodec/qsvenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 2bd2a56227..94473c4eab 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/

Re: [FFmpeg-devel] [PATCH] avformat/mov: adjust skip_samples according to seek timestamp

2021-01-05 Thread Marton Balint
On Tue, 5 Jan 2021, Matthieu Bouron wrote: Could you factorize this to a function? It seems you are doing exactly the same thing here and below. New patch attached. [...] diff --git a/libavformat/mov.c b/libavformat/mov.c index c6a2d9c388d..e6d0de38c6f 100644 --- a/libavformat/mov.c +++ b

Re: [FFmpeg-devel] Setup a rtmps server with nginx + ffmpeg.

2021-01-05 Thread Christopher Degawa
I think this topic is more suited for the ffmpeg-user mailing list instead of the devel mailing list ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-

Re: [FFmpeg-devel] [PATCH 07/16] avformat/mxf: Deduplicate random_index_pack_key

2021-01-05 Thread Andreas Rheinhardt
Tomas Härdin: > mån 2021-01-04 klockan 01:28 +0100 skrev Andreas Rheinhardt: >> Signed-off-by: Andreas Rheinhardt >> --- >> There is also another key that is duplicated: header_open_partition_key >> and mxf_jp2k_rsiz. But they seem to mean something different which makes >> me wonder if one of the

[FFmpeg-devel] [PATCH] sbc: do not set sample format in parser

2021-01-05 Thread Marc Gonzalez
From: Arnaud Vrac Date: Tue, 5 Jan 2021 13:47:43 +0100 Commit bdd31feec934 changed the SBC decoder to only set the output sample format on init, instead of setting it explicitly on each frame, which is correct. But the SBC parser overrides the sample format to S16, which triggers a crash when com

Re: [FFmpeg-devel] [PATCH] avcodec/dolby_e: set constant frame_size

2021-01-05 Thread Lynne
Jan 5, 2021, 10:43 by nicolas.gaullier@cji.paris: De : Nicolas Gaullier Envoyé : mardi 15 décembre 2020 18:13 À : ffmpeg-devel@ffmpeg.org Cc : Nicolas Gaullier Objet : [PATCH] avcodec/dolby_e: set constant frame_size Fixes pts generation. Setting frame_

Re: [FFmpeg-devel] Issue with ogg page termination on full last page with even last segment size

2021-01-05 Thread Lynne
Jan 5, 2021, 14:39 by pe...@zebuhr.se: > Ping! > > I would appreciate some input on this, a bit more digging and I have found > that in the lavf-ogg flake test the last packet that arrives and causes the > regression with my patch looks like this: > (AVPacket) $1 = { > buf = 0x000103105740

Re: [FFmpeg-devel] [RFC] Event loop

2021-01-05 Thread Nicolas George
Xiang Xiao (12021-01-04): > Nicolas, thank you for bringing up this topic. > My team is working on similar functionality: the event loop is the > central point to integrate protocol, demux/mux, decoder/encoder, avfilter > and avdevice to form a complete multimedia subsystem(like DirectShow or > GSt

Re: [FFmpeg-devel] [RFC] Event loop

2021-01-05 Thread Nicolas George
Steven Liu (12021-01-05): > > But as I said, I would be fine with libev the main, > Is that mean I must enable libev if I use ffmpeg, or must enable libev > if I use libav* API? Or do you mean I can configure by myself if I > don’t want use third part lib in ffmpeg? If you are referring to this l

Re: [FFmpeg-devel] [PATCH 07/16] avformat/mxf: Deduplicate random_index_pack_key

2021-01-05 Thread Tomas Härdin
mån 2021-01-04 klockan 01:28 +0100 skrev Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > There is also another key that is duplicated: header_open_partition_key > and mxf_jp2k_rsiz. But they seem to mean something different which makes > me wonder if one of these keys is incorrect;

[FFmpeg-devel] Setup a rtmps server with nginx + ffmpeg.

2021-01-05 Thread Hongyi Zhao
On Ubuntu20.10, I've compiled the latest git master version of FFmpeg with the native TLS/SSL support through the following configuration option: $ ./configure --enable-openssl See the following verification results for more info: $ ffmpeg -protocols |& egrep -i 'in|out|rtmps' Input: rtmps Out

Re: [FFmpeg-devel] Issue with ogg page termination on full last page with even last segment size

2021-01-05 Thread Peter Zebühr
Ping! I would appreciate some input on this, a bit more digging and I have found that in the lavf-ogg flake test the last packet that arrives and causes the regression with my patch looks like this: (AVPacket) $1 = { buf = 0x000103105740 pts = 44100 dts

Re: [FFmpeg-devel] [PATCH] Moves yuv2yuvX_sse3 to yasm, unrolls main loop and other small optimizations for ~20% speedup.

2021-01-05 Thread Alan Kelly
Ping! On Thu, Dec 17, 2020 at 11:42 AM Alan Kelly wrote: > --- > Fixes memory alignment problem in checkasm-sw_scale > Tested on Linux 32 and 64 bit and mingw32 > libswscale/x86/Makefile | 1 + > libswscale/x86/swscale.c| 106 +--- > libswscale/x86/yuv2yu

Re: [FFmpeg-devel] [PATCH] avcodec/dolby_e: set constant frame_size

2021-01-05 Thread Nicolas Gaullier
>>> De : Nicolas Gaullier Envoyé : mardi 15 >>> décembre 2020 18:13 À : ffmpeg-devel@ffmpeg.org Cc : Nicolas Gaullier >>> Objet : [PATCH] avcodec/dolby_e: set >>> constant frame_size >>> >>> Fixes pts generation. >>> >>> Setting frame_size in dolby_e_init() or get_audio_frame_duration() can >

Re: [FFmpeg-devel] [PATCH] avformat/mov: adjust skip_samples according to seek timestamp

2021-01-05 Thread Matthieu Bouron
On Mon, Jan 04, 2021 at 09:04:05PM +0100, Marton Balint wrote: > > > On Mon, 2 Nov 2020, Matthieu Bouron wrote: > > > Currently skip_samples is set to start_pad if sample_time is lesser or > > equal to 0. This can cause issues if the stream starts with packets that > > have negative pts. Calling