From a915ad2407dc6571f43fecdb06efb706455b1d48 Mon Sep 17 00:00:00 2001 From: Jack Lau <2366536135@qq.com> Date: Sat, 28 Dec 2024 14:41:08 +0800 Subject: [PATCH] update DecM code case --- bmf/c_modules/include/ffmpeg_decoder.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bmf/c_modules/include/ffmpeg_decoder.h b/bmf/c_modules/include/ffmpeg_decoder.h index 04e33fc1..b10bead1 100644 --- a/bmf/c_modules/include/ffmpeg_decoder.h +++ b/bmf/c_modules/include/ffmpeg_decoder.h @@ -249,12 +249,10 @@ class CFFDecoder : public Module { bmf.decode( { "input_path": input_path, - "video_params": { - "hwaccel": "cuda", - }, - "dec_params": { - "threads": 1, - }, + "map_v": 0, + "map_a": 2, + "start_time": 2, + "end_time": 3, } ) * @endcode