Hi all, I’m looking for an Lossless codec (encoder) which supports the Grayscale 8-Bit video/x-raw-gray Format and is also supported by the matroska Muxer. I’ve tried ffenc_huffyuv where gst-inspect says, that it supports video/x-raw-gray But in my program when I get the sourcePad Capabilities from the encoder. There is no x-raw-graw, only color formats are listed. For ffenc_vhuff and ffenc_ffv1 it’s the same. So does anybody know an appropriate Codec? Or did I missed something and the Mentioned Codecs above work also for grayscale? Thanks in advance Horst _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I think there is none available. Since I was searching as well.
Matroskamux accepts the following: video/x-raw-yuv format: { YUY2, I420, YV12, UYVY, AYUV }, video/x-huffyuv, video/x-dirac So just huffman and dirac compression. The only dirac encoder I know is diracenc, which accepts only video/x-raw-yuv format: { I420, YUY2, UYVY, AYUV } The only huffman encoders I could find were: ffenc_ffvhuff and ffenc_huffyuv. Both stating as capabilities: video/x-raw-rgb, video/x-raw-yuv, video/x-raw-gray But none of them supporting the video/x-raw-gray streams (like your ffenc_vhuff and ffenc_ffv1 encoders) I would be interested also in any encoder capable for video/x-raw-gray streams suitable also for other container formats. If anybody knows please let me know |
I came to the conclusion using Motionjpeg (jpegenc) and Matroska with
grayscale videos and setting the quality to 100. It's not lossless, but I hope it has enough quality for my effort. Maybe it's possible to develop an grayscale version of the huffyuv Encoder, but I don't know anything about the huffyuv encoding algorithm. -----Ursprüngliche Nachricht----- Von: gstreamer-devel-bounces+horsthuchen=[hidden email] [mailto:gstreamer-devel-bounces+horsthuchen=[hidden email] .org] Im Auftrag von pfarmer Gesendet: Donnerstag, 2. Februar 2012 14:53 An: [hidden email] Betreff: Re: Lossless Codec for Gray 8-Bit and Matroska I think there is none available. Since I was searching as well. Matroskamux accepts the following: video/x-raw-yuv format: { YUY2, I420, YV12, UYVY, AYUV }, video/x-huffyuv, video/x-dirac So just huffman and dirac compression. The only dirac encoder I know is diracenc, which accepts only video/x-raw-yuv format: { I420, YUY2, UYVY, AYUV } The only huffman encoders I could find were: ffenc_ffvhuff and ffenc_huffyuv. Both stating as capabilities: video/x-raw-rgb, video/x-raw-yuv, video/x-raw-gray But none of them supporting the video/x-raw-gray streams (like your ffenc_vhuff and ffenc_ffv1 encoders) I would be interested also in any encoder capable for video/x-raw-gray streams suitable also for other container formats. If anybody knows please let me know -- View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Lossless-Codec-for-Gray-8-Bit-an d-Matroska-tp4328128p4351487.html Sent from the GStreamer-devel mailing list archive at Nabble.com. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Thu, Feb 02, 2012 at 04:32:42PM +0100, Horst Huchen wrote:
> I came to the conclusion using Motionjpeg (jpegenc) and Matroska with > grayscale videos and setting the quality to 100. > It's not lossless, but I hope it has enough quality for my effort. > > Maybe it's possible to develop an grayscale version of the huffyuv Encoder, > but I don't know anything about the huffyuv encoding algorithm. Is there any specific reason you need a greyscale codec, as opposed to encoding YUV images that merely happen to be grey? David _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I have a grayscale camera and I would like to store their images.
And I don't understand why I should store additional color information. Or isn't there any difference of the file size when storing greyscale in YUV instead of storing it directly into an gray format? -----Ursprüngliche Nachricht----- Von: gstreamer-devel-bounces+horsthuchen=[hidden email] [mailto:gstreamer-devel-bounces+horsthuchen=[hidden email] .org] Im Auftrag von David Schleef Gesendet: Donnerstag, 2. Februar 2012 20:34 An: Discussion of the development of and with GStreamer Betreff: Re: Lossless Codec for Gray 8-Bit and Matroska On Thu, Feb 02, 2012 at 04:32:42PM +0100, Horst Huchen wrote: > I came to the conclusion using Motionjpeg (jpegenc) and Matroska with > grayscale videos and setting the quality to 100. > It's not lossless, but I hope it has enough quality for my effort. > > Maybe it's possible to develop an grayscale version of the huffyuv > Encoder, but I don't know anything about the huffyuv encoding algorithm. Is there any specific reason you need a greyscale codec, as opposed to encoding YUV images that merely happen to be grey? David _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |