x265
has a lossless mode which is used for ultra-high bitrates with zero loss of quality. I tried using this mode with avconv
as follows:
avconv -i input.mp4 -c:v libx265 -x265-params lossless -c:a copy output.mp4
However, using this mode has an opposite effect : video came out to be of extremely low quality. It was totally lossy!!
Am I using the parameter incorrectly? Or am I somehow misunderstanding the definition of the word "lossless"?
Important Links:
- Lossless mode of x265: http://x265.readthedocs.org/en/default/lossless.html
- How to use x265 parameters in
avconv
: https://wiki.libav.org/Encoding/hevc
--lossless
is used when using thex265
binary directly. However, when usingavconv
, parameters are passed differently. For example, CRF value is passed as--crf 28
when usingx265
directly, however it is passed as-x265-params crf=28
when usingavconv
.