Adds support for encoding to adpcm_ima_amv and muxing to AMV.
Things to note:
- AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying the
existing AVI muxer with its filth.
- The muxer is extremely pedantic about its streams, this is to
not break certain software players.
- T
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 25 ++-
tests/ref/fate/adpcm-ima-amv | 312 +--
2 files changed, 180 insertions(+), 157 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index d34fd6c6e1..d0807cbd98 100644
--- a/l
The format doesn't allow for anything else.
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 5 -
libavcodec/utils.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 701b125c47..d34fd6c6e1 100644
--- a/libavcodec/adpc
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index d0807cbd98..7f2c958d16 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1698,6 +1698,16 @@ static int adpcm_decode_frame(
Fixes ticket #747.
Signed-off-by: Zane van Iperen
---
doc/general_contents.texi | 2 +-
libavcodec/adpcmenc.c | 58 ++-
libavcodec/allcodecs.c| 1 +
libavcodec/utils.c| 1 +
4 files changed, 60 insertions(+), 2 deletions(-)
diff --git a/doc
AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying
the existing AVI muxer with its filth.
Fixes ticket #747.
Signed-off-by: Zane van Iperen
---
MAINTAINERS | 1 +
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/amvenc.c | 4
Zane van Iperen:
> The format doesn't allow for anything else.
>
> Signed-off-by: Zane van Iperen
> ---
> libavcodec/adpcm.c | 5 -
> libavcodec/utils.c | 2 +-
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
> index 701b125c47..d3
On 2/11/20 7:48 pm, Andreas Rheinhardt wrote:
>
> Zane van Iperen:
>> The format doesn't allow for anything else.
>>
>> Signed-off-by: Zane van Iperen
>> ---
>> libavcodec/adpcm.c | 5 -
>> libavcodec/utils.c | 2 +-
>> 2 files changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a
On Wed, Oct 07, 2020 at 08:19:12PM +, Paul B Mahol wrote:
> ffmpeg | branch: master | Paul B Mahol | Fri Oct 2
> 12:16:49 2020 +0200| [da5b3d002862d1e105002a6dc1567e6551860896] | committer:
> Paul B Mahol
>
> avcodec/tiff: do not abort decoding if strips are available
>
> Even if such fil
On Mon, Nov 2, 2020 at 11:21 AM Michael Niedermayer
wrote:
> On Wed, Oct 07, 2020 at 08:19:12PM +, Paul B Mahol wrote:
> > ffmpeg | branch: master | Paul B Mahol | Fri Oct 2
> 12:16:49 2020 +0200| [da5b3d002862d1e105002a6dc1567e6551860896] |
> committer: Paul B Mahol
> >
> > avcodec/tiff: d
Zane van Iperen:
> AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying
> the existing AVI muxer with its filth.
>
> Fixes ticket #747.
>
> Signed-off-by: Zane van Iperen
> ---
> MAINTAINERS | 1 +
> libavformat/Makefile | 1 +
> libavformat/allformats.c
This path fixing scale2ref filter if reference frame is HW frame.Command for
add watermark (resize it based on the main/reference video size:
[watermark][scaled]scale2ref=oh*mdar:ih*0.5[watermark2][scaled2] ) on video in
case of HW pipeline:>./ffmpeg -init_hw_device cuda=cuda -hwaccel cuda
-hwa
Quoting Michael Niedermayer (2020-10-30 22:52:02)
> Fixes: division by 0
> Fixes:
> 26667/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5645146928185344.fuzz
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Mic
On 2/11/20 9:40 pm, Anton Khirnov wrote:
>
> Quoting Michael Niedermayer (2020-10-30 22:52:02)
>> Fixes: division by 0
>> Fixes:
>> 26667/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5645146928185344.fuzz
>>
>> Found-by: continuous fuzzing process
>> https://github.com/google/oss-
On 26/10/20 9:00 am, Michael Niedermayer wrote:
>
> Fixes: Assertion failure
> Fixes:
> 26572/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5166735591997440
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: M
Michael Niedermayer (12020-10-31):
> Fixes: out array read
> Fixes:
> 26610/clusterfuzz-testcase-minimized-ffmpeg_dem_CONCAT_fuzzer-5631838049271808
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer
> -
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 avformat_seek_file() with ts set to 0 on such
streams makes the mov demuxer return the right corresponding packets
(near the 0 t
Fixes: Assertion failure
Fixes:
26572/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5166735591997440
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Zane van Iperen
---
libavformat/argo_brp.c | 3 +++
1 file changed
On 2/11/20 9:51 pm, Zane van Iperen wrote:
>
>
>
> On 2/11/20 9:40 pm, Anton Khirnov wrote:
>>
>> Quoting Michael Niedermayer (2020-10-30 22:52:02)
>>> Fixes: division by 0
>>> Fixes:
>>> 26667/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5645146928185344.fuzz
>>>
>>> Found-by: c
On 2/11/20 7:47 pm, Andreas Rheinhardt wrote:
>> +if (pkt->stream_index == AMV_STREAM_VIDEO) {
>> +/* Save the last packet for padding. */
>> +av_packet_unref(&amv->vpad);
>> +av_packet_ref(&amv->vpad, pkt);
>
> Missing check.
>
For what specifically? Afaics av_buffer
---
libavutil/hash.c| 2 ++
libavutil/hash.h| 1 +
libavutil/murmur3.c | 2 ++
libavutil/murmur3.h | 1 +
libavutil/ripemd.c | 1 +
libavutil/ripemd.h | 1 +
6 files changed, 8 insertions(+)
diff --git a/libavutil/hash.c b/libavutil/hash.c
index 75edb6db78..d626c31181 100644
--- a/libav
---
Makefile | 3 +++
tools/Makefile | 2 +-
tools/enum_options.c | 26 +-
3 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/Makefile b/Makefile
index c8b548d126..977ad69965 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,9 @@ tools/targ
---
libavfilter/lavfutils.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
index a2085ed5ef..f8f8415c80 100644
--- a/libavfilter/lavfutils.c
+++ b/libavfilter/lavfutils.c
@@ -31,7 +31,7 @@ int ff_load_image(uint8
Allocate just one and reuse it.
---
doc/examples/transcoding.c | 60 --
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c
index e48837cbd2..4a45717bea 100644
--- a/doc/examples/transcoding.c
+
---
libavfilter/src_movie.c | 170 +++-
1 file changed, 82 insertions(+), 88 deletions(-)
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index ab12c34f4a..b53f811846 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -51,7 +51
---
doc/examples/transcoding.c | 75 +-
1 file changed, 33 insertions(+), 42 deletions(-)
diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c
index 4a45717bea..5aff08c135 100644
--- a/doc/examples/transcoding.c
+++ b/doc/examples/transcoding.c
On Mon, Nov 02, 2020 at 11:44:00AM +0100, Paul B Mahol wrote:
> On Mon, Nov 2, 2020 at 11:21 AM Michael Niedermayer
> wrote:
>
> > On Wed, Oct 07, 2020 at 08:19:12PM +, Paul B Mahol wrote:
> > > ffmpeg | branch: master | Paul B Mahol | Fri Oct 2
> > 12:16:49 2020 +0200| [da5b3d002862d1e1050
The AAXC container format is the same as the (already supported) Audible
AAX format but it uses a different encryption scheme.
Note: audible_key and audible_iv values are variable (per file) and are
externally fed.
It is possible to extend https://github.com/mkb79/Audible to derive the
audible_ke
On Mon, Nov 2, 2020 at 3:06 PM Michael Niedermayer
wrote:
> On Mon, Nov 02, 2020 at 11:44:00AM +0100, Paul B Mahol wrote:
> > On Mon, Nov 2, 2020 at 11:21 AM Michael Niedermayer
>
> > wrote:
> >
> > > On Wed, Oct 07, 2020 at 08:19:12PM +, Paul B Mahol wrote:
> > > > ffmpeg | branch: master |
On Mon, Nov 2, 2020 at 3:28 PM Paul B Mahol wrote:
>
>
> On Mon, Nov 2, 2020 at 3:06 PM Michael Niedermayer
> wrote:
>
>> On Mon, Nov 02, 2020 at 11:44:00AM +0100, Paul B Mahol wrote:
>> > On Mon, Nov 2, 2020 at 11:21 AM Michael Niedermayer
>>
>> > wrote:
>> >
>> > > On Wed, Oct 07, 2020 at 08:
On Sun, Nov 01, 2020 at 09:58:43PM +0100, Marton Balint wrote:
>
>
> On Sun, 1 Nov 2020, Michael Niedermayer wrote:
>
> > On Sat, Oct 31, 2020 at 05:56:24PM +0100, Marton Balint wrote:
> > > Fixes out of sync timestamps in ticket #8762.
> > >
> > > Signed-off-by: Marton Balint
> > > ---
> > >
On 11/2/2020 10:17 AM, Anton Khirnov wrote:
> ---
> libavutil/hash.c| 2 ++
> libavutil/hash.h| 1 +
> libavutil/murmur3.c | 2 ++
> libavutil/murmur3.h | 1 +
> libavutil/ripemd.c | 1 +
> libavutil/ripemd.h | 1 +
> 6 files changed, 8 insertions(+)
>
> diff --git a/libavutil/hash.c b/
On 11/2/2020 10:17 AM, Anton Khirnov wrote:
> ---
> libavfilter/lavfutils.c | 14 +-
> 1 file changed, 9 insertions(+), 5 deletions(-)
>
> diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
> index a2085ed5ef..f8f8415c80 100644
> --- a/libavfilter/lavfutils.c
> +++ b/libav
Signed-off-by: alex_qt <3.1...@ukr.net>
---
libavfilter/vf_overlay_cuda.c | 146 --
1 file changed, 120 insertions(+), 26 deletions(-)
diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c
index 2f0f860e50..636ddbedb0 100644
--- a/libavfilter/
Zane van Iperen:
> On 2/11/20 7:47 pm, Andreas Rheinhardt wrote:
>
>>> +if (pkt->stream_index == AMV_STREAM_VIDEO) {
>>> +/* Save the last packet for padding. */
>>> +av_packet_unref(&amv->vpad);
>>> +av_packet_ref(&amv->vpad, pkt);
>>
>> Missing check.
>>
> For what sp
On Mon, Nov 02, 2020 at 01:41:13AM +0100, Andreas Rheinhardt wrote:
> Michael Niedermayer:
> > Fixes: memleak
> > Fixes:
> > 26788/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MAGICYUV_fuzzer-5184116808744960
> >
> > Found-by: continuous fuzzing process
> > https://github.com/google/oss-fuz
On 11/2/2020 10:17 AM, Anton Khirnov wrote:
> ---
> Makefile | 3 +++
> tools/Makefile | 2 +-
> tools/enum_options.c | 26 +-
> 3 files changed, 17 insertions(+), 14 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index c8b548d126..977ad69965 10064
Signed-off-by: Paul B Mahol
---
doc/filters.texi | 27
libavfilter/Makefile | 1 +
libavfilter/af_adenorm.c | 308 +++
libavfilter/allfilters.c | 1 +
4 files changed, 337 insertions(+)
create mode 100644 libavfilter/af_adenorm.c
diff --
Anton Khirnov (12020-11-02):
> ---
> libavfilter/src_movie.c | 170 +++-
> 1 file changed, 82 insertions(+), 88 deletions(-)
Thanks for working on this. It will make switching to activate correctly
much easier too.
>
> diff --git a/libavfilter/src_movie.c b/l
On Mon, 2 Nov 2020, Michael Niedermayer wrote:
Please correct me if iam wrong but
in cases where no audio is missing or damaged, this would also ignore how much
audio is in each packet. So you could have lets say a timestamp difference
of excatly 1 second between 2 packets while their is actua
On Mon, Nov 02, 2020 at 03:32:09PM +0100, Paul B Mahol wrote:
> On Mon, Nov 2, 2020 at 3:28 PM Paul B Mahol wrote:
>
> >
> >
> > On Mon, Nov 2, 2020 at 3:06 PM Michael Niedermayer
> > wrote:
> >
> >> On Mon, Nov 02, 2020 at 11:44:00AM +0100, Paul B Mahol wrote:
> >> > On Mon, Nov 2, 2020 at 11:2
Follow the same pattern as the previous commits for H.264 and H.265.
---
libavcodec/vaapi_encode_mpeg2.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c
index b8f1c06d0f..df2c62b8e7 100644
--- a
The properties should always be set; only the presence flags want to be
conditional.
Fixes #8959.
---
libavcodec/vaapi_encode_h264.c | 34 --
1 file changed, 12 insertions(+), 22 deletions(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h2
On 29/10/2020 06:54, Fei Wang wrote:
Example cmdline:
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -v verbose \
-c:v av1 -i input.ivf -pix_fmt yuv420p -vsync passthrough -f md5 \
-y out.md5
Signed-off-by: Fei Wang
---
change:
1.rebase v4 to master.
Changelog
On Sun, Nov 01, 2020 at 10:05:16PM +0100, Matthias Neugebauer wrote:
> Stream side data such as display matrix is currently lost when using NUT.
>
> Signed-off-by: Matthias Neugebauer
> ---
> libavformat/nutdec.c | 9 +
> libavformat/nutenc.c | 18 ++
> 2 files changed, 27
On Mon, Nov 02, 2020 at 12:21:03PM +, Zane van Iperen wrote:
> Fixes: Assertion failure
> Fixes:
> 26572/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5166735591997440
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Sign
On Sat, Oct 31, 2020 at 03:16:23PM +0100, Andreas Rheinhardt wrote:
> If avio_read() could read anything, it returns the number of bytes read,
> even if it could not read as much as the caller desired.
> apng_read_header() only checked the return value of its avio_read() calls
> for being negative
On Mon, Nov 02, 2020 at 01:02:14PM +0100, Nicolas George wrote:
> Michael Niedermayer (12020-10-31):
> > Fixes: out array read
> > Fixes:
> > 26610/clusterfuzz-testcase-minimized-ffmpeg_dem_CONCAT_fuzzer-5631838049271808
> >
> > Found-by: continuous fuzzing process
> > https://github.com/google/
The format doesn't allow for anything else.
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 5 -
libavcodec/utils.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 701b125c47..d34fd6c6e1 100644
--- a/libavcodec/adpc
Adds support for encoding to adpcm_ima_amv and muxing to AMV.
Things to note:
- AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying the
existing AVI muxer with its filth.
- The muxer is extremely pedantic about its streams, this is to
not break certain software players.
- T
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index d0807cbd98..7f2c958d16 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1698,6 +1698,16 @@ static int adpcm_decode_frame(
Signed-off-by: Zane van Iperen
---
libavcodec/adpcm.c | 25 ++-
tests/ref/fate/adpcm-ima-amv | 312 +--
2 files changed, 180 insertions(+), 157 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index d34fd6c6e1..d0807cbd98 100644
--- a/l
AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying
the existing AVI muxer with its filth.
Fixes ticket #747.
Signed-off-by: Zane van Iperen
---
MAINTAINERS | 1 +
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/amvenc.c | 4
Fixes ticket #747.
Signed-off-by: Zane van Iperen
---
doc/general_contents.texi | 2 +-
libavcodec/adpcmenc.c | 58 ++-
libavcodec/allcodecs.c| 1 +
libavcodec/utils.c| 1 +
4 files changed, 60 insertions(+), 2 deletions(-)
diff --git a/doc
Zane van Iperen:
> AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying
> the existing AVI muxer with its filth.
>
> Fixes ticket #747.
>
> Signed-off-by: Zane van Iperen
> ---
> MAINTAINERS | 1 +
> libavformat/Makefile | 1 +
> libavformat/allformats.c
Matching the previous commit for H.264.
---
libavcodec/vaapi_encode_h265.c | 34 --
1 file changed, 12 insertions(+), 22 deletions(-)
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index 316030914c..3e0af17ea5 100644
--- a/libavcodec/v
On 3/11/20 10:44 am, Andreas Rheinhardt wrote:
>> +static void amv_write_vlist(AVFormatContext *s, AVCodecParameters *par)
>> +{
>> +uint8_t buf[FFMAX(AMV_VIDEO_STRH_SIZE, AMV_VIDEO_STRF_SIZE)] = { 0 };
>> +int64_t tag_list, tag_str;
>> +
>> +av_assert0(par->codec_id == AV_CODEC_ID_AM
On 2/11/20 1:47 pm, Zane van Iperen wrote:
>
> Signed-off-by: Zane van Iperen
> ---
> libavcodec/utils.c | 1 +
> 1 file changed, 1 insertion(+)
>
Will apply soon.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/li
Zane van Iperen:
>
>
> On 3/11/20 10:44 am, Andreas Rheinhardt wrote:
>>> +static void amv_write_vlist(AVFormatContext *s, AVCodecParameters *par)
>>> +{
>>> +uint8_t buf[FFMAX(AMV_VIDEO_STRH_SIZE, AMV_VIDEO_STRF_SIZE)] = { 0 };
>>> +int64_t tag_list, tag_str;
>>> +
>>> +av_assert0(pa
Am 03.11.2020 um 00:23 schrieb Michael Niedermayer :
> "st_sd_displaymatrix" is not listed in nut.txt
> that either needs to be added or if its a non standard field it needs a
> X- prefix
Thanks for the feedback.
Adding X- is not a problem, but what is the difference to "r_frame_rate“
for storing
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 listen_timeout option for sdp
>
> Now the listen timeout is hardcoded(10s).
>
On Thu, 08. Oct 23:40, Andriy Gelman wrote:
> On Sat, 11. Jul 11:29, Omar Emara wrote:
> > This patch adds a select_region option to the xcbgrab input device.
> > If set to 1, the user will be prompted to select the grabbing area
> > graphically by clicking and dragging. A rectangle will be drawn t
62 matches
Mail list logo