correct ffmpeg command
This commit is contained in:
parent
1561f6e5cb
commit
6f75a645b7
|
|
@ -223,6 +223,7 @@ async def s_api_v1_storage_get(request, file_hash=None):
|
|||
"-i", file_path,
|
||||
"-t", str(seconds_limit),
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p", # Set pixel format for compatibility
|
||||
"-c:a", "aac",
|
||||
"-movflags", "+faststart",
|
||||
tempfile_path
|
||||
|
|
@ -234,6 +235,7 @@ async def s_api_v1_storage_get(request, file_hash=None):
|
|||
"-y",
|
||||
"-i", file_path,
|
||||
"-c:v", "libx264",
|
||||
"-pix_fmt", "yuv420p", # Set pixel format for compatibility
|
||||
"-c:a", "aac",
|
||||
"-movflags", "+faststart",
|
||||
tempfile_path
|
||||
|
|
|
|||
Loading…
Reference in New Issue