You've already forked FrameTour-RenderWorker
u
This commit is contained in:
@@ -23,8 +23,10 @@ def temp_dir():
|
||||
def test_ffmpeg_config():
|
||||
"""测试用FFmpeg配置"""
|
||||
return FFmpegConfig(
|
||||
encoder_args="-c:v h264",
|
||||
video_args="",
|
||||
encoder_args=["-c:v", "h264"],
|
||||
video_args=["-profile:v", "high"],
|
||||
audio_args=["-c:a", "aac"],
|
||||
default_args=["-shortest"],
|
||||
)
|
||||
|
||||
|
||||
@@ -49,9 +51,8 @@ def test_storage_config():
|
||||
def sample_render_task():
|
||||
"""示例渲染任务"""
|
||||
return RenderTask(
|
||||
task_id="test_task_001",
|
||||
template_id="test_template",
|
||||
output_path="test_output.mp4",
|
||||
input_files=["test_input.mp4"],
|
||||
output_file="test_output.mp4",
|
||||
frame_rate=25,
|
||||
effects=["zoom:0,2.0,3.0", "ospeed:1.5"],
|
||||
ext_data={
|
||||
|
||||
Reference in New Issue
Block a user