Problem with video capture resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I?m working with pjsip 2.0 on Windows.  I retrieved the source via SVN on Sunday, November 6th.  Video capture is failing (i.e. no video is presented at either machine) when setting up a call between two machines on the local LAN.  Here?s an excerpt from the log on one of the machines:

pjsua_vid.c  .......Setting up TX..     
pjsua_vid.c  ........Creating video window: type=preview, cap_id=0, rend_id=2     
vid_port.c  .........Opening device Lenovo EasyCamera [dshow] for capture: format=YUY2, size=352x288 @30000:1001 fps     
dshow_dev.c  .........Error creating filter graph: An invalid media type was specified. (hr=0x80040200)     
dshow_dev.c  .........Trying to open dshow dev with default fps     
dshow_dev.c  .........Error creating filter graph: An invalid media type was specified. (hr=0x80040200)     
dshow_dev.c  .........Trying to open dshow dev with default size & fps     
vid_port.c  .........Device Lenovo EasyCamera [dshow] opened: format=YUY2, size=640x400 @10000000:333333 fps     
vid_port.c  .........Opening device SDL renderer [SDL] for render: format=I420, size=352x288 @30000:1001 fps     
vid_port.c  .........Device SDL renderer [SDL] opened: format=I420, size=352x288 @30000:1001 fps     
pjsua_vid.c  .........preview window id 1 created for cap_dev=0 rend_dev=2     
pjsua_vid.c  .........Window 1 created     

It looks like the video camera does not support 352x288 and PJSIP falls back to the default resolution of 640x480.  However, the SDL renderer is still being initialized with the 352x288 resolution.  The result is that we do not see any video and the application crashes within 15 seconds of the call setup completing.  Should the SDL renderer resolution match the video camera resolution?

Regards,
--Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111108/aceb52a9/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux