[FFmpeg-user] slow encoding from raw rgb

Daniel Oberhoff danieloberhoff at googlemail.com
Thu Oct 18 13:04:06 EEST 2018


Hello,


So we are trying to encode raw rgb data from a pipe with ffmpeg. We
found that ffmpeg implicitly converts the data to tv range bt601, which
is suboptimal. Especially tv range loses more information than
neccessary, also bt709 seems to be the better color space.


We know we can fix this by adding -vf
scale=out_color_matrix=bt709:out_range=pc. Unfortuntately thi makes
encoding a lot slower (40 vs 60 fps) which effectively makes this
approach too slow for us. Do yiz have any idea why this is the case?


Best


Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 4873 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20181018/871ed50f/attachment.key>


More information about the ffmpeg-user mailing list