On Sat, Dec 11, 2021 at 03:06:42AM +, Guo, Yejun wrote:
>
>
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> lance.lmw...@gmail.com
> Sent: 2021年12月9日 22:37
> To: ffmpeg-devel@ffmpeg.org
> Cc: Limin Wang
> Subject: [FFmpeg-devel] [PATCH v2] avfilter/dnn: fix incompatible in
-Original Message-
From: ffmpeg-devel On Behalf Of
lance.lmw...@gmail.com
Sent: 2021年12月9日 22:37
To: ffmpeg-devel@ffmpeg.org
Cc: Limin Wang
Subject: [FFmpeg-devel] [PATCH v2] avfilter/dnn: fix incompatible integer to
pointer conversion warning
From: Limin Wang
---
libavfilter/dnn/
fre 2021-12-10 klockan 08:54 +0100 skrev Paul B Mahol:
> This is the first warning to revert all patches that made cfr
> decoders vfr.
Would be good if you named said patches
/Tomas
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.o
On Sat, 4 Dec 2021, Marton Balint wrote:
Otherwise there is no way to detect an error returned by avio_close() because
ff_format_io_close cannot get the return value.
Checking the return value of the close function is important in order to check
if all data was successfully written and the u
Signed-off-by: softworkz
---
configure | 1 +
doc/filters.texi | 164 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/sf_subscale.c | 883 ++
5 files changed, 1050 insertions(+)
create mode 1
Signed-off-by: softworkz
---
doc/APIchanges | 23 +++
libavcodec/version.h | 2 +-
libavutil/version.h | 4 ++--
3 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 2914ad6734..bb47faf13d 100644
--- a/doc/APIchanges
++
Signed-off-by: softworkz
---
configure| 1 +
doc/filters.texi | 55 +
libavfilter/Makefile | 2 +
libavfilter/allfilters.c | 1 +
libavfilter/sf_graphicsub2text.c | 354 +++
5 files changed, 413 ins
- splitcc {V -> VS)
Extract closed-caption (A53) data from video
frames as subtitle Frames
ffmpeg -y -loglevel verbose -i
"https://streams.videolan.org/streams/ts/CC/NewsStream-608-ac3.ts";
-filter_complex
"[0:v]splitcc[vid1],textmod=mode=remove_chars:find='@',[vid1]overlay_textsubs"
outpu
- stripstyles {S -> S)
Remove all inline styles from subtitle events
Signed-off-by: softworkz
---
doc/filters.texi | 37 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/sf_stripstyles.c | 196 +++
4 fi
- textmod {S -> S)
Modify subtitle text in a number of ways
- censor {S -> S)
Censor subtitles using a word list
- show_speaker {S -> S)
Prepend speaker names from ASS subtitles to the visible text lines
Signed-off-by: softworkz
---
doc/filters.texi | 206
libavfilte
- overlaytextsubs {VS -> V)
Overlay text subtitles onto a video stream.
- textsubs2video {S -> V)
Converts text subtitles to video frames
Signed-off-by: softworkz
---
configure| 2 +
doc/filters.texi | 113 ++
libavfilter/Makefile |
This fix targets (rare) cases where multiple input pads have a
.filter_frame function. ff_request_frame_to_filter needs
to call ff_request_frame with the correct input pad
instead of the hardcoded first one.
Signed-off-by: softworkz
---
libavfilter/avfilter.c | 18 +-
1 file chan
This commit actually enables subtitle filtering in ffmpeg by
sending and receiving subtitle frames to and from a filtergraph.
The heartbeat functionality from the previous sub2video implementation
is retained and applied to all subtitle frames (bitmap, text, ..).
The other part of sub2video funct
- overlaygraphicsubs (VS -> V)
Overlay graphic subtitles onto a video stream
- graphicsub2video {S -> V)
Converts graphic subtitles to video frames (with alpha)
Gets auto-inserted for retaining compatibility with
sub2video command lines
Signed-off-by: softworkz
---
doc/filters.texi
Signed-off-by: softworkz
---
configure| 2 +-
libavfilter/allfilters.c | 2 ++
libavfilter/buffersink.c | 54 ++
libavfilter/buffersink.h | 7
libavfilter/buffersrc.c | 72
libavfilter/buffersrc.h | 1
Signed-off-by: softworkz
---
libavfilter/avfilter.c | 8 +---
libavfilter/avfilter.h | 11 +++
libavfilter/avfiltergraph.c | 5 +
libavfilter/formats.c | 22 ++
libavfilter/formats.h | 3 +++
libavfilter/internal.h | 18 +++
Analog to avfilter/video.c and avfilter/audio.c
Signed-off-by: softworkz
---
libavfilter/Makefile| 1 +
libavfilter/avfilter.c | 4 +++
libavfilter/internal.h | 1 +
libavfilter/subtitles.c | 63 +
libavfilter/subtitles.h | 44
Signed-off-by: softworkz
---
fftools/ffplay.c | 102 +-
fftools/ffprobe.c | 48 ++
2 files changed, 78 insertions(+), 72 deletions(-)
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index e7b20be76b..0af32888da 100644
--- a/fftoo
Signed-off-by: softworkz
---
libavcodec/ass.h | 2 +-
libavcodec/assdec.c| 2 +-
libavcodec/dvbsubdec.c | 2 +-
libavcodec/dvdsubdec.c | 2 +-
libavcodec/dvdsubenc.c | 2 +-
libavcodec/pgssubdec.c | 2 +-
libavcodec/xsubdec.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
d
- Add avcodec_decode_subtitle3 which takes subtitle frames,
serving as compatibility shim to legacy subtitle decoding
- Add additional methods for conversion between old and new API
Signed-off-by: softworkz
---
libavcodec/avcodec.h| 8 +-
libavcodec/codec_desc.c | 11 +++
libavcodec/cod
Signed-off-by: softworkz
---
libavcodec/assenc.c| 90 +
libavcodec/avcodec.h | 5 +-
libavcodec/dvbsubenc.c | 96 +--
libavcodec/dvdsubenc.c | 100 +++--
libavcodec/encode.c| 63
Also add
- hard_space callback (for upcoming fix)
- extensible callback (for future extension)
Signed-off-by: softworkz
---
libavcodec/Makefile | 56 +++
libavcodec/ass.h | 147 ++
libavcodec/assdec.c
Signed-off-by: softworkz
---
libavfilter/vf_subtitles.c | 54 +-
1 file changed, 42 insertions(+), 12 deletions(-)
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index 3fc4eeb63d..66b2082894 100644
--- a/libavfilter/vf_subtitles.c
+++ b/l
Root commit for adding subtitle filtering capabilities.
In detail:
- Add type (AVMediaType) field to AVFrame
Replaces previous way of distinction which was based on checking
width and height to determine whether a frame is audio or video
- Add subtitle fields to AVFrame
- Add new struct AVSubt
Signed-off-by: softworkz
---
libavcodec/avcodec.h | 19 +
libavutil/Makefile | 1 +
libavutil/subfmt.h | 68
libavutil/version.h | 1 +
4 files changed, 71 insertions(+), 18 deletions(-)
create mode 100644 libavutil/subfmt.h
diff -
New in V22
- subfmt.h: Fix includes, use #if rather than #ifdef
- subfmt.c: Remove unused struct
- move addition of ass hard_space callback to commit 5
- also add ass extensibility callback
- remove bugfix commits regarding ass hard-space due to being incompatible
with GIT e-mail workflow
New i
Signed-off-by: softworkz
---
tests/ref/fate/sub-textenc | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/ref/fate/sub-textenc b/tests/ref/fate/sub-textenc
index 3ea56b38f0..2310227c3e 100644
--- a/tests/ref/fate/sub-textenc
+++ b/tests/ref/fate/sub-textenc
@@ -1
Soft Works:
>
>
>> -Original Message-
>> From: ffmpeg-devel On Behalf Of Andreas
>> Rheinhardt
>> Sent: Friday, December 10, 2021 8:21 PM
>> To: ffmpeg-devel@ffmpeg.org
>> Subject: Re: [FFmpeg-devel] FATE-Suite Data Test Data
>>
>> Soft Works:
>>>
>>>
-Original Message-
> -Original Message-
> From: ffmpeg-devel On Behalf Of Andreas
> Rheinhardt
> Sent: Friday, December 10, 2021 8:21 PM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] FATE-Suite Data Test Data
>
> Soft Works:
> >
> >
> >> -Original Message-
> >> From: ffmpeg-devel On
10 Dec 2021, 20:05 by jianhua...@intel.com:
> It's no need to assign outlink here, which has been done in
> ff_vk_filter_config_output already.
>
> Signed-off-by: Wu Jianhua
> ---
> libavfilter/vf_transpose_vulkan.c | 11 +--
> 1 file changed, 1 insertion(+), 10 deletions(-)
>
> diff --g
Signed-off-by: softworkz
---
tests/ref/fate/sub-textenc | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/ref/fate/sub-textenc b/tests/ref/fate/sub-textenc
index 3ea56b38f0..2310227c3e 100644
--- a/tests/ref/fate/sub-textenc
+++ b/tests/ref/fate/sub-textenc
@@ -
Soft Works:
>
>
>> -Original Message-
>> From: ffmpeg-devel On Behalf Of Andreas
>> Rheinhardt
>> Sent: Friday, December 10, 2021 8:00 PM
>> To: ffmpeg-devel@ffmpeg.org
>> Subject: Re: [FFmpeg-devel] FATE-Suite Data Test Data
>>
>> Soft Works:
>>> Hi,
>>>
>>> can we add the attached file
> -Original Message-
> From: ffmpeg-devel On Behalf Of Andreas
> Rheinhardt
> Sent: Friday, December 10, 2021 8:00 PM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] FATE-Suite Data Test Data
>
> Soft Works:
> > Hi,
> >
> > can we add the attached file (SubRip_capability_tes
Andreas Rheinhardt:
> Soft Works:
>> Hi,
>>
>> can we add the attached file (SubRip_capability_tester2.srt) to the
>> fate-suite data?
>>
>> Compared to SubRip_capability_tester.srt, it has one line removed that would
>> cause (legitimate) trailing whitespace in some ref data files.
>>
>> It hasn’
It's no need to assign outlink here, which has been done in
ff_vk_filter_config_output already.
Signed-off-by: Wu Jianhua
---
libavfilter/vf_transpose_vulkan.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/libavfilter/vf_transpose_vulkan.c
b/libavfilter/vf_tran
The following command is on how to apply clock option:
ffmpeg -init_hw_device vulkan -i input.264 -vf \
hwupload=extra_hw_frames=16,transpose_vulkan=dir=clock,hwdownload,format=yuv420p
\
output.264
Signed-off-by: Wu Jianhua
---
libavfilter/vf_transpose_vulkan.c | 9 ++---
1 file changed, 6
The following command is on how to apply clock_flip option:
ffmpeg -init_hw_device vulkan -i input.264 -vf \
hwupload=extra_hw_frames=16,transpose_vulkan=dir=clock_flip,hwdownload,format=yuv420p
\
output.264
Signed-off-by: Wu Jianhua
---
libavfilter/vf_transpose_vulkan.c | 3 +++
1 file change
The following command is on how to apply cclock option:
ffmpeg -init_hw_device vulkan -i input.264 -vf \
hwupload=extra_hw_frames=16,transpose_vulkan=dir=cclock,hwdownload,format=yuv420p
\
output.264
Signed-off-by: Wu Jianhua
---
libavfilter/vf_transpose_vulkan.c | 17 ++---
1 file
Soft Works:
> Hi,
>
> can we add the attached file (SubRip_capability_tester2.srt) to the
> fate-suite data?
>
> Compared to SubRip_capability_tester.srt, it has one line removed that would
> cause (legitimate) trailing whitespace in some ref data files.
>
> It hasn’t been an issue so far due t
On Thu, 9 Dec 2021, Niklas Haas wrote:
On Thu, 09 Dec 2021 17:21:58 + Derek Buitenhuis
wrote:
On 12/8/2021 10:12 AM, Niklas Haas wrote:
+/* based on guesswork, see mkvtoolnix and dovi_tool */
+int av_dovi_profile(const AVDOVIRpuDataHeader *hdr)
+{
The correct way to find the profile
On 12/9/2021 9:46 PM, Niklas Haas wrote:
> So, I changed the API to accept the DOVI configuration record, but
> actually getting that record into hevcdec isimpossible given the current
> design of FFmpeg where stream-level properties are not mode available to
> the decoder. Possibilities:
Ugh, yes
On Fri, Dec 10, 2021 at 12:36:21PM +0100, Thilo Borgmann wrote:
>
>
> On 10 Dec 2021, at 3:47, zhilizhao(赵志立) wrote:
>
> > > On Dec 10, 2021, at 3:11 AM, Thilo Borgmann
> > > wrote:
> > >
> > > Hi,
> > >
> > > add %{localtime_ms}, %{gmtime_ms} functions to the drawtext filter.
> > > Same as %
Hi,
can we add the attached file (SubRip_capability_tester2.srt) to the fate-suite
data?
Compared to SubRip_capability_tester.srt, it has one line removed that would
cause (legitimate) trailing whitespace in some ref data files.
It hasn’t been an issue so far due to a bug in the encoders which
7 Dec 2021, 10:05 by wenbin.c...@intel.com:
> When vulkan image exports to drm, the tilling need to be
> VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan
> image using this format.
>
> Now the following command line works:
>
> ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/re
> -Original Message-
> From: ffmpeg-devel On Behalf Of Wenbin Chen
> Sent: Friday, December 10, 2021 3:22 AM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Wenbin Chen
> Subject: [FFmpeg-devel] [PATCH] libavfilter/vf_overlay_qsv: Use format of
> first input to set output format for overlay_qsv
>
> -Original Message-
> From: ffmpeg-devel On Behalf Of Wenbin Chen
> Sent: Friday, December 10, 2021 3:22 AM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Wenbin Chen
> Subject: [FFmpeg-devel] [PATCH] libavfilter/vf_overlay_qsv: Use format of
> first input to set output format for overlay_qsv
>
> -Original Message-
> From: ffmpeg-devel On Behalf Of Daniel
> Cantarín
> Sent: Thursday, December 9, 2021 10:33 PM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame\n
> for subtitle handling
>
> Hi there.
> This is my first mes
Charlie Monroe:
> Hi,
>
> I hope I'm submitting this fix correctly - some subtitles will cause FFmpeg
> to
> crash when searching for a font in movtextencode. One such subtitles file is
> appended. The crash occurrs in find_font_id where the name argument passed is
> NULL.
>
> Here is an exam
On 10 Dec 2021, at 3:47, zhilizhao(赵志立) wrote:
On Dec 10, 2021, at 3:11 AM, Thilo Borgmann
wrote:
Hi,
add %{localtime_ms}, %{gmtime_ms} functions to the drawtext filter.
Same as %{localtime}/%{gmtime} but with additional millisecond part.
sorry for delay, second version including review
Hi,
On 8 Dec 2021, at 19:29, Romain Beauxis wrote:
On Dec 7, 2021, at 7:21 AM, Thilo Borgmann
wrote:
Hi,
will look at this soon (tm), ping me if I don‘t.
Great, thank you!
Would it be a good use of your time to send the two other patches that
I have pending as well?
yes, best to send
Hi,
I hope I'm submitting this fix correctly - some subtitles will cause FFmpeg to
crash when searching for a font in movtextencode. One such subtitles file is
appended. The crash occurrs in find_font_id where the name argument passed is
NULL.
Here is an example command for reproducing the iss
From: Limin Wang
Signed-off-by: Limin Wang
---
doc/filters.texi| 7 ---
libavfilter/af_astats.c | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 8eff460..e5059f2 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
On Thu, Dec 09, 2021 at 04:47:48PM +0100, Lynne wrote:
[...]
> So I'm fine with your proposal to have 16-bit enum for the channel
> ID and a 16-bit opaque. Though I'd like the opaque to be an
> uint16_t instead of int opaque : 16.
> And 16-bits does sound like enough for many channels and quite a
>
On Thu, Dec 9, 2021 at 10:33 PM Daniel Cantarín wrote:
> Hi there.
> This is my first message to this list, so please excuse me if I
> unintendedly break some rule.
>
> I've read the debate between Soft Works and others, and would like to
> add something to it.
> I don't have a deep knowledge of
54 matches
Mail list logo