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

Antonio Ospite ao2 at ao2.it
Thu Dec 21 21:25:49 UTC 2017


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?


More information about the gstreamer-devel mailing list