- 20 Apr, 2020 1 commit
-
-
Anton Khirnov authored
Signed-off-by:
Josh de Kock <josh@itanimul.li>
-
- 16 Apr, 2020 1 commit
-
-
Andreas Rheinhardt authored
The data of an attachment file is put into an AVCodecParameter's extradata. The corresponding size field has type int, yet there was no check for the size to fit into an int. As a consequence, it was possible to create extradata with negative size (by using a big enough max_alloc). Other errors were also possible: If SIZE_MAX < INT64_MAX (e.g. on 32bit systems) then the file size might be truncated before the allocation; and avio_read() takes an int, too, so one would not have read as much as one desired. Furthermore, the extradata is now padded as is required. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
- 15 Apr, 2020 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #8612.
-
- 14 Apr, 2020 1 commit
-
-
Jun Zhao authored
When QSV is enabled in FFmpeg, the command "ffmpeg -hwaccels" shows a duplicate entry in acceleration methods for QSV: Hardware acceleration methods: vaapi qsv drm opencl qsv Reviewed-by:
Mark Thompson <sw@jkqxz.net> Signed-off-by:
Jun Zhao <barryjzhao@tencent.com>
-
- 12 Apr, 2020 1 commit
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 04 Apr, 2020 3 commits
-
-
Michael Niedermayer authored
This allows handling more than 26.5h of mpeg* input Fixes: Ticket 7876 Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Gyan Doshi authored
Stats and logs are written to stderr, not stdout.
-
Gyan Doshi authored
Since 3b491c5a, stats would be hidden if loglevel was lower than info, even if -stats was set. Fixes #6962
-
- 30 Mar, 2020 1 commit
-
-
Carl Eugen Hoyos authored
Reported-by: Forum user NewPlaza
-
- 28 Mar, 2020 1 commit
-
-
Andreas Rheinhardt authored
It already initializes the packet. Reviewed-by:
Anton Khirnov <anton@khirnov.net> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
- 19 Mar, 2020 1 commit
-
-
Andreas Rheinhardt authored
PRId64 and PRIu64 already expand to the complete specifier; adding another 'd' at the end is wrong and just leads to warnings that say that only an option like '-frames:v 2d' will be used, although said option won't be accepted at all ('Expected int64 for frames:v but found 2d'). Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 17 Mar, 2020 1 commit
-
-
Paul B Mahol authored
It is not needed at all.
-
- 16 Mar, 2020 1 commit
-
-
Jan Ekström authored
Each time the sub2video structure is initialized, the sub2video subpicture is initialized together with the first received heartbeat. The heartbeat's PTS is utilized as the subpicture start time. Additionally, add some documentation on the stages.
-
- 08 Mar, 2020 3 commits
-
-
Marton Balint authored
This is redundant after the last patch and also fixes ticket #7712. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes ticket #8549. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- 07 Mar, 2020 1 commit
-
-
Timo Rothenpieler authored
This ensures old commandlines using -hwaccel cuvid don't break due to the recent removal of the the cuvid-specific hwaccel bringup.
-
- 03 Mar, 2020 1 commit
-
-
James Almer authored
It's a duplicate of the properly implemented nvdec libavcodec hwaccel Reviewed-by:
Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 29 Feb, 2020 1 commit
-
-
Andreas Rheinhardt authored
Fixes #8094. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Feb, 2020 1 commit
-
-
Michael Niedermayer authored
Fixes: signed integer overflow: -9223372036854775808 - 9223372036854775807 cannot be represented in type 'long' Fixes: Ticket8142 Found-by: Suhwan Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Feb, 2020 1 commit
-
-
Andreas Rheinhardt authored
Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 12 Feb, 2020 1 commit
-
-
Andreas Rheinhardt authored
For audio packets with dts != AV_NOPTS_VALUEs the dts was converted twice to the muxer's timebase during streamcopy, once as a normal packet and once specifically as an audio packet. This has been changed. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 30 Jan, 2020 2 commits
-
-
Jun Zhao authored
fix crash when used the command like: - ffmpeg -h protocol - ffmpeg -h protocol= Signed-off-by:
Jun Zhao <barryjzhao@tencent.com> Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Steven Liu authored
Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Steven Liu <lq@chinaffmpeg.org>
-
- 27 Jan, 2020 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #7068.
-
- 08 Jan, 2020 1 commit
-
-
Martin Storsjö authored
After 06ec9c47 we check for these functions in configure (which will succeed in cygwin), but cmdutils.c only includes windows.h if _WIN32 is defined (which it isn't in cygwin). Retain the old intent from before 06ec9c47, that these functions only would be used when _WIN32 is defined, while only using them if configure has agreed that they do exist. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 05 Jan, 2020 2 commits
-
-
Gyan Doshi authored
Prevents a run of consecutive duplicate frames from all being encoded as keyframes, when force_key_frames is set to source.
-
Gyan Doshi authored
The user-set forced KF times are parsed *after* this deleted loop and rescaled right after parsing.
-
- 31 Dec, 2019 1 commit
-
-
Zhao Zhili authored
The option is deprecated and ignored by buffersrc.
-
- 28 Dec, 2019 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #8447.
-
- 23 Dec, 2019 1 commit
-
-
Jun Zhao authored
Before this fix, ffmpeg -h full | grep map get the command dump like: -map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s set input stream mapping ^ | truncated after this fix, we can get full option dump. Found-by:
vacingfang <vacingfang@tencent.com> Signed-off-by:
Jun Zhao <barryjzhao@tencent.com>
-
- 21 Dec, 2019 2 commits
-
-
Nicolas Gaullier authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Nicolas Gaullier authored
CPB side_data is copied when stream-copying (see init_output_stream_streamcopy()), but it shall not be copied when the stream is decoded. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 18 Dec, 2019 1 commit
-
-
Martin Storsjö authored
In these cases, we must pass the full path of the file to ffprobe (as the current working dir on the remote system, e.g. when invoked with "ssh remote ffprobe ..." isn't the wanted one). The input filename passed to ffprobe is also included in the output, which is part of the reference test data. Add a new option to ffprobe to allow overriding what path is printed, to keep the original relative path in the tests. An alternative approach could be an option to allow requesting omitting the file name from the dumped data, and updating the test references accordingly. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 13 Dec, 2019 1 commit
-
-
Martin Storsjö authored
These functions aren't available when building for the restricted UWP/WinRT/WinStore API subsets. Normally when building in this mode, one is probably only building the libraries, but being able to build ffmpeg.exe still is useful (and a ffmpeg.exe targeting these API subsets still can be run e.g. in wine, for testing). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 06 Nov, 2019 1 commit
-
-
Andreas Rheinhardt authored
Introduced in ed3c317d. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 24 Oct, 2019 1 commit
-
-
Andreas Rheinhardt authored
Freeing this was forgotten in ad899522. Fixes #8315 and #8316. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 18 Oct, 2019 1 commit
-
-
Jun Zhao authored
add error handle if av_asprintf return null. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Jun Zhao <barryjzhao@tencent.com>
-
- 15 Oct, 2019 1 commit
-
-
James Almer authored
The "type" entry was hardcoded with an trailing comma, even if it was the only entry in the section. Fixes ticket #8228. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 12 Oct, 2019 1 commit
-
-
Andreas Rheinhardt authored
do_streamcopy() has a packet that gets zero-initialized first, then gets initialized via av_init_packet() after which some of its fields are oerwritten again with the actually desired values (unless it's EOF): The side data is copied into the packet with av_copy_packet_side_data() and if the source packet is refcounted, the packet will get a new reference to the source packet's data. Furthermore, the flags are copied and the timestamp related fields are overwritten with new values. This commit replaces this by using av_packet_ref() to both initialize the packet as well as populate its fields with the right values (unless it's EOF again in which case the packet will still be initialized). The differences to the current approach are as follows: a) There is no call to a deprecated function (av_copy_packet_side_data()) any more. b) Several fields that weren't copied before are now copied from the source packet to the new packet (e.g. pos). Some of them (the timestamp related fields) may be immediately overwritten again and some don't seem to be used at all (e.g. pos), but in return using av_packet_ref() allows to forgo the initializations. c) There was no check for whether copying side data fails or not. This has been changed: Now the program is exited in this case. Using av_packet_ref() does not lead to unnecessary copying of data, because the source packets are already always refcounted (they originate from av_read_frame()). Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-