Streaming Video Problem

All your problems with Audio, Video and Images.

Streaming Video Problem

Postby spentakapps » Mon May 09, 2011 8:03 pm

This code is giving me an error:
Code: Select all
VideoView video = (VideoView)findViewById(R.id.video);
        video.setVideoURI(Uri.parse("rtsp://191.165.1.125/LowResolutionVideo"));
        video.start();


I have no problems on iPhone with this.

The error:
Code: Select all
05-09 13:01:32.477: DEBUG/MediaPlayer(529): Couldn't open file on client side, trying server side
05-09 13:01:32.487: INFO/StagefrightPlayer(497): setDataSource('rtsp://192.168.1.125/LowResolutionVideo')
05-09 13:01:32.617: INFO/MyHandler(497): connection request completed with result 0 (Unknown error: 0)
05-09 13:01:32.657: INFO/ARTSPConnection(497): status: RTSP/1.0 200 OK
05-09 13:01:32.667: INFO/MyHandler(497): DESCRIBE completed with result 0 (Unknown error: 0)
05-09 13:01:32.687: INFO/ASessionDescription(497): v=0
05-09 13:01:32.687: INFO/ASessionDescription(497): o=- 1302302143280220 1 IN IP4 192.168.1.125
05-09 13:01:32.687: INFO/ASessionDescription(497): s=LIVE555 Streaming Media v
05-09 13:01:32.687: INFO/ASessionDescription(497): i=LIVE555 Streaming Media v
05-09 13:01:32.687: INFO/ASessionDescription(497): t=0 0
05-09 13:01:32.687: INFO/ASessionDescription(497): a=tool:LIVE555 Streaming Media v2010.04.09
05-09 13:01:32.687: INFO/ASessionDescription(497): a=type:broadcast
05-09 13:01:32.687: INFO/ASessionDescription(497): a=control:*
05-09 13:01:32.687: INFO/ASessionDescription(497): a=range:npt=0-
05-09 13:01:32.687: INFO/ASessionDescription(497): a=x-qt-text-nam:LIVE555 Streaming Media v
05-09 13:01:32.687: INFO/ASessionDescription(497): a=x-qt-text-inf:LIVE555 Streaming Media v
05-09 13:01:32.687: INFO/ASessionDescription(497): m=video 0 RTP/AVP 96
05-09 13:01:32.687: INFO/ASessionDescription(497): c=IN IP4 0.0.0.0
05-09 13:01:32.687: INFO/ASessionDescription(497): b=AS:1000
05-09 13:01:32.687: INFO/ASessionDescription(497): a=rtpmap:96 H264/90000
05-09 13:01:32.687: INFO/ASessionDescription(497): a=fmtp:96 packetization-mode=1;profile-level-id=42801E;sprop-parameter-sets=J0KAHtoCgPTAVSAAAAMAIAAAB4wIACSeAAkn173wvCIRqA==,KM48gA==
05-09 13:01:32.687: INFO/ASessionDescription(497): a=control:track1
05-09 13:01:32.687: INFO/ASessionDescription(497): m=audio 0 RTP/AVP 97
05-09 13:01:32.687: INFO/ASessionDescription(497): c=IN IP4 0.0.0.0
05-09 13:01:32.687: INFO/ASessionDescription(497): b=AS:64
05-09 13:01:32.687: INFO/ASessionDescription(497): a=rtpmap:97 MPEG4-GENERIC/8000
05-09 13:01:32.687: INFO/ASessionDescription(497): a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1588
05-09 13:01:32.687: INFO/ASessionDescription(497): a=control:track2
05-09 13:01:32.687: INFO/ASessionDescription(497): [ 05-09 13:01:32.737   497:0x21a F/ASessionDescription ]
05-09 13:01:32.687: INFO/ASessionDescription(497): frameworks/base/media/libstagefright/rtsp/ASessionDescription.cpp:264 CHECK_GT( end,s) failed:  vs.
05-09 13:01:32.858: INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-09 13:01:32.858: INFO/DEBUG(31): Build fingerprint: 'generic/google_sdk/generic:2.3.1/GSI11/93351:eng/test-keys'
05-09 13:01:32.868: INFO/DEBUG(31): pid: 497, tid: 538  >>> /system/bin/mediaserver <<<
05-09 13:01:32.877: INFO/DEBUG(31): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
05-09 13:01:32.877: INFO/DEBUG(31):  r0 deadbaad  r1 0000000c  r2 00000027  r3 00000000
05-09 13:01:32.898: INFO/DEBUG(31):  r4 00000080  r5 afd46668  r6 40706c10  r7 00000000
05-09 13:01:32.898: INFO/DEBUG(31):  r8 8031db1d  r9 0000f930  10 00100000  fp 00000001
05-09 13:01:32.898: INFO/DEBUG(31):  ip ffffffff  sp 40706778  lr afd19375  pc afd15ef0  cpsr 00000030
05-09 13:01:33.007: INFO/ActivityManager(77): Displayed com.logitech.alertvideotest/.PlayerScreen: +949ms
05-09 13:01:33.458: INFO/DEBUG(31):          #00  pc 00015ef0  /system/lib/libc.so
05-09 13:01:33.458: INFO/DEBUG(31):          #01  pc 00001440  /system/lib/liblog.so
05-09 13:01:33.467: INFO/DEBUG(31): code around pc:
05-09 13:01:33.477: INFO/DEBUG(31): afd15ed0 68241c23 d1fb2c00 68dae027 d0042a00
05-09 13:01:33.477: INFO/DEBUG(31): afd15ee0 20014d18 6028447d 48174790 24802227
05-09 13:01:33.477: INFO/DEBUG(31): afd15ef0 f7f57002 2106eb56 ec92f7f6 0563aa01
05-09 13:01:33.487: INFO/DEBUG(31): afd15f00 60932100 91016051 1c112006 e818f7f6
05-09 13:01:33.497: INFO/DEBUG(31): afd15f10 2200a905 f7f62002 f7f5e824 2106eb42
05-09 13:01:33.497: INFO/DEBUG(31): code around lr:
05-09 13:01:33.507: INFO/DEBUG(31): afd19354 b0834a0d 589c447b 26009001 686768a5
05-09 13:01:33.517: INFO/DEBUG(31): afd19364 220ce008 2b005eab 1c28d003 47889901
05-09 13:01:33.517: INFO/DEBUG(31): afd19374 35544306 d5f43f01 2c006824 b003d1ee
05-09 13:01:33.527: INFO/DEBUG(31): afd19384 bdf01c30 000281a8 ffffff88 1c0fb5f0
05-09 13:01:33.537: INFO/DEBUG(31): afd19394 43551c3d a904b087 1c16ac01 604d9004
05-09 13:01:33.537: INFO/DEBUG(31): stack:
05-09 13:01:33.537: INFO/DEBUG(31):     40706738  00000000 
05-09 13:01:33.547: INFO/DEBUG(31):     4070673c  0000039b 
05-09 13:01:33.557: INFO/DEBUG(31):     40706740  afd4270c  /system/lib/libc.so
05-09 13:01:33.557: INFO/DEBUG(31):     40706744  afd426b8  /system/lib/libc.so
05-09 13:01:33.577: INFO/DEBUG(31):     40706748  00000000 
05-09 13:01:33.577: INFO/DEBUG(31):     4070674c  afd19375  /system/lib/libc.so
05-09 13:01:33.577: INFO/DEBUG(31):     40706750  00000009 
05-09 13:01:33.587: INFO/DEBUG(31):     40706754  afd183d9  /system/lib/libc.so
05-09 13:01:33.587: INFO/DEBUG(31):     40706758  80101199  /system/lib/liblog.so
05-09 13:01:33.587: INFO/DEBUG(31):     4070675c  00000000 
05-09 13:01:33.587: INFO/DEBUG(31):     40706760  afd46668 
05-09 13:01:33.587: INFO/DEBUG(31):     40706764  40706c10 
05-09 13:01:33.587: INFO/DEBUG(31):     40706768  00000000 
05-09 13:01:33.587: INFO/DEBUG(31):     4070676c  afd18677  /system/lib/libc.so
05-09 13:01:33.607: INFO/DEBUG(31):     40706770  df002777 
05-09 13:01:33.607: INFO/DEBUG(31):     40706774  e3a070ad 
05-09 13:01:33.607: INFO/DEBUG(31): #00 40706778  40706774 
05-09 13:01:33.617: INFO/DEBUG(31):     4070677c  00000001 
05-09 13:01:33.617: INFO/DEBUG(31):     40706780  829510ac  /system/lib/libstagefright.so
05-09 13:01:33.617: INFO/DEBUG(31):     40706784  00000014 
05-09 13:01:33.617: INFO/DEBUG(31):     40706788  407067ac 
05-09 13:01:33.617: INFO/DEBUG(31):     4070678c  fffffbdf 
05-09 13:01:33.627: INFO/DEBUG(31):     40706790  afd3ccf7  /system/lib/libc.so
05-09 13:01:33.627: INFO/DEBUG(31):     40706794  407067ac 
05-09 13:01:33.627: INFO/DEBUG(31):     40706798  829510ac  /system/lib/libstagefright.so
05-09 13:01:33.627: INFO/DEBUG(31):     4070679c  80101443  /system/lib/liblog.so
05-09 13:01:33.658: INFO/DEBUG(31): #01 407067a0  407067ac 
05-09 13:01:33.658: INFO/DEBUG(31):     407067a4  80101443  /system/lib/liblog.so
05-09 13:01:33.658: INFO/DEBUG(31):     407067a8  40706bc4 
05-09 13:01:33.658: INFO/DEBUG(31):     407067ac  6d617266 
05-09 13:01:33.658: INFO/DEBUG(31):     407067b0  726f7765 
05-09 13:01:33.658: INFO/DEBUG(31):     407067b4  622f736b 
05-09 13:01:33.667: INFO/DEBUG(31):     407067b8  2f657361 
05-09 13:01:33.677: INFO/DEBUG(31):     407067bc  6964656d 
05-09 13:01:33.677: INFO/DEBUG(31):     407067c0  696c2f61 
05-09 13:01:33.677: INFO/DEBUG(31):     407067c4  61747362 
05-09 13:01:33.677: INFO/DEBUG(31):     407067c8  72666567 
05-09 13:01:33.677: INFO/DEBUG(31):     407067cc  74686769 
05-09 13:01:33.677: INFO/DEBUG(31):     407067d0  7374722f 
05-09 13:01:33.677: INFO/DEBUG(31):     407067d4  53412f70 
05-09 13:01:33.677: INFO/DEBUG(31):     407067d8  69737365 
05-09 13:01:33.677: INFO/DEBUG(31):     407067dc  65446e6f 
05-09 13:01:33.677: INFO/DEBUG(31):     407067e0  69726373 
05-09 13:01:33.677: INFO/DEBUG(31):     407067e4  6f697470 
05-09 13:01:36.037: WARN/AudioSystem(77): AudioFlinger server died!
05-09 13:01:36.037: WARN/AudioSystem(77): AudioPolicyService server died!
05-09 13:01:36.037: WARN/AudioSystem(529): AudioFlinger server died!
05-09 13:01:36.037: WARN/IMediaDeathNotifier(529): media server died
05-09 13:01:36.037: ERROR/MediaPlayer(529): error (100, 0)
05-09 13:01:36.037: ERROR/MediaPlayer(529): Error (100,0)
05-09 13:01:36.037: DEBUG/VideoView(529): Error: 100,0


Then a popup tells me it can't play this video. These are just mpeg videos.

I also get this error too:


05-09 13:04:16.297: DEBUG/SntpClient(77): request time failed: java.net.SocketException: Address family not supported by protocol
spentakapps
Freshman
Freshman
 
Posts: 8
Joined: Sat Jan 08, 2011 3:41 am

Top

Re: Streaming Video Problem

Postby android_Tan » Thu May 12, 2011 1:53 am

what means is 'popup'? I want to help you.I am a android developer
android_Tan
Freshman
Freshman
 
Posts: 6
Joined: Wed Apr 13, 2011 3:12 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 12 guests