<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Save Frames For Future Use (UYVY Format) in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558879#M9253</link>
    <description>&lt;P&gt;Hello Harmonic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Did the solution above resolve your problem?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Jesus G.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Intel Customer Support</description>
    <pubDate>Fri, 15 Jun 2018 14:49:55 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2018-06-15T14:49:55Z</dc:date>
    <item>
      <title>Save Frames For Future Use (UYVY Format)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558877#M9251</link>
      <description>&lt;P&gt;I'm currently trying to sample a set of frames using the UYVY format. As I sample I push them back into a vector. If I try to add more than 10 elements to this vector, librealsense2 throws an exception which terminates the program. Sample code shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strangely I only have this issue when trying to save using the UYVY format, it seems to work fine using the Y8 format. Originally I had this same issue for saving in any format but the .keep() function resolved it. In the viewer the UYVY format is supported for a single IR sensor; however in order to enable it I must use cfg.enable_stream(RS2_STREAM_INFRARED, -1, 1280, 720, RS2_FORMAT_UYVY, 30);   Specifying an index other than "-1" results in a thrown exception. When attempting to retrieve frames using .get_infrared_frame(), specifying an index (e.g. 1 or 2) returns a NULL pointer rather than a frame. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To summarize, I am retrieving frames, but cannot hold on to more than 10 at a time, using standard stl containers, and ".keep()" does not resolve the issue. As I am able to sample and save large quantities of frames in other formats (e.g. 500 rgb frames in 24bit rgb) I am confident I am not running out of memory. Anyone have any ideas ?  &lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 17:04:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558877#M9251</guid>
      <dc:creator>JSmit77</dc:creator>
      <dc:date>2018-05-29T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Save Frames For Future Use (UYVY Format)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558878#M9252</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use 2.11.0 LibRS and revised rs-capture.cpp sample code to simulate your situation, the code works without problem, please have a try and let me know your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for index of the Left/Right IR, Y8 &amp;amp; Y16 are generated from each stream so if you want to get those two format, you can set stream parameter to 1 or 2. But few of the format is generated through software, if you want to retrieve those format, you have to set the index to 0. you can use the rs-sensor-control.cpp example to list down the available streams. Attached my enumeration from the sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sensor provides the following stream profiles:&lt;/P&gt;&lt;P&gt;0  : Infrared # 2 (Video Stream: Y16 1920x1080@ 25Hz)&lt;/P&gt;&lt;P&gt;1  : Infrared # 1 (Video Stream: Y16 1920x1080@ 25Hz)&lt;/P&gt;&lt;P&gt;2  : Infrared # 1 (Video Stream: Y8 1920x1080@ 25Hz)&lt;/P&gt;&lt;P&gt;3  : Infrared # 2 (Video Stream: Y8 1920x1080@ 25Hz)&lt;/P&gt;&lt;P&gt;4  : Infrared # 2 (Video Stream: Y16 1920x1080@ 15Hz)&lt;/P&gt;&lt;P&gt;5  : Infrared # 1 (Video Stream: Y16 1920x1080@ 15Hz)&lt;/P&gt;&lt;P&gt;6  : Infrared # 1 (Video Stream: Y8 1920x1080@ 15Hz)&lt;/P&gt;&lt;P&gt;7  : Infrared # 2 (Video Stream: Y8 1920x1080@ 15Hz)&lt;/P&gt;&lt;P&gt;8  : Infrared # 0 (Video Stream: UYVY 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;9  : Infrared # 1 (Video Stream: Y8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;10 : Infrared # 2 (Video Stream: Y8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;11 : Infrared # 0 (Video Stream: BGRA8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;12 : Infrared # 0 (Video Stream: RGBA8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;13 : Infrared # 0 (Video Stream: BGR8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;14 : Infrared # 0 (Video Stream: RGB8 1280x720@ 30Hz)&lt;/P&gt;&lt;P&gt;15 : Infrared # 0 (Video Stream: UYVY 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;16 : Infrared # 1 (Video Stream: Y8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;17 : Infrared # 2 (Video Stream: Y8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;18 : Infrared # 0 (Video Stream: BGRA8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;19 : Infrared # 0 (Video Stream: RGBA8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;20 : Infrared # 0 (Video Stream: BGR8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;21 : Infrared # 0 (Video Stream: RGB8 1280x720@ 15Hz)&lt;/P&gt;&lt;P&gt;22 : Infrared # 0 (Video Stream: UYVY 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;23 : Infrared # 2 (Video Stream: Y8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;24 : Infrared # 1 (Video Stream: Y8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;25 : Infrared # 0 (Video Stream: BGRA8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;26 : Infrared # 0 (Video Stream: RGBA8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;27 : Infrared # 0 (Video Stream: BGR8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;28 : Infrared # 0 (Video Stream: RGB8 1280x720@ 6Hz)&lt;/P&gt;&lt;P&gt;29 : Infrared # 2 (Video Stream: Y16 960x540@ 25Hz)&lt;/P&gt;&lt;P&gt;30 : Infrared # 1 (Video Stream: Y16 960x540@ 25Hz)&lt;/P&gt;&lt;P&gt;31 : Infrared # 1 (Video Stream: Y16 960x540@ 15Hz)&lt;/P&gt;&lt;P&gt;32 : Infrared # 2 (Video Stream: Y16 960x540@ 15Hz)&lt;/P&gt;&lt;P&gt;33 : Infrared # 0 (Video Stream: UYVY 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;34 : Infrared # 1 (Video Stream: Y8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;35 : Infrared # 2 (Video Stream: Y8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;36 : Infrared # 0 (Video Stream: BGRA8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;37 : Infrared # 0 (Video Stream: RGBA8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;38 : Infrared # 0 (Video Stream: BGR8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;39 : Infrared # 0 (Video Stream: RGB8 848x480@ 90Hz)&lt;/P&gt;&lt;P&gt;40 : Infrared # 0 (Video Stream: UYVY 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;41 : Infrared # 2 (Video Stream: Y8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;42 : Infrared # 1 (Video Stream: Y8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;43 : Infrared # 0 (Video Stream: BGRA8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;44 : Infrared # 0 (Video Stream: RGBA8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;45 : Infrared # 0 (Video Stream: BGR8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;46 : Infrared # 0 (Video Stream: RGB8 848x480@ 60Hz)&lt;/P&gt;&lt;P&gt;47 : Infrared # 0 (Video Stream: UYVY 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;48 : Infrared # 1 (Video Stream: Y8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;49 : Infrared # 2 (Video Stream: Y8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;50 : Infrared # 0 (Video Stream: BGRA8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;51 : Infrared # 0 (Video Stream: RGBA8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;52 : Infrared # 0 (Video Stream: BGR8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;53 : Infrared # 0 (Video Stream: RGB8 848x480@ 30Hz)&lt;/P&gt;&lt;P&gt;54 : Infrared # 0 (Video Stream: UYVY 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;55 : Infrared # 1 (Video Stream: Y8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;56 : Infrared # 2 (Video Stream: Y8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;57 : Infrared # 0 (Video Stream: BGRA8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;58 : Infrared # 0 (Video Stream: RGBA8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;59 : Infrared # 0 (Video Stream: BGR8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;60 : Infrared # 0 (Video Stream: RGB8 848x480@ 15Hz)&lt;/P&gt;&lt;P&gt;61 : Infrared # 0 (Video Stream: UYVY 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;62 : Infrared # 1 (Video Stream: Y8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;63 : Infrared # 2 (Video Stream: Y8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;64 : Infrared # 0 (Video Stream: BGRA8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;65 : Infrared # 0 (Video Stream: RGBA8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;66 : Infrared # 0 (Video Stream: BGR8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;67 : Infrared # 0 (Video Stream: RGB8 848x480@ 6Hz)&lt;/P&gt;&lt;P&gt;68 : Infrared # 0 (Video Stream: UYVY 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;69 : Infrared # 1 (Video Stream: Y8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;70 : Infrared # 2 (Video Stream: Y8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;71 : Infrared # 0 (Video Stream: BGRA8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;72 : Infrared # 0 (Video Stream: RGBA8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;73 : Infrared # 0 (Video Stream: BGR8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;74 : Infrared # 0 (Video Stream: RGB8 640x480@ 90Hz)&lt;/P&gt;&lt;P&gt;75 : Infrared # 0 (Video Stream: UYVY 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;76 : Infrared # 2 (Video Stream: Y8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;77 : Infrared # 1 (Video Stream: Y8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;78 : Infrared # 0 (Video Stream: BGRA8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;79 : Infrared # 0 (Video Stream: RGBA8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;80 : Infrared # 0 (Video Stream: BGR8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;81 : Infrared # 0 (Video Stream: RGB8 640x480@ 60Hz)&lt;/P&gt;&lt;P&gt;82 : Infrared # 0 (Video Stream: UYVY 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;83 : Infrared # 2 (Video Stream: Y8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;84 : Infrared # 1 (Video Stream: Y8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;85 : Infrared # 0 (Video Stream: BGRA8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;86 : Infrared # 0 (Video Stream: RGBA8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;87 : Infrared # 0 (Video Stream: BGR8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;88 : Infrared # 0 (Video Stream: RGB8 640x480@ 30Hz)&lt;/P&gt;&lt;P&gt;89 : Infrared # 0 (Video Stream: UYVY 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;90 : Infrared # 1 (Video Stream: Y8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;91 : Infrared # 2 (Video Stream: Y8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;92 : Infrared # 0 (Video Stream: BGRA8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;93 : Infrared # 0 (Video Stream: RGBA8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;94 : Infrared # 0 (Video Stream: BGR8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;95 : Infrared # 0 (Video Stream: RGB8 640x480@ 15Hz)&lt;/P&gt;&lt;P&gt;96 : Infrared # 0 (Video Stream: UYVY 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;97 : Infrared # 1 (Video Stream: Y8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;98 : Infrared # 2 (Video Stream: Y8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;99 : Infrared # 0 (Video Stream: BGRA8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;100: Infrared # 0 (Video Stream: RGBA8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;101: Infrared # 0 (Video Stream: BGR8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;102: Infrared # 0 (Video Stream: RGB8 640x480@ 6Hz)&lt;/P&gt;&lt;P&gt;103: Infrared # 0 (Video Stream: UYVY 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;104: Infrared # 2 (Video Stream: Y8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;105: Infrared # 1 (Video Stream: Y8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;106: Infrared # 0 (Video Stream: BGRA8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;107: Infrared # 0 (Video Stream: RGBA8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;108: Infrared # 0 (Video Stream: BGR8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;109: Infrared # 0 (Video Stream: RGB8 640x360@ 90Hz)&lt;/P&gt;&lt;P&gt;110: Infrared # 0 (Video Stream: UYVY 640x360@ 60Hz)&lt;/P&gt;&lt;P&gt;111: Infrared # 1 (Video Stream: Y8 640x360@ 60Hz)&lt;/P&gt;&lt;P&gt;112: Infrared # 2 (Video Stream: Y8 640x360@ 60Hz)&lt;/P&gt;&lt;P&gt;113: Infrared # 0 (Video Stream: BGRA8 640x360@ ...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 07:14:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558878#M9252</guid>
      <dc:creator>Cary_P_Intel</dc:creator>
      <dc:date>2018-06-07T07:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Save Frames For Future Use (UYVY Format)</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558879#M9253</link>
      <description>&lt;P&gt;Hello Harmonic,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Did the solution above resolve your problem?&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Jesus G.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Intel Customer Support</description>
      <pubDate>Fri, 15 Jun 2018 14:49:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Save-Frames-For-Future-Use-UYVY-Format/m-p/558879#M9253</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-06-15T14:49:55Z</dc:date>
    </item>
  </channel>
</rss>

