Video broken with latest pjsip release and latest version of ffmpeg?

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

 



On Thu, 30 May 2013 08:42:44 +0200, Eeri Kask wrote:
> Still without success (no camera video transmission), here is the screen
> log:
> 
> 07:59:43.619   pjsua_call.c !Answering call 0: code=200
> 07:59:43.619  pjsua_media.c  ...Call 0: updating media..
> 07:59:43.619    pjsua_aud.c  ....Audio channel update..
> 07:59:43.619 strm0x118001a2  .....VAD temporarily disabled
> 07:59:43.619 strm0x118001a2  .....Encoder stream started
> 07:59:43.619 strm0x118001a2  .....Decoder stream started
> 07:59:43.619  pjsua_media.c  ....Audio updated, stream #0: speex (sendrecv)
> 07:59:43.619    pjsua_vid.c  ....Video channel update..
> 07:59:43.621 vstenc0x118015  .....Encoder stream started
> 07:59:43.622 vstdec0x118015  .....Decoder stream started
> 07:59:43.622    pjsua_vid.c  .....Setting up RX..
> 07:59:43.622    pjsua_vid.c  ......Creating video window: type=stream,
> cap_id=-1, rend_id=2
> 07:59:43.622     vid_port.c  .......Opening device SDL renderer [SDL]
> for render: format=I420, size=352x288 @45000:1001 fps
> 07:59:43.689     vid_port.c !.......Device SDL renderer [SDL] opened:
> format=I420, size=352x288 @45000:1001 fps
> 07:59:43.689    pjsua_vid.c  .......stream window id 0 created for
> cap_dev=-1 rend_dev=2
> 07:59:43.689    pjsua_vid.c  .......Window 0 created
> 07:59:43.689      sdl_dev.c  ......Starting sdl video stream
> 07:59:43.690    pjsua_vid.c  .....Setting up TX..
> 07:59:43.690    pjsua_vid.c  ......Creating video window: type=preview,
> cap_id=0, rend_id=2
> 
> 
> HERE vid_port.c ASSERT AT LINE 246 TRIGGERS WITH "di.fmt_cnt" BEING '0'
> (I commented this assert out for now to see what happens then)
> 
> 
> 07:59:43.690     vid_port.c  .......Opening device Camera [QT] for
> capture: format=, size=176x144 @30000:3003 fps
> [...]


The above missing "format=" is the problem, it appears

    pjmedia_vid_dev_get_info(prm->vidparam.cap_id, &di);

few lines above returns '0' in di.fmt_cnt, for whatever reason.

Simply replacing the assert with

    vparam.fmt.id = 0x59565955; /* UYVY */

only to prove that now the quicktime camera video transmission works as
well...
(Not investigating any further for now.)

    Eeri Kask




[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