ffmpeg/fftools
Anton Khirnov 129c7bf53f fftools/ffmpeg: always use the same path for setting InputStream.[next_]dts
Currently those are set in different ways depending on whether the
stream is decoded or not, using some values from the decoder if it is.
This is wrong, because there may be arbitrary amount of delay between
input packets and output frames (depending e.g. on the thread count when
frame threading is used).

Always use the path that was previously used only for streamcopy. This
should not cause any issues, because these values are now used only for
streamcopy and discontinuity handling.

This change will allow to decouple discontinuity processing from
decoding and move it to ffmpeg_demux. It also makes the code simpler.

Changes output in fate-cover-art-aiff-id3v2-remux and
fate-cover-art-mp3-id3v2-remux, where attached pictures are now written
in the correct order. This happens because InputStream.dts is no longer
reset to AV_NOPTS_VALUE after decoding, so streamcopy actually sees
valid dts values.
2023-05-02 10:59:24 +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_dec.c fftools/ffmpeg_dec: drop useless abort_codec_experimental() 2023-04-17 12:01:40 +02:00
ffmpeg_demux.c fftools/ffmpeg: drop InputStream.[next_]pts 2023-05-02 10:59:24 +02:00
ffmpeg_enc.c fftools/ffmpeg: move OutputStream.packets_encoded to Encoder 2023-05-02 10:59:24 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: use correct timebase for filter EOF timestamp 2023-05-02 10:59:24 +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_init.c fftools/ffmpeg_filter: add filtergraph private data 2023-05-02 10:59:24 +02:00
ffmpeg_mux.c fftools/ffmpeg_filter: add filtergraph private data 2023-05-02 10:59:24 +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_opt.c fftools/ffmpeg: deprecate -adrift_threshold 2023-05-02 10:59:24 +02:00
ffmpeg.c fftools/ffmpeg: always use the same path for setting InputStream.[next_]dts 2023-05-02 10:59:24 +02:00
ffmpeg.h fftools/ffmpeg: drop InputStream.[next_]pts 2023-05-02 10:59:24 +02:00
ffplay.c fftools/ffplay: stop using AVFrame.pkt_pos 2023-03-20 10:42:09 +01:00
ffprobe.c fftools/ffprobe: fix printing AVFrame.crop_right 2023-04-21 09:25:53 -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
Makefile fftools/ffmpeg: move opening decoders to a new file 2023-04-17 12:01:40 +02:00
objpool.c
objpool.h
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
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
thread_queue.h