Incoming video - blank window, no display - sample vid_streamutil hangs on receiver side

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

 



Using pjproject-2.0-alpha2 release?on Mac OS X Server 10.6.8?
with
SDL-1.3.0-6091,?ffmpeg git trunk, ?x264 git trunk, yasm 1.2.0?


Trying to test video stream transmission using the sample vid_streamutil app.

On the sender side, all looks OK (logs below):?

./vid_streamutil --remote=192.168.1.19:4000 --send-only
19:45:01.975 os_core_unix.c !pjlib 2.0.0-alpha2 for POSIX initialized
19:45:02.010 ? ? ? pa_dev.c ?PortAudio sound library initialized, status=0
19:45:02.010 ? ? ? pa_dev.c ?PortAudio host api count=1
19:45:02.010 ? ? ? pa_dev.c ?Sound device count=2
19:45:02.010 ? ? ? ? ?pjlib ?select() I/O Queue created (0x101863828)
19:45:02.394 ? ? ? qt_dev.c ? dev_id 1: Built-in iSight
19:45:02.394 ? ? ? qt_dev.c ?qt video has 1 devices
19:45:02.394 colorbar_dev.c ?Colorbar video src initialized with 1 device(s):
19:45:02.394 colorbar_dev.c ? 0: Colorbar generator
19:45:02.452 ? ? ?sdl_dev.c ?SDL 1.3 initialized
19:45:02.453 ffmpeg_codecs. ?The H263-1998 decoder is using base codec (H263)
19:45:02.453 ffmpeg_codecs. ?The XVID codec is using base codec (MP4V)
19:45:02.453 ? ? vid_port.c ?Opening device Built-in iSight [QT] for capture: format=UYVY, size=352x288 @30000:1001 fps
19:45:02.583 ? ? vid_port.c ?Device Built-in iSight [QT] opened: format=UYVY, size=352x288 @30000:1001 fps
19:45:02.807 ? ? ? ? ?rtp.c ?pjmedia_rtp_session_init: ses=0x101867f3c, default_pt=96, ssrc=0x2278fd06
19:45:02.807 vstdec0x101867 ?Decoding channel created 640x480 I420<-H263-1998 30000/1001(~29)fps
19:45:02.807 ? ? ? ? ?rtp.c ?pjmedia_rtp_session_init: ses=0x113ebb0d4, default_pt=96, ssrc=0x2278fd06
19:45:02.807 vstenc0x101867 ?Encoding channel created 352x288 I420->H263-1998 30000/1001(~29)fps
19:45:02.807 ? vid_stream.c ?Video stream vstrm0x101867990 created
19:45:02.808 vstenc0x101867 ?Encoder stream started
19:45:02.808 vstdec0x101867 ?Decoder stream paused
19:45:02.808 ? ? ? qt_dev.c ?Starting qt video stream
Stream is active, dir is send-only, sending to 192.168.1.19:4000
19:45:03.030 vid_streamutil ?Sending 352x288 H263-1998 @29.97fps

Commands:
? q ? ? Quit

Command: 19:45:03.845 ? ? ? qt_dev.c !Capture thread started
q
19:47:13.235 ? ? vid_port.c !Closing Built-in iSight..
19:47:13.235 ? ? ? qt_dev.c ?Stopping qt video stream
19:47:13.993 vstdec0x101867 ?JB summary:
? size=0 prefetch=0 level=0
? delay (min/max/avg/dev)=0/0/0/0 ms
? burst (min/max/avg/dev)=0/0/0/0 frames
? lost=0 discard=0 empty=0
19:47:14.494 ? ? ? pa_dev.c ?PortAudio sound library shutting down..
***********************************************************************************


On the receiver side, empty window opens up but no video and program hangs ?(logs below):

?./vid_streamutil --remote=192.168.1.14:400019:44:24.212 os_core_unix.c !pjlib 2.0.0-alpha2 for POSIX initialized
19:44:24.282?????? pa_dev.c? PortAudio sound library initialized, status=0
19:44:24.282?????? pa_dev.c? PortAudio host api count=1
19:44:24.282?????? pa_dev.c? Sound device count=2
19:44:24.283????????? pjlib? select() I/O Queue created (0x102010228)
19:44:24.348?????? qt_dev.c? qt video has 0 devices
19:44:24.348 colorbar_dev.c? Colorbar video src initialized with 1 device(s):
19:44:24.348 colorbar_dev.c?? 0: Colorbar generator
19:44:24.398????? sdl_dev.c? SDL 1.3 initialized
19:44:24.398 ffmpeg_codecs.? The H263-1998 decoder is using base codec (H263)
19:44:24.398 ffmpeg_codecs.? The XVID codec is using base codec (MP4V)
19:44:24.398???? vid_port.c? Opening device SDL renderer [SDL] for render: format=I420, size=640x480 @30000:1001 fps
19:44:24.464???? vid_port.c? Device SDL renderer [SDL] opened: format=I420, size=640x480 @30000:1001 fps
19:44:24.486????????? rtp.c? pjmedia_rtp_session_init: ses=0x115f9fe64, default_pt=96, ssrc=0x2278fd06
19:44:24.486 vstdec0x115f9f? Decoding channel created 640x480 I420<-H263-1998 30000/1001(~29)fps
19:44:24.486????????? rtp.c? pjmedia_rtp_session_init: ses=0x1160580d4, default_pt=96, ssrc=0x2278fd06
19:44:24.486 vstenc0x115f9f? Encoding channel created 352x288 I420->H263-1998 30000/1001(~29)fps
19:44:24.487?? vid_stream.c? Video stream vstrm0x115f9f8b8 created
19:44:24.487 vstenc0x115f9f? Encoder stream paused
19:44:24.487 vstdec0x115f9f? Decoder stream started
19:44:24.487????? sdl_dev.c? Starting sdl video stream
Stream is active, dir is recv-only, local port is 4000

Commands:
? q???? Quit
Command: 19:44:26.104 vstdec0x115f9f !RTP status: badpt=0, badssrc=0, dup=0, outorder=0, probation=-1, restart=0

Commands:
? q???? Quit
Command: q
19:46:28.023???? vid_port.c !Closing SDL renderer..
********************************************************************

(Program hangs and has to be killed...)


I tried re-build and re-install of SDL but the?problem?persists. Any help much appreciated, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120103/216e95ad/attachment-0001.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