summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavf/argo_brp: set ts_flagsts_flagsAnton Khirnov2024-02-07
|
* lavf/argo_asf: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/aqtitle: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/apng: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/apm: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/ape: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/alp: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/aixdec: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/aiffdec: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/adx: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/bintext: set average framerate and ts_flagsAnton Khirnov2024-02-07
|
* lavf/act: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/aax: set ts_flagsAnton Khirnov2024-02-07
|
* lavf/bfi: set ts_flags and framerate/audio duration, stop settings ptsAnton Khirnov2024-02-07
| | | | | | The container does not store any kind of timestamps, the demuxer makes them up based on framerate/audio packet sizes (the audio is U8 PCM) We can just as well leave that to higher level code.
* lavf/bethsoftvid: set ts_flagsAnton Khirnov2024-02-07
| | | | This container only stores frame durations.
* lavf/anm: set average framerate and ts_flagsAnton Khirnov2024-02-07
| | | | Also, validate the framerate.
* lavf/4xm: set average framerate and ts_flagsAnton Khirnov2024-02-07
|
* lavf: add ts_flagsAnton Khirnov2024-02-07
|
* tests/fate/ffmpeg: add a test for the issue fixed in previous commitAnton Khirnov2024-02-05
|
* fftools/ffmpeg_mux: fix terminating muxer on streamcopy with -tAnton Khirnov2024-02-05
| | | | Reported-by: Andreas Rheinhardt
* avutil/thread: fix pthread_setname_np parameters for NetBSD and AppleMarton Balint2024-02-05
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* MAINTAINERS: remove myself from herePaul B Mahol2024-02-04
| | | | | | | Once it became fully non-transparent and service of shady practices behind closed doors, I can not be here any more. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avutil/thread: add support for setting thread name on *bsd and solarisBrad Smith2024-02-04
| | | | | | | FreeBSD/DragonFly/Solaris use pthread_setname_np(). OpenBSD uses pthread_set_name_np(). Signed-off-by: Brad Smith <brad@comstyle.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/flvenc: fix stereo flag when writing PCMA/PCMUAlessandro Ros2024-02-04
| | | | | | | | | | | | Currently, when writing PCMA or PCMU tracks with FLV or RTMP, the stereo flag and sample rate flag inside RTMP audio messages are overridden, making impossible to distinguish between mono and stereo tracks. This patch fixes the issue by restoring the same flag mechanism of all other codecs, that takes into consideration the right channel count and sample rate. Signed-off-by: Alessandro Ros <aler9.dev@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavc/d3d12va: Improve behaviour on missing decoder supportMark Thompson2024-02-04
| | | | | | Distinguish between a decoder being entirely missing and a decoder which requires features which are not present in the incomplete implementation in libavcodec and therefore can't be used.
* avfilter/yadif_common: fix timestamps with very small timebasesMarton Balint2024-02-04
| | | | | | | | | | | | | | | | Yadif filter assumed that the output timebase is always half of the input timebase. This is not true if halving the input time base is not representable as an AVRational causing the output timestamps to be invalidly scaled in such a case. So let's use av_reduce instead of av_mul_q when calculating the output time base and if the conversion is inexact then let's fall back to the original timebase which probably makes more parctical sense than using x/INT_MAX. Fixes invalidly scaled pts_time values in this command line: ffmpeg -f lavfi -i testsrc -vf settb=tb=1/2000000000,yadif,showinfo -f null none Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/yadif_common: factorize some part of the config_output and the ↵Marton Balint2024-02-04
| | | | | | | | uninit functions This unifies slightly diverged code and ensures that cc_fifo is always initialized. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/rational: increase av_d2q precisionMarton Balint2024-02-04
| | | | | | | | | | | Fixes parsing small timebases from expressions (where the expression API converts the result to double), like in this command line: ffprobe -f lavfi -i testsrc=d=1,settb=1/2000000000 -show_streams -show_entries stream=time_base Before the patch timebase was parsed as 1/1999999999. Signed-off-by: Marton Balint <cus@passwd.hu>
* tests/fate/mov: add a test for reading and writing amve boxCosmin Stejerean2024-02-04
|
* avformat/mov: add support for 'amve' ambient viewing environment boxDamiano Galassi2024-02-04
| | | | | | As defined in ISOBMFF (ISO/IEC 14496-12) document. Co-Authored-By: Cosmin Stejerean <cosmin@cosmin.at>
* avformat/mov: rename rescale_mdcvCosmin Stejerean2024-02-04
| | | | | | It's not specific to the mdcv box. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: add ambient viewing environment packet side data.Damiano Galassi2024-02-04
|
* avcodec/vp8: Change criterion for calling ff_thread_finish_setup()Andreas Rheinhardt2024-02-04
| | | | | | | | | | The current criterion is to check for the existence of update_thread_context. Change this to check for whether we are actually decoding VP8 (and not VP7 or VP8-in-WebP). This is equivalent to the current criterion, but allows the WebP decoder to evolve and to get its own update_thread_context. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vp8: Remove write-only vp7 struct fieldAndreas Rheinhardt2024-02-04
| | | | | | This decoder always inlines whether it is VP7 or VP8. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vp8: Enforce key-frame only for WebPAndreas Rheinhardt2024-02-04
| | | | | | | | | | | | VP8-in-WebP only uses key frame encoding (see [1]), yet this is currently not enforced. This commit does so in order to make output reproducible with frame-threading as the VP8 decoder's update_thread_context is not called at all when using decoding VP8-in-WebP (as this is unnecessary for key frame-only streams). [1]: https://developers.google.com/speed/webp/docs/riff_container Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/wavenc: use strtoull for UMID conversionGyan Doshi2024-02-04
| | | | | Existing use of strtoll can lead to ERANGE errors leading to incorrect storage of UMID.
* avformat/mov: use a more descriptive name for variables of type HEIFItemJames Almer2024-02-03
| | | | | | | Other HEIF related structs will be introduced, so lets be more specific about what this one defines. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/cbs_h266_syntax_template: check aps_adaptation_parameter_set_idJames Almer2024-02-03
| | | | | | | | | | | | | "When aps_params_type is equal to ALF_APS or SCALING_APS, the value of aps_adaptation_parameter_set_id shall be in the range of 0 to 7, inclusive. When aps_params_type is equal to LMCS_APS, the value of aps_adaptation_parameter_set_id shall be in the range of 0 to 3, inclusive." Fixes: out of array accesses Fixes: 65932/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-4563412340244480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avlanguage: add the 6 deprecated DVD languagesMarth642024-02-03
| | | | | | | | | | | | | | | | There are 6 deprecated ISO language codes that are still valid for DVDs. This patch allows avlanguage to recognize them correctly. The codes are: (1) "in" - legacy code for Indonesian, mapped to the modern code (2) "iw" - legacy code for Hebrew, mapped to the modern code (3) "ji" - legacy code for Yiddish, mapped to the modern code (4) "jw" - legacy code for Javanese, published and used as a typoed version of "jv" (5) "mo" - legacy code for Moldavian, mapped to the inclusive code (6) "sh" - legacy code for Serbo-Croatian, no modern inclusive code so it is left alone All of this can be verified from several sources including: https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes Signed-off-by: Marth64 <marth64@proxyid.net>
* fftools/ffmpeg: use correct unit prefix symbol for binary scaled byte values王昊然2024-02-03
| | | | | | Fix bug #10501 Signed-off-by: WHR <msl0000023508@gmail.com>
* avcodec/vlc: Remove unused macrosAndreas Rheinhardt2024-02-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/leaddec: Remove unnecessary VLC structuresAndreas Rheinhardt2024-02-03
| | | | | | One only needs the VLCElem[]. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/iamf*: Improve included headersAndreas Rheinhardt2024-02-03
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/iamf_writer, iamfenc: Avoid allocations when using dyn buffersAndreas Rheinhardt2024-02-03
| | | | | | | | | | Use avio_get_dyn_buf()+ffio_free_dyn_buf() instead of avio_close_dyn_buf()+av_free(). This saves an allocation (and memcpy) in case all the data fits in the AVIOContext's write buffer. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/iamf_writer: Avoid using dynamic bufferAndreas Rheinhardt2024-02-03
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavc/bsf: add a showinfo filterAnton Khirnov2024-02-02
| | | | | Analogous to the (a)showinfo lavfi filters, logs basic packet information. Mainly useful for debugging/testing/development.
* lavd: deprecate the bktr deviceAnton Khirnov2024-02-02
| | | | | | | | | | | | It implements BSD-specific support for very old analog capture cards, which are highly unlikely to be useful today. After being added in 2005, there were never any commits to it beyond compilation fixes and generic maintenance. There have also been zero trac tickets for this device, and the only related web search result I found concludes that it does not work. The code also does some unacceptable things, like messing with signal handlers and storing its state in global variables.
* fftools/ffmpeg_filter: simplify buffersrc arg printingNiklas Haas2024-02-02
| | | | There's no need to go through full string expansion here.
* fftools/ffplay: add missing YUV metadata to buffersrcNiklas Haas2024-02-02
| | | | | | | | | This commit lets ffplay properly propagate YUV metadata into the filter graph, avoiding such issues as e.g. accidentally passing YCgCo into a filter that can't support it. Also fixes an error related to this missing metadata from buffersrc (since commit 2d555dc82d) See-Also: https://trac.ffmpeg.org/ticket/10839
* x86/h26x/h2656dsp: add missing preprocessor wrappersJames Almer2024-02-01
| | | | | | Fixes compilation on x86_32 targets. Signed-off-by: James Almer <jamrial@gmail.com>