Streaming of video from grayscale 16 bits lossless
Nicolas Dufresne
nicolas at ndufresne.ca
Tue May 23 14:33:58 UTC 2017
Le mardi 23 mai 2017 à 09:08 -0400, Josh Doe a écrit :
> rtpvrawpay only supports the color formats defined in RFC 4175 [1],
> which does not include GRAY8, or GRAY16_LE/BE. I found another RFC
> 4421 [2] which adds a few other RGB formats, but nothing about
> grayscale.
>
> If you're only streaming between your own services, you can payload
> GStreamer buffers using rtpgstpay. Don't forget this will be very
> demanding on your network depending on your resolution and framerate.
>
> [1]: https://tools.ietf.org/html/rfc4175
> [2]: https://tools.ietf.org/html/rfc4421
Another option if you need to use less bandwidth, would be to use PNG
compression along with rtpgstpay/depay. I think with the use case of
streaming depth buffers, someone will need to propose an RFC to extend
this. For higher compression, one could use some 10bit or 12bit YUV
with H264/5. The UV will be constant, and the GRAY mapped as Y will be
better then 8bit, but less then 16bit. Theoretically, we could craft a
16bit Y-Cb-Cr 4:1:1 format that would fit the RTP standard here. But
even though standard, it would not be commonly supported, so the gst
payload might do the same.
regards,
Nicolas
-------------- 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/20170523/4bff55ff/attachment-0001.sig>
More information about the gstreamer-devel
mailing list