Answers for "subprocess ffmpeg x265 codec"

0

subprocess ffmpeg x265 codec

import shlex
process = sp.Popen(shlex.split(f'/usr/bin/ffmpeg -y -s {width}x{height} -pixel_format bgr24 -f rawvideo -r {fps} -i pipe: -vcodec libx265 -pix_fmt yuv420p -crf 24 {output_filename}'), stdin=sp.PIPE)
Posted by: Guest on May-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language