Software Archive
Read-only legacy content
17061 Discussions

Changing resolutions

Christopher_C_
Beginner
334 Views

For the second tutorial: main_raw_color_depth_streams.cpp, it seems like I cannot initialize the stream if I change the render resolutions to anything other than 640x480 (I tried 1600x900 but it didn't work).

^I tried changing the parameters to 1600, 900 but it couldn't initialize the streams. What am I doing wrong?

0 Kudos
5 Replies
Colleen_C_Intel
Employee
334 Views

could you copy in your exact code and error please?

0 Kudos
Christopher_C_
Beginner
334 Views

I change the above code to this: 

Then my debug log gives me this:

'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Users\Chris\Downloads\intel-realsense-tutorial-visualstudioprojectsolution\Tutorial_VisualStudioProjectSolution\Tutorial\2_RawDataCapture\Debug\2_Raw_Data_Capture.exe'. Symbols loaded.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxcsession.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\tbb.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110.dll'. Symbols loaded.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110.dll'. Symbols loaded.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxccore.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Intel\RSSDK\bin\win32\libpxcphonehome.dll'. Module was built without symbols.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxcmaskutils.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxcpipelineutils.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSDCM\bin\win32\IVCAM_DLL.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mf.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfplat.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfreadwrite.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\newdev.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winusb.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfcore.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devrtl.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ksuser.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\RTWorkQ.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\avrt.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSDCM\bin\win32\libpxccamera_ivcam_xc.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msimg32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winspool.drv'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleacc.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17227_none_dad9452e5bcb7986\GdiPlus.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSDCM\bin\win32\RealSenseDCMPS.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxcpowermanager.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Program Files (x86)\Common Files\Intel\RSSDK\v3\bin\win32\libpxccamera_mf.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\deviceaccess.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vidcap.ax'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Kswdmcap.ax'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mfc42.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comctl32.dll'. Cannot find or open the PDB file.
'2_Raw_Data_Capture.exe' (Win32): Loaded 'C:\Windows\SysWOW64\odbc32.dll'. Cannot find or open the PDB file.
The thread 0x1344 has exited with code 0 (0x0).
The thread 0x534 has exited with code 0 (0x0).
The thread 0x1a38 has exited with code 0 (0x0).
The thread 0xb54 has exited with code 2 (0x2).
The thread 0x1964 has exited with code 2 (0x2).
The thread 0x1af4 has exited with code 2 (0x2).
The thread 0xfb0 has exited with code 2 (0x2).
The thread 0x1848 has exited with code 2 (0x2).
The thread 0x12e8 has exited with code 2 (0x2).
The program '[3628] 2_Raw_Data_Capture.exe' has exited with code 2 (0x2).

 

I don't get why changing the resolution parameters causes the compiler or whatever to search for specific DLLs.

0 Kudos
Christopher_C_
Beginner
334 Views

However, when I change the parameters to: 

it works. 

What are the restrictions of the resolutions for color and depth streams?

 

0 Kudos
Colleen_C_Intel
Employee
334 Views

Max Resolutions for the first F200 front facing RealSense camera is depth: VGA (640x480), RBG 1080p (1980x1080).

0 Kudos
Jonathan_M_Intel
Employee
334 Views

Just open (or build) the included Realsense "Capture Viewer" application to see all the supported resolutions and frame rates. You can also use this application to preview combinations of color, depth, and IR to see if they all can be launched simultaneously.  If a specific combination works in this app, then they should also work in your app.  

0 Kudos
Reply