[FFmpeg-devel] [PATCH v2] avcodec/cavs_parser: fix finding the end of a frame

2023-05-15 Thread Zhao Zhili
From: Zhao Zhili Use the next I/P/B or start code as the end of current frame. Before the patch, extension start code, user data start code, sequence end code and so on are treated as the start of next frame. Signed-off-by: Zhao Zhili --- v2: add fate test The sample has been sent to samples-r

[FFmpeg-devel] [PATCH 3/3] lavc/qsvenc: call av_frame_get_buffer2 instead of av_frame_get_buffer

2023-05-15 Thread Xiang, Haihao
From: Haihao Xiang Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 0ed1f757d4..0f9442296d 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1918,7 +1918,7 @@ stat

[FFmpeg-devel] [PATCH 2/3] lavu/hwcontext_qsv: call av_frame_get_buffer2 instead of av_frame_get_buffer

2023-05-15 Thread Xiang, Haihao
From: Haihao Xiang Signed-off-by: Haihao Xiang --- libavutil/hwcontext_qsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 4ed4242ddf..3d094c7239 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontex

[FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_get_buffer2

2023-05-15 Thread Xiang, Haihao
From: Haihao Xiang Intel MediaSDK and oneVPL expect continuous allocation for data[i], however there are mandatory padding bytes between data[i] and data[i+1]. when calling av_frame_get_buffer. So adding av_frame_get_buffer2 to allow caller to specify the length of padding bytes. Signed-off-by:

[FFmpeg-devel] [PATCH 4/4] avformat/hls: remove non standard hls extension

2023-05-15 Thread Michael Niedermayer
Suggested-by: Kacper Michajlow Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 2bc142510e..4fff4405e8 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2546,8 +25

[FFmpeg-devel] [PATCH 3/4] avformat/hls: Better message from hls_probe()

2023-05-15 Thread Michael Niedermayer
Found-by: Kacper Michajlow Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index fc29ef0ca9..2bc142510e 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2536,17

[FFmpeg-devel] [PATCH 2/4] avformat/hls: Check mime_ok first

2023-05-15 Thread Michael Niedermayer
This should be a few nano seconds faster (not measureable) But Collectively the whole humankind watching hls will safe a minute Found-by: Leo Izen Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c

[FFmpeg-devel] [PATCH 1/4] avformat/format: Remove redundant FFMIN() in ff_match_url_ext()

2023-05-15 Thread Michael Niedermayer
Found-by: Leo Izen Signed-off-by: Michael Niedermayer --- libavformat/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/format.c b/libavformat/format.c index d9135854de..c91f71057a 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -70,7 +70,7

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-15 Thread James Almer
From 6fddad6ea2abf91a7378fb367a439441ef8f32b4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 32 ++-- 1 file changed, 30

[FFmpeg-devel] [PATCH] avfilter: add more usage of ff_null_get_*_buffer()

2023-05-15 Thread Paul B Mahol
Attached. From 27c37fe14f6e631e581002ef8fa942095efe0338 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 22:30:07 +0200 Subject: [PATCH 3/3] avfilter: add more usage of ff_null_get_*_buffer() Signed-off-by: Paul B Mahol --- libavfilter/af_aformat.c | 1 + libavfilter/af_anull

[FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-15 Thread Paul B Mahol
Attached. From 6fddad6ea2abf91a7378fb367a439441ef8f32b4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 32 ++-- 1 file cha

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-05-15 Thread Roy Funderburk
On 5/15/23 1:35 PM, Michael Niedermayer wrote: > Seems iam unable to download this. google complains about some 3rd party > cookies > being disabled when i try to download. This seems new Hi, Since google drive is not working out, I am uploading a small 78k (under the 100k limit) audio file he

[FFmpeg-devel] [PATCH] avfilter/src_movie: switch to activate()

2023-05-15 Thread Paul B Mahol
Attached. From a5bfd2e0856a02989ce7f1d2a4f3b9f45c77189f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 2 Apr 2022 14:06:22 +0200 Subject: [PATCH 1/3] avfilter/src_movie: switch to activate() Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 91 +--

Re: [FFmpeg-devel] [PATCH 04/13] lavf: use AV_CODEC_PROP_FIELDS where appropriate

2023-05-15 Thread Anton Khirnov
Quoting Michael Niedermayer (2023-05-15 20:59:42) > On Tue, May 09, 2023 at 10:44:50AM +0200, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2023-05-08 16:15:42) > > > On Sun, May 07, 2023 at 03:32:46PM +0200, Anton Khirnov wrote: > > > > H.264 and mpeg12 parsers need to be adjusted at the s

Re: [FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-05-15 Thread Neal Gompa
On Mon, May 15, 2023 at 4:32 AM Steven Liu wrote: > > Reference file: > https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf > The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.js. > you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. >

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-05-15 Thread Michael Niedermayer
On Mon, May 15, 2023 at 07:50:27AM -0700, Roy Funderburk wrote: > On 5/13/23 12:28 AM, Paul B Mahol wrote: > > How to test this additions, any samples available? > > > Hi, > > I have uploaded a DTS:X audio sample to google drive: > > drive. google. com /drive/folders/ > 1jbfsZvnrBDmgQS0VLKBAns

Re: [FFmpeg-devel] Global variables in FFmpeg command expressions?

2023-05-15 Thread Paul B Mahol
On Mon, May 15, 2023 at 8:45 PM Joan Lluch wrote: > Hi all, > > I recently made a feature request to one of the community members. I was > ready to pay a reasonable amount for it, but as it was a relatively quick > fix, he was kind enough to implement it on his own, and I made a donation > to the

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hls: Try to implement RFC8216 playlist refusal

2023-05-15 Thread Michael Niedermayer
On Mon, May 15, 2023 at 11:58:16AM +0200, Kacper Michajlow wrote: > On Mon, 15 May 2023 at 02:06, Michael Niedermayer > wrote: > > > > This is not well tested and can likely be improved, just a > > hotfix for hls probe failures since 6b1f68ccb04d791f0250e05687c346a99ff47ea1 > > > > Should fix Tick

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hls: Try to implement RFC8216 playlist refusal

2023-05-15 Thread Michael Niedermayer
On Sun, May 14, 2023 at 11:14:12PM -0400, Leo Izen wrote: > > > On 5/14/23 20:05, Michael Niedermayer wrote: > > This is not well tested and can likely be improved, just a > > hotfix for hls probe failures since 6b1f68ccb04d791f0250e05687c346a99ff47ea1 > > > > Should fix Ticket10353 (please test

Re: [FFmpeg-devel] [PATCH 2/3] avformat: add ff_match_url_ext()

2023-05-15 Thread Michael Niedermayer
On Sun, May 14, 2023 at 11:10:00PM -0400, Leo Izen wrote: > On 5/14/23 20:05, Michael Niedermayer wrote: > > Match url against a list of extensions similar to av_match_ext() > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/format.c | 25 + > > libavf

Re: [FFmpeg-devel] [PATCH 04/13] lavf: use AV_CODEC_PROP_FIELDS where appropriate

2023-05-15 Thread Michael Niedermayer
On Tue, May 09, 2023 at 10:44:50AM +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2023-05-08 16:15:42) > > On Sun, May 07, 2023 at 03:32:46PM +0200, Anton Khirnov wrote: > > > H.264 and mpeg12 parsers need to be adjusted at the same time to stop > > > using the value of AVCodecContext.t

[FFmpeg-devel] Global variables in FFmpeg command expressions?

2023-05-15 Thread Joan Lluch
Hi all, I recently made a feature request to one of the community members. I was ready to pay a reasonable amount for it, but as it was a relatively quick fix, he was kind enough to implement it on his own, and I made a donation to the community instead. The feature I refer to is the “keep” par

[FFmpeg-devel] [PATCH v3 2/2] fate/imf: remove redundant code

2023-05-15 Thread pal
From: Pierre-Anthony Lemieux --- libavformat/tests/imf.c | 52 ++--- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/libavformat/tests/imf.c b/libavformat/tests/imf.c index c02cd87ceb..068ee6c58a 100644 --- a/libavformat/tests/imf.c +++ b/libav

[FFmpeg-devel] [PATCH v3 1/2] fate/imf: fix memory leak

2023-05-15 Thread pal
From: Pierre-Anthony Lemieux --- libavformat/tests/imf.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavformat/tests/imf.c b/libavformat/tests/imf.c index cfd84fb8c8..c02cd87ceb 100644 --- a/libavformat/tests/imf.c +++ b/libavformat/tests/imf.c @@ -402,6 +40

[FFmpeg-devel] [PATCH v1 2/2] fate/imf: remove redundant code

2023-05-15 Thread pal
From: Pierre-Anthony Lemieux --- libavformat/tests/imf.c | 38 +- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/libavformat/tests/imf.c b/libavformat/tests/imf.c index a5bdf16645..a23b687c3d 100644 --- a/libavformat/tests/imf.c +++ b/libavform

[FFmpeg-devel] [PATCH v1 1/2] fate/imf: fix memory leak

2023-05-15 Thread pal
From: Pierre-Anthony Lemieux --- libavformat/tests/imf.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavformat/tests/imf.c b/libavformat/tests/imf.c index cfd84fb8c8..a5bdf16645 100644 --- a/libavformat/tests/imf.c +++ b/libavformat/tests/imf.c @@ -402,6 +4

Re: [FFmpeg-devel] [PATCH v3 1/2] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-05-15 Thread Roy Funderburk
On 5/13/23 12:28 AM, Paul B Mahol wrote: > How to test this additions, any samples available? Hi, I have uploaded a DTS:X audio sample to google drive: drive. google. com /drive/folders/ 1jbfsZvnrBDmgQS0VLKBAnsZaxgf28vYh?usp=sharing Thanks for looking this over, -Roy ___

Re: [FFmpeg-devel] [PATCH] lavc/libdav1d: fix exporting framerate

2023-05-15 Thread James Almer
On 5/15/2023 9:22 AM, Anton Khirnov wrote: Same issues as in the previous commit. --- libavcodec/Makefile | 2 +- libavcodec/libdav1d.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9587e56493..4d59411662 100

[FFmpeg-devel] [PATCH] lavc/libdav1d: fix exporting framerate

2023-05-15 Thread Anton Khirnov
Same issues as in the previous commit. --- libavcodec/Makefile | 2 +- libavcodec/libdav1d.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9587e56493..4d59411662 100644 --- a/libavcodec/Makefile +++ b/libavcodec/M

Re: [FFmpeg-devel] [PATCH] avcodec/nvdec_mpeg2: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
On Mon, May 15, 2023 at 1:30 PM Hendrik Leppkes wrote: > > Apparently mpeg4 and VDPAU have the same issue. I can test and fix > mpeg4, but do not have VDPAU setup, so .. untested commits incoming? > Tested and confirmed mpeg2 and mpeg4 are fixed for NVDEC, and elenril tested VDPAU with the same r

Re: [FFmpeg-devel] [PATCH] lavc/libdav1d: fix exporting framerate

2023-05-15 Thread James Almer
On 5/15/2023 5:22 AM, Anton Khirnov wrote: Same issues as in the previous commit. --- Updated for changes in previous patch. --- libavcodec/Makefile | 2 +- libavcodec/libdav1d.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavcodec/Makefile b/libavcode

Re: [FFmpeg-devel] [PATCH] lavc/av1*: fix exporting framerate

2023-05-15 Thread James Almer
On 5/15/2023 5:22 AM, Anton Khirnov wrote: * take num_ticks_per_picture_minus_1 into account, since that is a part of the framerate computation * stop exporting num_ticks_per_picture_minus_1 into AVCodecContext.ticks_per_frame, as that field is used for other purposes (in conjunction wit

[FFmpeg-devel] [PATCH 4/4] avcodec/vdpau_mpeg4: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
The matrix coefficients are stored permutated for the IDCT, rather then in plain raster order, and need to be un-permutated for the hardware. --- libavcodec/vdpau_mpeg4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/vdpau_mpeg4.c b/libavcodec/vdpau_mpeg4.c in

[FFmpeg-devel] [PATCH 3/4] avcodec/vdpau_mpeg12: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
The matrix coefficients are stored permutated for the IDCT, rather then in plain raster order, and need to be un-permutated for the hardware. --- libavcodec/vdpau_mpeg12.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c

[FFmpeg-devel] [PATCH 2/4] avcodec/nvdec_mpeg4: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
The matrix coefficients are stored permutated for the IDCT, rather then in plain raster order, and need to be un-permutated for the hardware. --- libavcodec/nvdec_mpeg4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvdec_mpeg4.c b/libavcodec/nvdec_mpeg4.c in

[FFmpeg-devel] [PATCH 1/4] avcodec/nvdec_mpeg2: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
The matrix coefficients are stored permutated for the IDCT, rather then in plain raster order, and need to be un-permutated for the hardware. --- libavcodec/nvdec_mpeg12.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvdec_mpeg12.c b/libavcodec/nvdec_mpeg12.c

Re: [FFmpeg-devel] [PATCH] avcodec/nvdec_mpeg2: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
On Mon, May 15, 2023 at 12:51 PM Hendrik Leppkes wrote: > > mpeg2dec stores them permutated for the IDCT, nvdec expects them in > plain raster order. > --- > libavcodec/nvdec_mpeg12.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/nvdec_mpeg12.c b/libavco

[FFmpeg-devel] [PATCH] avcodec/nvdec_mpeg2: fix order of quant matrix coefficients

2023-05-15 Thread Hendrik Leppkes
mpeg2dec stores them permutated for the IDCT, nvdec expects them in plain raster order. --- libavcodec/nvdec_mpeg12.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvdec_mpeg12.c b/libavcodec/nvdec_mpeg12.c index e10735587d..3b9ff60734 100644 --- a/libavcodec/

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hls: Try to implement RFC8216 playlist refusal

2023-05-15 Thread Kacper Michajlow
On Mon, 15 May 2023 at 02:06, Michael Niedermayer wrote: > > This is not well tested and can likely be improved, just a > hotfix for hls probe failures since 6b1f68ccb04d791f0250e05687c346a99ff47ea1 > > Should fix Ticket10353 (please test and report cases that still fail) > > Signed-off-by: Michae

[FFmpeg-devel] [PATCH] avformat/mov: Correctly read EIA608 packets if multiple boxes or non-field 1 data is present

2023-05-15 Thread Sebastian Dröge
From: Sebastian Dröge The payload of EIA608 samples in MOV is one or more cdat or cdt2 boxes. cdat contains EIA608 byte pairs for field 1, cdt2 for field 2. Previously any box following the first was treated as EIA608 byte pairs instead of parsing them correctly, and all data was handled as fiel

[FFmpeg-devel] [PATCH 3/3] lavfi/vf_libplacebo: update peak detection options

2023-05-15 Thread Niklas Haas
From: Niklas Haas Upstream peak detection lost one option and gained one option. Update code and documentation as required. --- doc/filters.texi| 9 + libavfilter/vf_libplacebo.c | 11 +-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/doc/filters.te

[FFmpeg-devel] [PATCH 2/3] lavfi/vf_libplacebo: update for new tone mapping API

2023-05-15 Thread Niklas Haas
From: Niklas Haas This algorithm has once again been refactored, this time leading to a dropping of the old `tone_mapping_mode` field, to be replaced by a single tunable hybrid mode with configurable strength. We can approximately map the old modes onto the new API for backwards compatibility. R

[FFmpeg-devel] [PATCH 1/3] lavfi/vf_libplacebo: switch to new gamut mapping API

2023-05-15 Thread Niklas Haas
From: Niklas Haas Upstream deprecated the old ad-hoc, enum/intent-based gamut mapping API and added a new API based on colorimetrically accurate gamut mapping functions. The relevant change for us is the addition of several new modes, as well as deprecation of the old options. Update the documen

Re: [FFmpeg-devel] [PATCH] avcodec/cavs_parser: fix finding the end of a frame

2023-05-15 Thread Anton Khirnov
Quoting Zhao Zhili (2023-05-15 13:49:30) > From: Zhao Zhili > > Use the next I/P/B or start code as the end of current frame. > > Signed-off-by: Zhao Zhili > --- > libavcodec/cavs_parser.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) Do you have a test case? Would be ni

Re: [FFmpeg-devel] [PATCH] tests/fate: add simple tests for libx264 and libx265

2023-05-15 Thread Anton Khirnov
Since libx265 has issues (leaks, invalid reads), and I don't have time to craft supressions files right now, I pushed just the x264 part of this patch for now. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH] lavc/qsv: fallback to the default mfx implementation for internal session on Windows

2023-05-15 Thread Xiang, Haihao
On Ma, 2023-05-15 at 08:33 +0200, Hendrik Leppkes wrote: > On Mon, May 15, 2023 at 8:04 AM Xiang, Haihao > wrote: > > > > From: Haihao Xiang > > > > The mfx implementation based on D3D11 is expected for an internal > > session on Windows, however sometimes this implemntation is not > > supporte

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-15 Thread Steven Liu
Neal Gompa 于2023年5月13日周六 10:41写道: Hi Neal, > > > I've applied your patch set to Fedora's ffmpeg 6.0 on Fedora 38 and > attempted to test it. It seems to mostly work now, except that AAC > audio doesn't play in the AV1+AAC sample remuxed from MKV to FLV. My > H264+AAC sample seems to work properly

[FFmpeg-devel] [PATCH v10 6/6] avformat/flvdec: support demux vp9 in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/flvdec.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index a0362ff11c..a6a94a4021 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -320,6 +320,8 @@ static int f

[FFmpeg-devel] [PATCH v10 5/6] avformat/flvenc: support mux vp9 in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/Makefile | 2 +- libavformat/flvenc.c | 22 ++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index c868e1626c..16cfe107ea 100644 --- a/libavformat/Makefile +++ b/libavforma

[FFmpeg-devel] [PATCH v10 4/6] avformat/flvdec: support demux av1 in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/flvdec.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index c8e6cadf1c..a0362ff11c 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -318,6 +318,8 @@ static int

[FFmpeg-devel] [PATCH v10 3/6] avformat/flvenc: support mux av1 in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/Makefile | 2 +- libavformat/flvenc.c | 22 ++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index 1ef3d15467..c868e1626c 100644 --- a/libavformat/Makefile +++ b/libavforma

[FFmpeg-devel] [PATCH v10 2/6] avformat/flvdec: support demux hevc in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/flvdec.c | 58 ++-- 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index d83edff727..c8e6cadf1c 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.

[FFmpeg-devel] [PATCH v10 1/6] avformat/flvenc: support mux hevc in enhanced flv

2023-05-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/Makefile | 2 +- libavformat/flv.h| 15 +++ libavformat/flvenc.c | 38 +- 3 files changed, 45 insertions(+), 10 deletions(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index f8ad7c6a11..1

[FFmpeg-devel] [PATCH v10 0/6] Support enhanced flv in FFmpeg

2023-05-15 Thread Steven Liu
Reference file: https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.js. you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. The enhanced flv documentation contributors include Jean-Baptis

[FFmpeg-devel] [PATCH] lavc/libdav1d: fix exporting framerate

2023-05-15 Thread Anton Khirnov
Same issues as in the previous commit. --- Updated for changes in previous patch. --- libavcodec/Makefile | 2 +- libavcodec/libdav1d.c | 10 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9587e56493..4d59411662 100644 -

[FFmpeg-devel] [PATCH] lavc/av1*: fix exporting framerate

2023-05-15 Thread Anton Khirnov
* take num_ticks_per_picture_minus_1 into account, since that is a part of the framerate computation * stop exporting num_ticks_per_picture_minus_1 into AVCodecContext.ticks_per_frame, as that field is used for other purposes (in conjunction with repeat_pict, which is not used at all by av1

Re: [FFmpeg-devel] [PATCH V1] avcodec/cbs_vp8: Add support for VP8 codec bitstream READ methods

2023-05-15 Thread Andreas Rheinhardt
Dai, Jianhui J: > This commit adds VP8 into cbs supported codec list, and enables the > `trace_headers` bitstream filters to support VP8, besides existing AV1, > H.264, H.265 and VP9. It can be useful to debug VP8 stream issues. > > Only the READ methods `read_unit` and `split_fragment` are implem