Encoding uncompressed video in H.265

Nicolas Dufresne nicolas.dufresne at gmail.com
Fri Jul 8 20:45:28 UTC 2016


Le vendredi 08 juillet 2016 à 12:10 -0700, Arjen Veenhuizen a écrit :
> If it really is uncompressed video (raw yuv420p), then you have to
> set the
> blocksize property on the filesrc element to the exact number of
> bytes
> making up for one frame.
> For yuv420p (format=I420) one frame would be: width * height * 3 / 2
> bytes,
> or in your case: 1280 * 720 * 3 / 2 = 1382400.

There is videoparse element that will manage that for you, plus it will
set timestamps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160708/583b9a1d/attachment.sig>


More information about the gstreamer-devel mailing list