FFmpeg/fftools
Anton Khirnov c17e33c058 fftools/ffmpeg: propagate frame durations to packets when encoding
Remove now-obsolete code setting packet durations pre-muxing for CFR
encoded video.

Changes output in the following FATE tests:
* numerous adpcm tests
* ffmpeg-filter_complex_audio
* lavf-asf
* lavf-mkv
* lavf-mkv_attachment
* matroska-encoding-delay
  All of these change due to the fact that the output duration is now
  the actual input data duration and does not include padding added by
  the encoder.

* apng-osample: less wrong packet durations are now passed to the muxer.
  They are not entirely correct, because the first frame duration should
  be 3 rather than 2. This is caused by the vsync code and should be
  addressed later, but this change is a step in the right direction.
* tscc2-mov: last output frame has a duration of 11 rather than 1 - this
  corresponds to the duration actually returned by the demuxer.
* film-cvid: video frame durations are now 2 rather than 1 - this
  corresponds to durations actually returned by the demuxer and matches
  the timestamps.
* mpeg2-ticket6677: durations of some video frames are now 2 rather than
  1 - this matches the timestamps.
2023-04-19 21:12:03 +02:00
..
cmdutils.c fftools: use av_dict_iterate 2022-12-01 11:21:14 +01:00
cmdutils.h fftools/cmdutils: Add function to report error before exit 2022-09-01 14:21:56 +02:00
ffmpeg.c fftools/ffmpeg_mux: stop using filter_in_rescale_delta_last for streamcopy 2023-04-17 12:01:40 +02:00
ffmpeg.h fftools/ffmpeg_enc: make data_size_enc private to encoding code 2023-04-17 12:01:40 +02:00
ffmpeg_dec.c fftools/ffmpeg_dec: drop useless abort_codec_experimental() 2023-04-17 12:01:40 +02:00
ffmpeg_demux.c fftools/ffmpeg: open decoders right after we know they are needed 2023-04-17 12:01:40 +02:00
ffmpeg_enc.c fftools/ffmpeg: propagate frame durations to packets when encoding 2023-04-19 21:12:03 +02:00
ffmpeg_filter.c fftools/ffmpeg: stop setting InputStream fields from muxing/filtering code 2023-04-17 12:01:40 +02:00
ffmpeg_hw.c fftools/ffmpeg: supply hw_device_ctx to filters before initializing them 2023-03-24 10:23:52 +01:00
ffmpeg_mux.c fftools/ffmpeg: propagate frame durations to packets when encoding 2023-04-19 21:12:03 +02:00
ffmpeg_mux.h fftools/ffmpeg_mux: make copy_initial_nonkeyframes private to muxing code 2023-04-17 12:01:40 +02:00
ffmpeg_mux_init.c fftools/ffmpeg_mux: make copy_initial_nonkeyframes private to muxing code 2023-04-17 12:01:40 +02:00
ffmpeg_opt.c fftools/ffmpeg: disable and deprecate -qphist 2023-04-13 15:11:56 +02:00
ffplay.c fftools/ffplay: stop using AVFrame.pkt_pos 2023-03-20 10:42:09 +01:00
ffprobe.c fftools/ffprobe: print crop_* frame fields 2023-03-26 16:39:59 -03:00
fftools.manifest fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fftoolsres.rc fftools: add DPI awareness manifest 2022-08-13 14:42:52 +02:00
fopen_utf8.h fftools/fopen_utf8: support long paths on Windows for fftools 2022-06-19 01:38:23 +03:00
Makefile fftools/ffmpeg: move opening decoders to a new file 2023-04-17 12:01:40 +02:00
objpool.c fftools/objpool: Don't use return with expression when returning void 2022-07-23 18:58:35 +02:00
objpool.h fftools: add an object pool 2022-07-23 11:53:19 +02:00
opt_common.c fftools/opt_common: check the return value of av_hwdevice_get_type_name before printing it 2022-09-14 09:54:19 -03:00
opt_common.h fftools/cmdutils: split common option handlers into their own file 2022-03-22 18:49:43 +01:00
sync_queue.c fftools/sync_queue: update audio frame duration when re-chunking 2023-04-19 21:12:03 +02:00
sync_queue.h fftools/sync_queue: allow requesting a specific number of audio samples 2023-04-09 15:47:45 +02:00
thread_queue.c fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00