-
Notifications
You must be signed in to change notification settings - Fork 938
How to pass -x256-params to output? #529
Copy link
Copy link
Closed
Description
Hi, I'd like to do something like
ffmpeg -i input.mp4 -vcodec libx265 -x265-params lossless=1 -crf 0 -pix_fmt yuv420p output.mp4
However, I don't know how to specify the -x265-params as an output argument:
stream = ffmpeg.output(
stream,
"output.mp4",
vcodec="libx265",
x265-params="lossless=1", # <--- This parameter is wrong in python
crf=0,
pix_fmt="yuv420"
)
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels