Hello,

One quick question:

Is there a way to fill the properties in the  lower three lines with values 
from the filter chain (like in the upper 2 lines)?

Or maybe there is a function that copies all properties from the buffersink 
filter to the codec context?

codecCtx->color_range = av_buffersink_get_color_range(outputCtx);
codecCtx->colorspace = av_buffersink_get_colorspace(outputCtx);
codecCtx->field_order = AV_FIELD_PROGRESSIVE; // TODO
codecCtx->color_primaries = AVCOL_PRI_BT709; // TODO
codecCtx->color_trc = AVCOL_TRC_BT709; // TODO

https://ffmpeg.org/doxygen/trunk/group__lavfi__buffersink.html

Thanks,
Daniel
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
libav-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to