aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/avf_showfreqs: add option to draw subset of channelsPaul B Mahol2022-04-222-2/+45
|
* avfilter/avf_showfreqs: filter support all channel countsPaul B Mahol2022-04-221-1/+1
|
* avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirementsMichael Niedermayer2022-04-211-6/+16
| | | | | | | Fixes: issues with non trivial linesize Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/video: Add ff_default_get_video_buffer2() to set specific alignmentMichael Niedermayer2022-04-212-2/+7
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/genh: Check sample rateMichael Niedermayer2022-04-211-0/+3
| | | | | | | | | Fixes: signed integer overflow: -2515507630940093440 * 4 cannot be represented in type 'long' Fixes: 46318/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5009637474172928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/demux: Use unsigned to check duration vs duration_textMichael Niedermayer2022-04-211-1/+1
| | | | | | | | | Fixes: signed integer overflow: 9223371898743775808 - -138111000000 cannot be represented in type 'long' Fixes: 46245/clusterfuzz-testcase-minimized-ffmpeg_dem_OGG_fuzzer-5075129786302464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/ffprobe: clarify that the input file is not optionalStefano Sabatini2022-04-212-2/+2
| | | | Fix trac issue http://trac.ffmpeg.org/ticket/9562
* doc/ffplay: put keystrokes to decrease and increase volume on the same lineStefano Sabatini2022-04-211-2/+0
| | | | Fix trac issue http://trac.ffmpeg.org/ticket/7832
* librtmp: use AVBPrint instead of char *Tristan Matthews2022-04-191-91/+33
| | | | | | | This avoids having to do one pass to calculate the full length to allocate followed by a second pass to actually append values. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/vf_ciescope: add option to disable CIE tongue fillingPaul B Mahol2022-04-192-2/+8
|
* avfilter/vf_ciescope: little optimizationsPaul B Mahol2022-04-191-137/+167
|
* avfilter/avf_ahistogram: set time_base to outlinkPaul B Mahol2022-04-191-1/+2
| | | | And rescale timestamps.
* doc: fix css file install for out-of-tree buildsTimo Rothenpieler2022-04-191-3/+3
|
* avfilter/avf_avectorscope: set time_base to outlinkPaul B Mahol2022-04-181-1/+2
| | | | And rescale timestamps.
* avfilter/avf_showvolume: set time_base to outlinkPaul B Mahol2022-04-181-1/+2
| | | | And rescale timestamps.
* doc: install css files along html docsTimo Rothenpieler2022-04-181-0/+3
|
* avfilter/vf_feedback: add missing .process_commandPaul B Mahol2022-04-151-0/+1
|
* avfilter: add pixelize video filterPaul B Mahol2022-04-146-1/+384
|
* avfilter: add feedback video filterPaul B Mahol2022-04-146-1/+374
|
* avfilter/avf_showspectrum: fix pts offset by onePaul B Mahol2022-04-141-1/+2
|
* fate/oma: Use REMUX where appropriateAndreas Rheinhardt2022-04-141-8/+2
| | | | | | Simplifies the checks. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/subtitles: Use REMUX where appropriateAndreas Rheinhardt2022-04-141-1/+1
| | | | | | | It also adds the missing depenencies on the file and pipe protocols and the framecrc muxer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/image: Use TRANSCODE where appropriateAndreas Rheinhardt2022-04-141-2/+2
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/Makefile: Add auxiliary functions for transcode and stream_remuxAndreas Rheinhardt2022-04-141-0/+10
| | | | | | | | | | | | | | | | | Tests using the transcode and stream_remux functions have some common requirements (namely the file and pipe protocols as well as the framecrc muxer) and also other commonalities: The create a file and read it immediately afterwards, so that they typically rely on a corresponding muxer+demuxer pair which typically shares the same name; for transcode (if it does not use stream copy) the same is true for encoders and decoders. This means that using special Makefile-functions instead of the general ALLYES is worthwhile. This commit adds such functions. These functions allow to add arbitrary CONFIG-checks on top of the aforementioned ones in order to satisfy special needs (for e.g. parsers, filters) that several intended users have. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mjpegenc: Don't unnecessarily grow bufferAndreas Rheinhardt2022-04-141-1/+0
| | | | | | | | | The size of the ICC chunk has already been accounted for when the packet's buffer was initially set in ff_mpv_encode_picture() and the header (including the ICC chunk) has already been written at this point. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideo_enc: Remove always-true checkAndreas Rheinhardt2022-04-141-1/+1
| | | | | | | It is a remnant of the old way for user-supplied buffers; it is always-true since 93016f5d1d280f9cb7856883af287fa66affc04c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideo_enc: Fix unnecessary linear growth of bufferAndreas Rheinhardt2022-04-141-3/+3
| | | | | | | | | | | If one encodes MJPEG with a single slice and uses input with AV_FRAME_DATA_ICC_PROFILE side data, the current allocation code in ff_mpv_encode_picture() will always increase the size of the temporary buffer used for allocating packets by the size needed for to write the ICC chunk even when the current buffer is actually large enough. This commit fixes this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideo_enc: Ignore ICC profile size when not MJPEGAndreas Rheinhardt2022-04-141-2/+5
| | | | | | | | MJPEG is the only mpegvideo-based encoder making use of it. Fixes linking failures in case mpegvideo_enc.c is compiled with AMV, LJPEG and MJPEG encoders disabled. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/avf_showspectrum: add alpha pixel format supportPaul B Mahol2022-04-142-23/+86
|
* avformat/ipfsgateway: define PATH_MAXMark Gaiser2022-04-141-0/+6
| | | | | | | | | PATH_MAX is posix. Some compilers (MSVC) don't define this thus failing to compile the ipfsgateway file. Defining it fixes the compile. Signed-off-by: Mark Gaiser <markg85@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/af_adenorm: simplify handling of commandsPaul B Mahol2022-04-131-42/+17
|
* avfilter/avf_showvolume: check for allocation error and stop leaksPaul B Mahol2022-04-131-0/+5
|
* avcodec/avcodec: Don't reset decoder-fields for encoders when flushingAndreas Rheinhardt2022-04-131-12/+11
| | | | | Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/avcodec: Simplify accessing AVSubtitleRect via dedicated pointerAndreas Rheinhardt2022-04-131-6/+9
| | | | | Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/avcodec: Avoid av_frame_unref(NULL)Andreas Rheinhardt2022-04-131-1/+2
| | | | | | | It works, but it is not documented to work. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/encode: Fix check for encoders impl. encode-simple APIAndreas Rheinhardt2022-04-131-1/+1
| | | | | | | FFCodec.cb is a union. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mlpenc: fix encoding after receiving last framePaul B Mahol2022-04-131-4/+5
| | | | | This happened when major header needed to be written after input EOF.
* lavc/encode: pick a sane default for bits_per_raw_sample if it's not setAnton Khirnov2022-04-131-0/+3
| | | | Fixes #9563.
* lavc/encode: reindentAnton Khirnov2022-04-131-11/+11
|
* lavc/encode: factor audio/video-specific parts out of ff_encode_preinit()Anton Khirnov2022-04-131-62/+85
|
* lavc: move default get_buffer2() to its own fileAnton Khirnov2022-04-133-278/+313
| | | | | It is also used by some encoders, so decode.c is not the right place for it.
* lavc/encode: drop EncodeSimpleContextAnton Khirnov2022-04-133-11/+12
| | | | It has only a single member.
* lavc/avcodec: only allocate the encoding frame for encodersAnton Khirnov2022-04-132-3/+8
| | | | And only when needed, i.e. for encoders using the simple API.
* lavc/avcodec: simplify codec id/type validity checkingAnton Khirnov2022-04-131-8/+6
| | | | | On entry to avcodec_open2(), the AVCodecContext type and id either have to be UNKNOWN/NONE or have to match the codec to be used.
* fftools/ffmpeg: store output format separately from the muxer contextAnton Khirnov2022-04-133-8/+13
| | | | | | Allows accessing it without going through the muxer context. This will be useful in the following commits, where the muxer context will be hidden.
* fftools/ffmpeg: move freeing the output file to ffmpeg_mux.cAnton Khirnov2022-04-133-12/+20
|
* fftools/ffmpeg: move writing the trailer to ffmpeg_mux.cAnton Khirnov2022-04-133-13/+25
|
* fftools/ffmpeg: move some muxing-related code into a separate fileAnton Khirnov2022-04-134-266/+314
| | | | | This is a first step towards making muxers more independent from the rest of the code.
* fftools/ffmpeg: store the output file index in OutputFileAnton Khirnov2022-04-133-5/+8
| | | | | Use it to simplify check_init_output_file(). Will allow further simplifications in the following commits.
* fftools/ffmpeg: pass the muxer context explicitly to some functionsAnton Khirnov2022-04-131-8/+8
| | | | | Stop accessing OutputFile.ctx. This will be useful in the following commits, where it will become hidden.