FFmpeg/fftools
Nicolas Gaullier ee9ae4e8ba fftools/ffmpeg: Fix honor -r output option with streamcopy
Fix "ost->st->avg_frame_rate = ost->frame_rate" in streamcopy_init()
being reset to input's frame rate a few lines below.
Note that in current code, there are some discrepancies amongst the
muxers. For example, avienc relies on time_base, so it is not affected
by this patch, whereas mxfenc and matroskaenc do use avg_frame_rate,
so this patch fixes -r being honored.

In the updated fate test, the input is (wrongly) probed as 50fps. With
this patch, the correct value (25fps) is successfully forced with -r.

Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2024-09-04 13:01:37 +02:00
..
cmdutils.c fftools/ffmpeg: use new stream specifier API in opt_match_per_stream*() 2024-08-13 10:28:54 +02:00
cmdutils.h fftools/ffmpeg: use new stream specifier API in opt_match_per_stream*() 2024-08-13 10:28:54 +02:00
ffmpeg_dec.c fftools/ffmpeg_dec: improve detection of lavf-guessed durations 2024-07-09 11:14:08 +02:00
ffmpeg_demux.c fftools/ffmpeg: use new stream specifier API in opt_match_per_stream*() 2024-08-13 10:28:54 +02:00
ffmpeg_enc.c fftools/ffmpeg_mux_init: apply encoder options manually 2024-07-03 11:38:52 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: use the correct specifier for crop arguments 2024-07-18 23:27:20 -03:00
ffmpeg_hw.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
ffmpeg_mux_init.c fftools/ffmpeg: Fix honor -r output option with streamcopy 2024-09-04 13:01:37 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux_init: make encoder_opts local to ost_add() 2024-07-03 11:38:52 +02:00
ffmpeg_mux.h fftools/ffmpeg: replace MATCH_PER_STREAM_OPT(.., str, ..) with a function 2024-08-13 10:28:54 +02:00
ffmpeg_opt.c fftools/ffmpeg: switch -map parsing to new stream specifier API 2024-08-13 10:28:54 +02:00
ffmpeg_sched.c fftools/ffmpeg_sched: Remove dead assignments in sch_dec_send() 2024-07-02 21:57:20 +02:00
ffmpeg_sched.h fftools/ffmpeg_sched: allow filtergraphs to send to filtergraphs 2024-04-09 10:34:18 +02:00
ffmpeg_utils.h fftools/ffmpeg: prefer real errors over EOF in err_merge() 2024-07-24 08:20:21 +02:00
ffmpeg.c fftools/ffmpeg: show video stats in progress output without filters 2024-08-14 15:17:58 +02:00
ffmpeg.h fftools/ffmpeg: use new stream specifier API in opt_match_per_stream*() 2024-08-13 10:28:54 +02:00
ffplay_renderer.c fftools/ffplay_renderer: use correct NULL value for Vulkan type 2024-06-25 00:19:03 +02:00
ffplay_renderer.h
ffplay.c fftools/ffplay: handle flip in display matrix 2024-08-24 00:26:59 +08:00
ffprobe.c fftools/ffprobe: implement dv_md_compression 2024-07-28 12:20:07 +02:00
fftools.manifest
fftoolsres.rc
fopen_utf8.h avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
Makefile
objpool.c
objpool.h
opt_common.c tools/opt_common: Check for malloc failure 2024-05-09 16:17:40 +02:00
opt_common.h fftools/cmdutils: hide some information listing options from basic help 2024-01-20 10:37:32 +01:00
sync_queue.c fftools/ffmpeg_demux, sync_queue: Constify a bit 2024-03-02 02:51:59 +01:00
sync_queue.h
thread_queue.c
thread_queue.h