2012-05-22 12 views
0

다윈 서버 및 샘플 비디오 (다윈 설치)가 작동합니다 (Android Media Player를 통해 재생할 수 있음). 나는 (그들이 암시하고 인코딩)가 작동하지 않습니다 (같은 서버에서) 내 비디오를 스트리밍 할 때 (안드로이드 로그를 통해) 이들의 인코딩은 그러나RTSP Android에서 비디오 재생 (인코딩)

05-22 02:23:50.544: I/ASessionDescription(117): v=0 
05-22 02:23:50.544: I/ASessionDescription(117): o=StreamingServer 3546635030 1110207730000 IN IP4 192.168.1.6 
05-22 02:23:50.544: I/ASessionDescription(117): s=\sample_100kbit.mp4 
05-22 02:23:50.544: I/ASessionDescription(117): u=http:/// 
05-22 02:23:50.544: I/ASessionDescription(117): [email protected] 
05-22 02:23:50.544: I/ASessionDescription(117): c=IN IP4 0.0.0.0 
05-22 02:23:50.544: I/ASessionDescription(117): b=AS:96 
05-22 02:23:50.544: I/ASessionDescription(117): t=0 0 
05-22 02:23:50.544: I/ASessionDescription(117): a=control:* 
05-22 02:23:50.544: I/ASessionDescription(117): a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoJrAE///w/z/wOBdgABQNhkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBWUVDQVV3Rkh3TklBTWtnQUdVRUx5QVJBRzNkQUFFaytBQUJKUGdGSUFBQUFiRHpBQUFCdFE3Z1FNRFBBQUFCQUFBQUFTQUFoRUQ2S0RBZzhxSWZCaEFBUkFBQUFsZ0FBQUFBSUFBQUFBQURBVElDbndNdUFHVUFCSUNBZ0JSQUZRQVlBQUFBVGlBQUFFNGdCWUNBZ0FJVmtBWVFBRVFBQUI5QUFBQWZRQ0FnQUFBQUF3PT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANpAAJARmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2daTUNvRmNtRUVIOEFBQUIvQUFBQkVLQ0tDbjQEEgINAABkAAAAAAAAAAAFAwAAYAYJAQAAAAAAAAAA" 
05-22 02:23:50.554: I/ASessionDescription(117): a=isma-compliance:1,1.0,1 
05-22 02:23:50.554: I/ASessionDescription(117): a=range:npt=0- 70.00000 
05-22 02:23:50.554: I/ASessionDescription(117): m=video 0 RTP/AVP 96 
05-22 02:23:50.554: I/ASessionDescription(117): b=AS:76 
05-22 02:23:50.554: I/ASessionDescription(117): a=rtpmap:96 MP4V-ES/90000 
05-22 02:23:50.554: I/ASessionDescription(117): a=control:trackID=3 
05-22 02:23:50.554: I/ASessionDescription(117): a=cliprect:0,0,242,192 
05-22 02:23:50.554: I/ASessionDescription(117): a=framesize:96 192-242 
05-22 02:23:50.554: I/ASessionDescription(117): a=fmtp:96 profile-level-id=1;config=000001B0F3000001B50EE040C0CF0000010000000120008440FA283020F2A21F 
05-22 02:23:50.554: I/ASessionDescription(117): a=mpeg4-esid:201 
05-22 02:23:50.554: I/ASessionDescription(117): m=audio 0 RTP/AVP 97 
05-22 02:23:50.554: I/ASessionDescription(117): b=AS:20 
05-22 02:23:50.554: I/ASessionDescription(117): a=rtpmap:97 mpeg4-generic/8000/2 
05-22 02:23:50.554: I/ASessionDescription(117): a=control:trackID=4 
05-22 02:23:50.554: I/ASessionDescription(117): a=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1590 
05-22 02:23:50.554: I/ASessionDescription(117): a=mpeg4-esid:101 

입니다. 로그는 다음과 같습니다./

05-22 02:24:21.865: I/ASessionDescription(117): v=0 
05-22 02:24:21.865: I/ASessionDescription(117): o=StreamingServer 3546635061 1337206009000 IN IP4 192.168.1.6 
05-22 02:24:21.875: I/ASessionDescription(117): s=\football_1.mp4 
05-22 02:24:21.875: I/ASessionDescription(117): u=http:/// 
05-22 02:24:21.875: I/ASessionDescription(117): [email protected] 
05-22 02:24:21.875: I/ASessionDescription(117): c=IN IP4 0.0.0.0 
05-22 02:24:21.875: I/ASessionDescription(117): b=AS:304 
05-22 02:24:21.875: I/ASessionDescription(117): t=0 0 
05-22 02:24:21.875: I/ASessionDescription(117): a=control:* 
05-22 02:24:21.875: I/ASessionDescription(117): a=x-copyright: MP4/3GP File hinted with GPAC 0.4.6-DEV (internal rev. 7) (C)2000-2005 - http://gpac.sourceforge.net 
05-22 02:24:21.875: I/ASessionDescription(117): a=range:npt=0- 8.80000 
05-22 02:24:21.875: I/ASessionDescription(117): m=video 0 RTP/AVP 96 
05-22 02:24:21.875: I/ASessionDescription(117): b=AS:304 
05-22 02:24:21.875: I/ASessionDescription(117): a=rtpmap:96 MP4V-ES/90000 
05-22 02:24:21.875: I/ASessionDescription(117): a=control:trackID=65536 
05-22 02:24:21.875: I/ASessionDescription(117): a=fmtp:96 profile-level-id=1; config=000001b001000001b58913000001000000012000c48d8800550c04241443000001b24c61766335312e34302e34 
05-22 02:24:21.875: I/ASessionDescription(117): a=framesize:96 384-288 

올바르게 인코딩하는 방법은 무엇입니까? 오류를 인코딩 -

는 몇 초 후에 나는 (내가 믿는)입니다

error (1, -2147483648) 

를 얻을.

답변

0

문제는 뿌리깊은 HTC 욕망 (CyanogenMod)에있었습니다 - RTSP가있는 것이 옳지 않았습니다 :/