H264's still unsuccessful, but H263's work (IN and OUT) On 08/15/2012 06:03 PM, Warun C. wrote: > Hi, i compiled pjsip 2.0.1 with VIDEO, FFMPEG, SDL2 and DSHOW on > VisualStudio 2005/2010 > > In config_site.h > > #define PJMEDIA_HAS_VIDEO 1 > #define PJMEDIA_HAS_FFMPEG 1 > #define PJMEDIA_HAS_VIDEO_DEV_HAS_SDL 1 > #define PJMEDIA_HAS_VIDEO_DEV_HAS_DSHOW 1 > > > *Use FFMPEG DEV,SHARED from http://ffmpeg.zeranoe.com/builds/ > > Bad or corrupted bitstream (PJMEDIA_CODEC_EBADBITSTREAM) > Problem (Video Call) > 1. H263 work with makecall but Fail SDLwindow, incoming call > 2. H264's not work, makecall and incoming call > > ... > 17:28:48.664 pjsua_app.c .....Call 3 state changed to CONNECTING > 17:28:48.665 pjsua_media.c .....Call 3: updating media.. > 17:28:48.666 pjsua_aud.c ......Audio channel update.. > 17:28:48.667 strm01D3B04C .......VAD temporarily disabled > 17:28:48.670 strm01D3B04C .......Encoder stream started > 17:28:48.671 strm01D3B04C .......Decoder stream started > 17:28:48.673 pjsua_media.c ......Audio updated, stream #0: PCMU > (sendrecv) > 17:28:48.674 pjsua_vid.c ......Video channel update.. > 17:28:48.728 vstenc01D3F504 .......Encoder stream started > 17:28:48.728 vstdec01D3F504 .......Decoder stream started > 17:28:48.729 pjsua_vid.c .......Setting up RX.. > 17:28:48.729 pjsua_vid.c ........Creating video window: > type=stream, cap_id=-1, rend_id=2 > 17:28:48.730 vid_port.c .........Opening device SDL renderer > [SDL] for render: format=I420, size=720x480 @22:1 fps > 17:28:48.876 vid_port.c !.........Device SDL renderer [SDL] > opened: format=I420, size=720x480 @22:1 fps > 17:28:48.878 pjsua_vid.c .........stream window id 0 created for > cap_dev=-1 rend_dev=2 > 17:28:48.878 pjsua_vid.c .........Window 0 created > 17:28:48.878 sdl_dev.c ........Starting sdl video stream > 17:28:48.879 pjsua_vid.c .......Setting up TX.. > 17:28:48.880 pjsua_vid.c ........Creating video window: > type=preview, cap_id=0, rend_id=2 > 17:28:48.881 vid_port.c .........Opening device HP Webcam [dshow] > for capture: format=YUY2, size=720x480 @15:1 fps > 17:28:48.894 dshow_dev.c .........Error creating filter graph: An > invalid media type was specified. (hr=0x80040200) > 17:28:48.897 dshow_dev.c .........Trying to open dshow dev with > default fps > 17:28:48.911 dshow_dev.c .........Error creating filter graph: An > invalid media type was specified. (hr=0x80040200) > 17:28:48.914 dshow_dev.c .........Trying to open dshow dev with > default size & fps > 17:28:48.919 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:48.925 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:48.947 vid_port.c !.........Device HP Webcam [dshow] opened: > format=YUY2, size=640x480 @10000000:333333 fps > 17:28:48.951 vid_port.c .........Opening device SDL renderer > [SDL] for render: format=I420, size=720x480 @15:1 fps > 17:28:48.971 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.016 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.058 vid_port.c !.........Device SDL renderer [SDL] > opened: format=I420, size=720x480 @15:1 fps > 17:28:49.059 pjsua_vid.c .........preview window id 1 created for > cap_dev=0 rend_dev=2 > 17:28:49.060 pjsua_vid.c .........Window 1 created > 17:28:49.062 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.107 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.152 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.192 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.198 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.243 vstdec01D3F504 codec decode() error: Bad or corrupted > bitstream (PJMEDIA_CODEC_EBADBITSTREAM) [err:220087] > 17:28:49.244 dshow_dev.c !........Starting dshow video stream > 17:28:49.244 pjsua_media.c ......Video updated, stream #1: H264 > (sendrecv) > 17:28:49.246 pjsua_app.c .....Call 3 media 0 [type=audio], status > is Active > 17:28:49.246 pjsua_aud.c .....Conf disconnect: 1 -x- 0 > 17:28:49.246 conference.c ......Port 1 (ringback) stop transmitting > to port 0 (Wave mapper) > 17:28:49.247 pjsua_aud.c .....Conf connect: 3 --> 0 > 17:28:49.248 conference.c ......Port 3 (sip:192.168.10.113) > transmitting to port 0 (Wave mapper) > 17:28:49.248 pjsua_aud.c .....Conf connect: 0 --> 3 > 17:28:49.248 conference.c ......Port 0 (Wave mapper) transmitting > to port 3 (sip:192.168.10.113) > 17:28:49.249 pjsua_app.c .....Call 3 media 1 [type=video], status > is Active > ... > > -- > Best Regards, > Pureroot > -------------------- > Email: pureroot at gmail.com <mailto:pureroot at gmail.com> > -- Best Regards, Pureroot -------------------- Email: pureroot at gmail.com Blog: http://pureroot.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120820/e62f8345/attachment-0001.html>