Trying to encode a captured frame as a Bitmap (.bmp)

Jack D jackstuff3 at gmail.com
Thu Dec 21 22:13:31 UTC 2017


I did notice that error on my part but image/bmp or image/bitmap, neither
of these work.

On Thu, Dec 21, 2017 at 2:25 PM, Antonio Ospite <ao2 at ao2.it> wrote:

> On Thu, 21 Dec 2017 13:33:24 -0700
> Jack D <jackstuff3 at gmail.com> wrote:
>
> > I get the same result doing gst-inspect-1.0 with those parameters.
> >
> > VIDEO:/home/user % gst-inspect-1.0 | grep bitmap
> > libav:  avdec_bmp: libav BMP (Windows and OS/2 bitmap) decoder
> > libav:  avenc_bmp: libav BMP (Windows and OS/2 bitmap) encoder
> > VIDEO:/home/user % gst-inspect-1.0 avenc_bmp | grep image
> >       image/bmp
> >
> >  The only difference I see is my search has avdec_bmp listed first.
> > Has anyone ever successfully saved a bitmap file from inside a program
> > using gst_video_convert_sample?
> [...]
>
> Your program should work, I was trying to point out that you have to use
> image/bmp instead of image/bitmap.
>
> Ciao,
>    Antonio
>
> --
> Antonio Ospite
> https://ao2.it
> https://twitter.com/ao2it
>
> A: Because it messes up the order in which people normally read text.
>    See http://en.wikipedia.org/wiki/Posting_style
> Q: Why is top-posting such a bad thing?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171221/47730f50/attachment.html>


More information about the gstreamer-devel mailing list