<div dir="ltr">I found a file in gst-plugins-base/gst-libs/gst/pbutils named descriptions.c and listed in the file are image formats with static descriptions. I created a test and from all these 27 formats, only two worked correctly and allowed me to save an image: image/jpeg and image/png. Also, upon closer examination using gst-inspect-1.0, I could only find three elements that state explicitly they encode image files. pnmenc, jpegenc and pngenc. So, is this just a limitation? I can create a bitmap using gst-launch but I cannot create one using gst_video_convert_sample.<div>Is there a guide somewhere that explains using the output of gst-lauinch-1.0 -v, I can take all the srcs and sinks listed and create the correct pipeline in my program?</div><div>Best Regards,</div><div>Jack</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 3:13 PM, Jack D <span dir="ltr"><<a href="mailto:jackstuff3@gmail.com" target="_blank">jackstuff3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I did notice that error on my part but image/bmp or image/bitmap, neither of these work.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 2:25 PM, Antonio Ospite <span dir="ltr"><<a href="mailto:ao2@ao2.it" target="_blank">ao2@ao2.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, 21 Dec 2017 13:33:24 -0700<br>
Jack D <<a href="mailto:jackstuff3@gmail.com" target="_blank">jackstuff3@gmail.com</a>> wrote:<br>
<br>
> I get the same result doing gst-inspect-1.0 with those parameters.<br>
><br>
> VIDEO:/home/user % gst-inspect-1.0 | grep bitmap<br>
> libav:  avdec_bmp: libav BMP (Windows and OS/2 bitmap) decoder<br>
> libav:  avenc_bmp: libav BMP (Windows and OS/2 bitmap) encoder<br>
> VIDEO:/home/user % gst-inspect-1.0 avenc_bmp | grep image<br>
>       image/bmp<br>
><br>
>  The only difference I see is my search has avdec_bmp listed first.<br>
> Has anyone ever successfully saved a bitmap file from inside a program<br>
> using gst_video_convert_sample?<br>
</span>[...]<br>
<br>
Your program should work, I was trying to point out that you have to use<br>
image/bmp instead of image/bitmap.<br>
<div class="m_-5323396580073443764HOEnZb"><div class="m_-5323396580073443764h5"><br>
Ciao,<br>
   Antonio<br>
<br>
--<br>
Antonio Ospite<br>
<a href="https://ao2.it" rel="noreferrer" target="_blank">https://ao2.it</a><br>
<a href="https://twitter.com/ao2it" rel="noreferrer" target="_blank">https://twitter.com/ao2it</a><br>
<br>
A: Because it messes up the order in which people normally read text.<br>
   See <a href="http://en.wikipedia.org/wiki/Posting_style" rel="noreferrer" target="_blank">http://en.wikipedia.org/wiki/P<wbr>osting_style</a><br>
Q: Why is top-posting such a bad thing?<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>