How to set x265 encoding to lossless using FFmpeg API?

0

I know I can set up the lossless mode for x265 as follows:

ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless=1 output.mp4

How can I do this using the FFmpeg API?

Sam Far

Posted 2019-08-07T19:52:28.550

Reputation: 1

Start by looking at the encoding example in the ffmpeg source code. – szatmary – 2019-08-08T14:01:51.420

No answers