ffmpeg-rockchip-nyanmisaka-1/fftools
Anton Khirnov 8ecbb1f9af fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy()
This function converts packet timestamps from the input stream timebase
to OutputStream.mux_timebase, which may or may not be equal to the
actual output AVStream timebase (and even when it is, this may not
always be the optimal choice due to bitstream filtering).

Just keep the timestamps in input stream timebase, they will be rescaled
as needed before bitstream filtering and/or sending the packet to the
muxer.

Move the av_rescale_delta() call for audio (needed to preserve accuracy
with coarse demuxer timebases) to write_packet.

Drop now-unused OutputStream.mux_timebase.
2023-08-30 11:53:46 +02:00
..
cmdutils.c fftools/ffmpeg: stop calling exit_program() 2023-07-20 20:47:46 +02:00
cmdutils.h fftools/ffmpeg: stop calling exit_program() 2023-07-20 20:47:46 +02:00
ffmpeg.c fftools/ffmpeg: simplify handling input -t for streamcopy 2023-08-30 11:51:42 +02:00
ffmpeg.h fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_dec.c fftools/ffmpeg: return an error from assert_avoptions() instead of aborting 2023-07-20 20:47:46 +02:00
ffmpeg_demux.c fftools/ffmpeg: return an error from assert_avoptions() instead of aborting 2023-07-20 20:47:46 +02:00
ffmpeg_enc.c fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_filter.c fftools/cmdutils: add error handling to allocate_array_elem() 2023-07-20 20:40:26 +02:00
ffmpeg_hw.c fftools/ffmpeg_hw: inline hwaccel_decode_init() into its caller 2023-06-19 09:48:55 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_mux.h fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_mux_init.c fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_opt.c fftools/ffmpeg_opt: Reduce scope of variables for deprecated code 2023-07-23 17:55:38 +02:00
ffplay.c fftools/ffplay: replace report_and_exit() with returning an error code 2023-07-20 20:47:46 +02:00
ffprobe.c fftools/ffprobe: Use proper enum type 2023-08-08 20:20:36 +02: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: Don't add unnecessary " " 2023-08-02 18:15:34 +02: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: make sure non-limiting streams are not used as queue head 2023-05-28 10:47:59 +02:00
sync_queue.h fftools/sync_queue: add debug logging 2023-05-28 10:47:59 +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