1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/fftools
Zhao Zhili 564a15b2ee fftools/ffplay_renderer: Add device selection support
The device can be selected by GPU name or index. For example,

ffplay -hwaccel cuda \
	-vulkan_params device="NVIDIA GeForce RTX 3060" \
	foo.mp4

ffplay -hwaccel cuda -vulkan_params device="0" foo.mp4

Please note that select device by index only supported by hwcontext,
not by libplacebo.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2024-01-12 10:49:54 +08:00
..
cmdutils.c fftools/ffmpeg: improve WARN_MULTIPLE_OPT_USAGE() 2023-12-22 11:39:57 +01:00
cmdutils.h fftools/ffmpeg: improve WARN_MULTIPLE_OPT_USAGE() 2023-12-22 11:39:57 +01:00
ffmpeg_dec.c fftools/ffmpeg: replace InputStream.file_index by a pointer 2023-12-14 20:16:53 +01:00
ffmpeg_demux.c fftools/ffmpeg: improve WARN_MULTIPLE_OPT_USAGE() 2023-12-22 11:39:57 +01:00
ffmpeg_enc.c fftools/ffmpeg_enc: assert necessary frame fields before create encoder 2023-12-21 19:30:25 +08:00
ffmpeg_filter.c fftools/ffmpeg_filter: log an information message about filter graph reconfigurations 2024-01-07 22:47:22 +01:00
ffmpeg_hw.c fftools/ffmpeg_hw: inline hwaccel_decode_init() into its caller 2023-06-19 09:48:55 +02:00
ffmpeg_mux_init.c all: Don't set AVClass.item_name to its default value 2023-12-22 15:12:33 +01:00
ffmpeg_mux.c fftools/ffmpeg: use a mutex for enc_stats_write() 2023-12-18 08:50:02 +01:00
ffmpeg_mux.h fftools/ffmpeg_mux: move OutputStream.sq_idx_mux to private data 2023-12-14 20:16:54 +01:00
ffmpeg_opt.c all: Don't set AVClass.item_name to its default value 2023-12-22 15:12:33 +01:00
ffmpeg_sched.c fftools/ffmpeg_sched: track dts+duration as last_dts 2023-12-14 20:16:54 +01:00
ffmpeg_sched.h fftools/ffmpeg: update the reported timestamp at the end 2023-12-14 20:16:54 +01:00
ffmpeg_utils.h fftools/ffmpeg: rework keeping track of file duration for -stream_loop 2023-11-14 18:18:26 +01:00
ffmpeg.c fftools/ffmpeg: update the reported timestamp at the end 2023-12-14 20:16:54 +01:00
ffmpeg.h fftools/ffmpeg: mark -vsync for future removal 2023-12-22 11:39:57 +01:00
ffplay_renderer.c fftools/ffplay_renderer: Add device selection support 2024-01-12 10:49:54 +08:00
ffplay_renderer.h fftools/ffplay: add hwaccel decoding support 2023-11-15 01:20:11 +08:00
ffplay.c fftools/ffplay: fix missing hw_frames_ctx when config avfilter 2024-01-12 10:49:46 +08:00
ffprobe.c fftools/cmdutils: rename HAS_ARG to OPT_FUNC_ARG 2023-12-22 11:39:57 +01: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: add thread-aware transcode scheduling infrastructure 2023-12-12 08:24:18 +01: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 all: Don't set AVClass.item_name to its default value 2023-12-22 15:12:33 +01:00
opt_common.h fftools/opt_common: mark some options as OPT_EXPERT 2023-12-22 11:39:57 +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/thread_queue: count receive-finished streams as finished 2023-11-14 18:18:26 +01:00
thread_queue.h fftools: add a multistream thread-safe queue 2022-07-23 11:53:19 +02:00